| 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.6.18-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 | </configuration>
|
|---|
| 84 | </plugin>
|
|---|
| 85 |
|
|---|
| 86 | </plugins>
|
|---|
| 87 |
|
|---|
| 88 | </build>
|
|---|
| 89 |
|
|---|
| 90 | <dependencies>
|
|---|
| 91 | <dependency>
|
|---|
| 92 | <groupId>org.xerial.thirdparty</groupId>
|
|---|
| 93 | <artifactId>nestedvm</artifactId>
|
|---|
| 94 | <version>1.0</version>
|
|---|
| 95 | <scope>provided</scope>
|
|---|
| 96 | </dependency>
|
|---|
| 97 | <dependency>
|
|---|
| 98 | <groupId>org.xerial.thirdparty</groupId>
|
|---|
| 99 | <artifactId>jdbc-api</artifactId>
|
|---|
| 100 | <version>1.4</version>
|
|---|
| 101 | <scope>provided</scope>
|
|---|
| 102 | </dependency>
|
|---|
| 103 | </dependencies>
|
|---|
| 104 | </project>
|
|---|