Skip to content

Commit 0f23cc7

Browse files
committed
adjust jars
1 parent 22d432c commit 0f23cc7

1 file changed

Lines changed: 6 additions & 20 deletions

File tree

pom.xml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
<artifactId>maven-jar-plugin</artifactId>
140140
<version>3.5.0</version>
141141
<executions>
142-
<!-- Default JAR with all classes/resources -->
142+
<!-- Default JAR with all classes/resources, except Android natives -->
143143
<execution>
144144
<id>default-jar</id>
145145
<phase>package</phase>
@@ -151,6 +151,9 @@
151151
<Multi-Release>true</Multi-Release>
152152
</manifestEntries>
153153
</archive>
154+
<excludes>
155+
<exclude>org/sqlite/native/Linux-Android/**/*</exclude>
156+
</excludes>
154157
</configuration>
155158
</execution>
156159
<!-- JAR without native libraries -->
@@ -174,9 +177,9 @@
174177
</excludes>
175178
</configuration>
176179
</execution>
177-
<!-- JAR with only native libraries -->
180+
<!-- JAR with only native libraries, except Android -->
178181
<execution>
179-
<id>natives-desktop</id>
182+
<id>natives-all</id>
180183
<phase>package</phase>
181184
<goals>
182185
<goal>jar</goal>
@@ -226,23 +229,6 @@
226229
</excludes>
227230
<includes>
228231
<include>org/sqlite/native/Linux/**/*</include>
229-
</includes>
230-
</configuration>
231-
</execution>
232-
<!-- JAR with only native libraries: Linux Musl -->
233-
<execution>
234-
<id>natives-linux_musl</id>
235-
<phase>package</phase>
236-
<goals>
237-
<goal>jar</goal>
238-
</goals>
239-
<configuration>
240-
<classifier>natives-linux_musl</classifier>
241-
<excludes>
242-
<exclude>**/*.class</exclude>
243-
<exclude>**/*.properties</exclude>
244-
</excludes>
245-
<includes>
246232
<include>org/sqlite/native/Linux-Musl/**/*</include>
247233
</includes>
248234
</configuration>

0 commit comments

Comments
 (0)