OSDN Git Service

[maven-release-plugin] prepare release sqlite-jdbc-3.6.17.3
[xerial/sqlite-jdbc.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 97d1a87..1caf43e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
-<?xml version="1.0" encoding="UTF-8"?>\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
-\r
-  <parent>\r
-    <artifactId>xerial-base</artifactId>\r
-    <groupId>org.xerial</groupId>\r
-    <version>1.1</version>\r
-  </parent>\r
+<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">\r
 \r
   <modelVersion>4.0.0</modelVersion>\r
   <groupId>org.xerial</groupId>\r
   <artifactId>sqlite-jdbc</artifactId>\r
-  <version>v037</version>\r
+  <version>3.6.17.3</version>\r
   <name>SQLite JDBC</name>\r
   <description>SQLite JDBC library</description>\r
 \r
-  <distributionManagement>\r
-    <site>\r
-      <id>xerial.local</id>\r
-      <url>file://${basedir}/../maven/site/${project.artifactId}</url>\r
-    </site>\r
-  </distributionManagement>\r
+  <parent>\r
+    <groupId>org.xerial</groupId>\r
+    <artifactId>xerial-project</artifactId>\r
+    <version>1.1</version>\r
+  </parent>\r
+\r
+  <build>\r
+    <resources>\r
+      <resource>\r
+        <directory>src/main/java</directory>\r
+      </resource>\r
+      <resource>\r
+        <directory>src/main/resources</directory>\r
+        <includes>\r
+          <include>native/**</include>\r
+          <include>org/**</include>\r
+        </includes>\r
+      </resource>\r
+      <resource>\r
+        <directory>${basedir}</directory>\r
+        <targetPath>META-INF/maven/${groupId}/${artifactId}</targetPath>\r
+        <includes>\r
+          <include>VERSION</include>\r
+          <include>LICENSE*</include>\r
+        </includes>\r
+      </resource>\r
+    </resources>\r
+    \r
+    <plugins>\r
+      <plugin>\r
+        <groupId>org.apache.maven.plugins</groupId>\r
+        <artifactId>maven-compiler-plugin</artifactId>\r
+        <configuration>\r
+          <compilerArgument>\r
+            -Xbootclasspath/p:${basedir}/lib/jdbc-api-1.4.jar\r
+          </compilerArgument>\r
+          <source>1.5</source>\r
+          <target>1.5</target>\r
+        </configuration>\r
+      </plugin>\r
+\r
+      <plugin>\r
+        <groupId>org.apache.maven.plugins</groupId>\r
+        <artifactId>maven-dependency-plugin</artifactId>\r
+        <executions>\r
+          <execution>\r
+            <id>unpack-dependency</id>\r
+            <phase>generate-sources</phase>\r
+            <goals>\r
+              <goal>unpack</goal>\r
+            </goals>\r
+            <configuration>\r
+              <excludes>META-INF,META-INF/**</excludes>\r
+              <artifactItems>\r
+                <artifactItem>\r
+                  <groupId>org.xerial.thirdparty</groupId>\r
+                  <artifactId>nestedvm</artifactId>\r
+                  <version>1.0</version>\r
+                  <type>jar</type>\r
+                </artifactItem>\r
+              </artifactItems>\r
+              <overWrite>true</overWrite>\r
+              <outputDirectory>src/main/resources</outputDirectory>\r
+            </configuration>\r
+          </execution>\r
+        </executions>\r
+      </plugin>\r
+\r
+      <plugin>\r
+        <artifactId>maven-release-plugin</artifactId>\r
+        <configuration>\r
+          <!--  do not run site-deploy goal, included in the default settings  -->\r
+          <goals>deploy</goals>\r
+        </configuration>\r
+      </plugin>\r
 \r
-  <repositories>\r
-    <repository>\r
-      <id>xerial</id>\r
-      <name>Xerial Artifact Repository</name>\r
-      <url>http://www.xerial.org/svn/project/XerialJ/trunk/maven/artifact</url>\r
-    </repository>\r
-  </repositories>\r
+    </plugins>\r
 \r
+  </build>\r
 \r
-</project>\r
+  <dependencies>\r
+    <dependency>\r
+      <groupId>org.xerial.thirdparty</groupId>\r
+      <artifactId>nestedvm</artifactId>\r
+      <version>1.0</version>\r
+      <scope>provided</scope>\r
+    </dependency>\r
+    <dependency>\r
+      <groupId>org.xerial.thirdparty</groupId>\r
+      <artifactId>jdbc-api</artifactId>\r
+      <version>1.4</version>\r
+      <scope>provided</scope>\r
+    </dependency>\r
+  </dependencies>\r
 \r
+  <scm>\r
+    <connection>scm:svn:http://www.xerial.org/svn/project/XerialJ/tags/sqlite-jdbc/sqlite-jdbc-3.6.17.3</connection>\r
+    <developerConnection>scm:svn:https://www.xerial.org/svn/project/XerialJ/tags/sqlite-jdbc/sqlite-jdbc-3.6.17.3</developerConnection>\r
+    <url>http://www.xerial.org/svn/project/XerialJ/tags/sqlite-jdbc/sqlite-jdbc-3.6.17.3</url>\r
+  </scm>\r
+</project>
\ No newline at end of file