File tree 8 files changed +104
-5
lines changed
8 files changed +104
-5
lines changed Original file line number Diff line number Diff line change 158
158
<copy file="../../../codenameone-skins/iphone5_os7.skin" tofile="src/iphone5.skin" />
159
159
<copy file="../../../codenameone-skins/xoom.skin" todir="src" / -->
160
160
<copydir src =" ${ project.CodenameOne } /build/classes" dest =" build/classes" />
161
- <unjar src =" ../../../cn1-binaries/javase/sqlite-jdbc-3.46.0.1 .jar" dest =" build/classes" />
161
+ <unjar src =" ../../../cn1-binaries/javase/sqlite-jdbc-3.46.1.0 .jar" dest =" build/classes" />
162
162
<unjar src =" ../../../cn1-binaries/javase/Filters.jar" dest =" build/classes" />
163
163
</target >
164
164
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ file.reference.Filters.jar=../../../cn1-binaries/javase/Filters.jar
35
35
file.reference.jcef.jar =../../../cn1-binaries/javase/jcef.jar
36
36
file.reference.jmf-2.1.1e.jar =../../../cn1-binaries/javase/jmf-2.1.1e.jar
37
37
file.reference.jfxrt.jar =../../../cn1-binaries/jfxrt.jar
38
- file.reference.sqlite-jdbc-3.46.0.1. jar =../../../cn1-binaries/javase/sqlite-jdbc-3.46.0.1 .jar
38
+ file.reference.sqlite-jdbc-3.46.1.0. jar =../../../cn1-binaries/javase/sqlite-jdbc-3.46.1.0 .jar
39
39
includes =**
40
40
jar.compress =false
41
41
javafx.path =../../../cn1-binaries/javafx/lib
42
42
javac.classpath =\
43
43
${reference.CodenameOne.jar}:\
44
- ${file.reference.sqlite-jdbc-3.46.0.1 .jar}:\
44
+ ${file.reference.sqlite-jdbc-3.46.1.0 .jar}:\
45
45
${file.reference.Filters.jar}:\
46
46
${file.reference.jcef.jar}:\
47
47
${file.reference.jmf-2.1.1e.jar}:\
Original file line number Diff line number Diff line change 19
19
20
20
</dependency >
21
21
<dependency >
22
- <groupId >org.xerial </groupId >
22
+ <groupId >com.codenameone </groupId >
23
23
<artifactId >sqlite-jdbc</artifactId >
24
- <version >3.46.0.1</version >
25
24
</dependency >
26
25
<dependency >
27
26
<groupId >com.jhlabs</groupId >
Original file line number Diff line number Diff line change 67
67
<module >java-runtime</module >
68
68
<module >core</module >
69
69
<module >factory</module >
70
+ <module >sqlite-jdbc</module >
70
71
<module >javase</module >
71
72
<module >javase-svg</module >
72
73
<module >android</module >
94
95
<artifactId >codenameone-core</artifactId >
95
96
<version >${project.version} </version >
96
97
</dependency >
98
+ <dependency >
99
+ <groupId >com.codenameone</groupId >
100
+ <artifactId >sqlite-jdbc</artifactId >
101
+ <version >${project.version} </version >
102
+ </dependency >
97
103
<dependency >
98
104
<groupId >com.codenameone</groupId >
99
105
<artifactId >codenameone-designer</artifactId >
Original file line number Diff line number Diff line change
1
+ = sqlite-jdbc Shaded Jar
2
+
3
+ This is a shaded jar that includes the sqlite-jdbc jar with the slf4j-api jar shaded into it at a different package,
4
+ so as not to conflict with other libraries that might include slf4j.
5
+
6
+ We needed to add this when we upgraded to version 3.46.1.0 of the sqlite-jdbc library, because it adds a dependency on slf4j-api.
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
3
+ <parent >
4
+ <artifactId >codenameone</artifactId >
5
+ <groupId >com.codenameone</groupId >
6
+ <version >8.0-SNAPSHOT</version >
7
+ </parent >
8
+ <modelVersion >4.0.0</modelVersion >
9
+ <artifactId >sqlite-jdbc</artifactId >
10
+ <version >8.0-SNAPSHOT</version >
11
+ <build >
12
+ <plugins >
13
+ <plugin >
14
+ <artifactId >maven-shade-plugin</artifactId >
15
+ <version >3.3.0</version >
16
+ <executions >
17
+ <execution >
18
+ <phase >package</phase >
19
+ <goals >
20
+ <goal >shade</goal >
21
+ </goals >
22
+ <configuration >
23
+ <relocations >
24
+ <relocation >
25
+ <pattern >org.slf4j</pattern >
26
+ <shadedPattern >com.codename1.compat.sqlite.slf4j</shadedPattern >
27
+ </relocation >
28
+ </relocations >
29
+ </configuration >
30
+ </execution >
31
+ </executions >
32
+ </plugin >
33
+ </plugins >
34
+ </build >
35
+ </project >
Original file line number Diff line number Diff line change
1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
+ <modelVersion >4.0.0</modelVersion >
5
+
6
+ <artifactId >sqlite-jdbc</artifactId >
7
+ <version >8.0-SNAPSHOT</version >
8
+ <packaging >jar</packaging >
9
+ <parent >
10
+ <groupId >com.codenameone</groupId >
11
+ <artifactId >codenameone</artifactId >
12
+ <version >8.0-SNAPSHOT</version >
13
+ </parent >
14
+
15
+ <build >
16
+ <plugins >
17
+ <plugin >
18
+ <groupId >org.apache.maven.plugins</groupId >
19
+ <artifactId >maven-shade-plugin</artifactId >
20
+ <version >3.3.0</version >
21
+ <executions >
22
+ <execution >
23
+ <phase >package</phase >
24
+ <goals >
25
+ <goal >shade</goal >
26
+ </goals >
27
+ <configuration >
28
+ <relocations >
29
+ <relocation >
30
+ <pattern >org.slf4j</pattern >
31
+ <shadedPattern >com.codename1.compat.sqlite.slf4j</shadedPattern >
32
+ </relocation >
33
+ </relocations >
34
+ </configuration >
35
+ </execution >
36
+ </executions >
37
+ </plugin >
38
+ </plugins >
39
+ </build >
40
+
41
+ <dependencies >
42
+ <dependency >
43
+ <groupId >org.xerial</groupId >
44
+ <artifactId >sqlite-jdbc</artifactId >
45
+ <version >3.46.1.0</version >
46
+ </dependency >
47
+ <dependency >
48
+ <groupId >org.slf4j</groupId >
49
+ <artifactId >slf4j-api</artifactId >
50
+ <version >1.7.36</version >
51
+ </dependency >
52
+ </dependencies >
53
+ </project >
You can’t perform that action at this time.
0 commit comments