Skip to content

Commit 84af14d

Browse files
serge-riderMashaKoraxyagudin10EvgeniaBzzz
authored
Closes dbeaver/pro#9327 Extract LibSQL driver from build (#4344)
* Closes dbeaver/pro#9327 Extract LibSQL driver from build * dbeaver/pro#9327 load libsql from maven for cloudbeaver ce --------- Co-authored-by: MashaKorax <84867187+MashaKorax@users.noreply.github.com> Co-authored-by: Ainur <ainur.iagudin@dbeaver.com> Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
1 parent f513f7d commit 84af14d

6 files changed

Lines changed: 35 additions & 3 deletions

File tree

deploy/build-backend.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ cd ../..
1818
echo "Pull dbeaver platform"
1919
[ ! -d dbeaver ] && git clone --depth 1 https://github.com/dbeaver/dbeaver.git
2020
[ ! -d dbeaver-common ] && git clone --depth 1 https://github.com/dbeaver/dbeaver-common.git
21-
[ ! -d dbeaver-jdbc-libsql ] && git clone --depth 1 https://github.com/dbeaver/dbeaver-jdbc-libsql.git
2221

2322

2423
cd cloudbeaver/deploy

deploy/build.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ echo Pull dbeaver platform
2020

2121
IF NOT EXIST dbeaver git clone https://github.com/dbeaver/dbeaver.git
2222
IF NOT EXIST dbeaver-common git clone https://github.com/dbeaver/dbeaver-common.git
23-
IF NOT EXIST dbeaver-jdbc-libsql git clone https://github.com/dbeaver/dbeaver-jdbc-libsql.git
2423

2524
cd cloudbeaver\deploy
2625

project.deps

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
dbeaver-common
2-
dbeaver-jdbc-libsql
32
dbeaver

server/bundles/io.cloudbeaver.resources.drivers.base/plugin.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<resource name="drivers/h2_v2"/>
1717
<resource name="drivers/h2_v3"/>
1818
<resource name="drivers/sqlite/xerial"/>
19+
<resource name="drivers/libsql"/>
1920
<resource name="drivers/mssql/new"/>
2021
<resource name="drivers/trino"/>
2122
<resource name="drivers/kyuubi"/>
@@ -38,6 +39,7 @@
3839
<bundle id="drivers.h2_v2" label="H2 v2 drivers"/>
3940
<bundle id="drivers.h2_v3" label="H2 v3 drivers"/>
4041
<bundle id="drivers.sqlite.xerial" label="SQLite drivers"/>
42+
<bundle id="drivers.libsql" label="LibSQL drivers"/>
4143
<bundle id="drivers.mssql.new" label="SQL Server drivers"/>
4244
<bundle id="drivers.trino" label="Trino drivers"/>
4345
<bundle id="drivers.kyuubi" label="Apache Kyuubi drivers"/>

server/drivers/libsql/pom.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<artifactId>drivers.libsql</artifactId>
5+
<version>1.0.0</version>
6+
<parent>
7+
<groupId>io.cloudbeaver</groupId>
8+
<artifactId>drivers</artifactId>
9+
<version>1.0.0</version>
10+
<relativePath>../</relativePath>
11+
</parent>
12+
<packaging>pom</packaging>
13+
14+
<properties>
15+
<deps.output.dir>libsql</deps.output.dir>
16+
</properties>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>com.dbeaver.jdbc</groupId>
21+
<artifactId>com.dbeaver.jdbc.driver.libsql</artifactId>
22+
<version>RELEASE</version>
23+
<exclusions>
24+
<exclusion>
25+
<groupId>*</groupId>
26+
<artifactId>*</artifactId>
27+
</exclusion>
28+
</exclusions>
29+
</dependency>
30+
</dependencies>
31+
32+
</project>

server/drivers/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<module>h2_v3</module>
2727
<module>jaybird</module>
2828
<module>kyuubi</module>
29+
<module>libsql</module>
2930
<module>mysql</module>
3031
<module>mariadb</module>
3132
<module>oracle</module>

0 commit comments

Comments
 (0)