1- <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" >
2-
3- <modelVersion >4.0.0</modelVersion >
4- <groupId >org.xerial</groupId >
5- <artifactId >sqlite-jdbc</artifactId >
6- <version >3.7.2-SNAPSHOT </version >
7- <name >SQLite JDBC</name >
8- <description >SQLite JDBC library</description >
9-
10- <parent >
11- <groupId >org.xerial</groupId >
12- <artifactId >xerial-project</artifactId >
13- <version >1.1</version >
14- </parent >
15-
16- <build >
17- <resources >
18- <resource >
19- <directory >src/main/java</directory >
20- </resource >
21- <resource >
22- <directory >src/main/resources</directory >
23- <includes >
24- <include >native/**</include >
25- <include >org/**</include >
26- </includes >
27- </resource >
28- <resource >
29- <directory >${basedir} </directory >
30- <targetPath >META-INF/maven/${groupId} /${artifactId} </targetPath >
31- <includes >
32- <include >VERSION</include >
33- <include >LICENSE*</include >
34- </includes >
35- </resource >
36- </resources >
37-
38- <plugins >
39- <plugin >
40- <groupId >org.apache.maven.plugins</groupId >
41- <artifactId >maven-compiler-plugin</artifactId >
42- <configuration >
43- <compilerArgument >
44- -Xbootclasspath/p:${basedir} /lib/jdbc-api-1.4.jar
45- </compilerArgument >
46- <source >1.5</source >
47- <target >1.5</target >
48- </configuration >
49- </plugin >
50-
51- <plugin >
52- <groupId >org.apache.maven.plugins</groupId >
53- <artifactId >maven-dependency-plugin</artifactId >
54- <executions >
55- <execution >
56- <id >unpack-dependency</id >
57- <phase >generate-sources</phase >
58- <goals >
59- <goal >unpack</goal >
60- </goals >
61- <configuration >
62- <excludes >META-INF,META-INF/**</excludes >
63- <artifactItems >
64- <artifactItem >
65- <groupId >org.xerial.thirdparty</groupId >
66- <artifactId >nestedvm</artifactId >
67- <version >1.0</version >
68- <type >jar</type >
69- </artifactItem >
70- </artifactItems >
71- <overWrite >true</overWrite >
72- <outputDirectory >src/main/resources</outputDirectory >
73- </configuration >
74- </execution >
75- </executions >
76- </plugin >
77-
78- <plugin >
79- <artifactId >maven-release-plugin</artifactId >
80- <configuration >
81- <!-- do not run site-deploy goal, included in the default settings -->
82- <goals >deploy</goals >
83- <connectionUrl >scm:hg:https://sqlite.xerial.googlecode.com/hg/</connectionUrl >
84- </configuration >
85- </plugin >
86-
87- </plugins >
88-
89- </build >
90-
91- <scm >
92- <connection >scm:hg:https://sqlite.xerial.googlecode.com/hg/</connection >
93- <developerConnection >scm:hg:default</developerConnection >
94- <url >scm:hg:https://sqlite.xerial.googlecode.com/hg/</url >
95- </scm >
96-
97-
98- <dependencies >
99- <dependency >
100- <groupId >org.xerial.thirdparty</groupId >
101- <artifactId >nestedvm</artifactId >
102- <version >1.0</version >
103- <scope >provided</scope >
104- </dependency >
105- <dependency >
106- <groupId >org.xerial.thirdparty</groupId >
107- <artifactId >jdbc-api</artifactId >
108- <version >1.4</version >
109- <scope >provided</scope >
110- </dependency >
111- </dependencies >
112- </project >
1+ <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" >
2+
3+ <modelVersion >4.0.0</modelVersion >
4+ <groupId >org.xerial</groupId >
5+ <artifactId >sqlite-jdbc</artifactId >
6+ <version >3.7.2</version >
7+ <name >SQLite JDBC</name >
8+ <description >SQLite JDBC library</description >
9+
10+ <parent >
11+ <groupId >org.xerial</groupId >
12+ <artifactId >xerial-project</artifactId >
13+ <version >1.1</version >
14+ </parent >
15+
16+ <build >
17+ <resources >
18+ <resource >
19+ <directory >src/main/java</directory >
20+ </resource >
21+ <resource >
22+ <directory >src/main/resources</directory >
23+ <includes >
24+ <include >native/**</include >
25+ <include >org/**</include >
26+ </includes >
27+ </resource >
28+ <resource >
29+ <directory >${basedir} </directory >
30+ <targetPath >META-INF/maven/${groupId} /${artifactId} </targetPath >
31+ <includes >
32+ <include >VERSION</include >
33+ <include >LICENSE*</include >
34+ </includes >
35+ </resource >
36+ </resources >
37+
38+ <plugins >
39+ <plugin >
40+ <groupId >org.apache.maven.plugins</groupId >
41+ <artifactId >maven-compiler-plugin</artifactId >
42+ <configuration >
43+ <compilerArgument >
44+ -Xbootclasspath/p:${basedir} /lib/jdbc-api-1.4.jar
45+ </compilerArgument >
46+ <source >1.5</source >
47+ <target >1.5</target >
48+ </configuration >
49+ </plugin >
50+
51+ <plugin >
52+ <groupId >org.apache.maven.plugins</groupId >
53+ <artifactId >maven-dependency-plugin</artifactId >
54+ <executions >
55+ <execution >
56+ <id >unpack-dependency</id >
57+ <phase >generate-sources</phase >
58+ <goals >
59+ <goal >unpack</goal >
60+ </goals >
61+ <configuration >
62+ <excludes >META-INF,META-INF/**</excludes >
63+ <artifactItems >
64+ <artifactItem >
65+ <groupId >org.xerial.thirdparty</groupId >
66+ <artifactId >nestedvm</artifactId >
67+ <version >1.0</version >
68+ <type >jar</type >
69+ </artifactItem >
70+ </artifactItems >
71+ <overWrite >true</overWrite >
72+ <outputDirectory >src/main/resources</outputDirectory >
73+ </configuration >
74+ </execution >
75+ </executions >
76+ </plugin >
77+
78+ <plugin >
79+ <artifactId >maven-release-plugin</artifactId >
80+ <configuration >
81+ <!-- do not run site-deploy goal, included in the default settings -->
82+ <goals >deploy</goals >
83+ <connectionUrl >scm:hg:https://sqlite.xerial.googlecode.com/hg/</connectionUrl >
84+ </configuration >
85+ </plugin >
86+
87+ </plugins >
88+
89+ </build >
90+
91+ <scm >
92+ <connection >scm:hg:https://sqlite.xerial.googlecode.com/hg/</connection >
93+ <developerConnection >scm:hg:default</developerConnection >
94+ <url >scm:hg:https://sqlite.xerial.googlecode.com/hg/</url >
95+ </scm >
96+
97+
98+ <dependencies >
99+ <dependency >
100+ <groupId >org.xerial.thirdparty</groupId >
101+ <artifactId >nestedvm</artifactId >
102+ <version >1.0</version >
103+ <scope >provided</scope >
104+ </dependency >
105+ <dependency >
106+ <groupId >org.xerial.thirdparty</groupId >
107+ <artifactId >jdbc-api</artifactId >
108+ <version >1.4</version >
109+ <scope >provided</scope >
110+ </dependency >
111+ </dependencies >
112+ </project >
0 commit comments