1. Taro L. Saito
  2. sqlite-jdbc

Commits

Taro L. Saito  committed eae6ef4

Fixes #19. Add settings for signing with GPG and deploying artifacts to oss.sonatype.org

  • Participants
  • Parent commits 0d4a4d1
  • Branches default

Comments (0)

Files changed (1)

File pom.xml

View file
   <description>SQLite JDBC library</description>
 
   <parent>
-    <groupId>org.xerial</groupId>
-    <artifactId>xerial-project</artifactId>
-    <version>2.0.2</version>
+    <groupId>org.sonatype.oss</groupId>
+    <artifactId>oss-parent</artifactId>
+    <version>7</version>
   </parent>
-
+  
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  
+  <developers>
+    <developer>
+      <id>leo</id>
+      <name>Taro L. Saito</name>
+      <email>leo@xerial.org</email>
+      <organization>Xerial Project</organization>
+      <roles>
+        <role>Architect</role>
+        <role>Project Manager</role>
+        <role>Chief Developer</role>
+      </roles>
+      <timezone>+9</timezone>
+    </developer>
+  </developers>
+  
   <build>
     <resources>
       <resource>
         </includes>
       </resource>
     </resources>
+
+    <testResources>
+      <testResource>
+	<directory>src/test/java</directory>
+	<excludes>
+	  <exclude>**/*.java</exclude>
+	</excludes>
+      </testResource>
+      <testResource>
+	<directory>src/test/resources</directory>
+      </testResource>
+    </testResources>
     
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-		<version>3.1</version>
+	<version>3.1</version>
         <configuration>
           <compilerArgument>
             -Xbootclasspath/p:${basedir}/lib/jdbc-api-1.4.jar
           <target>1.5</target>
         </configuration>
       </plugin>
+      
+      <plugin>
+	<groupId>org.apache.maven.plugins</groupId>
+	<artifactId>maven-surefire-report-plugin</artifactId>
+	<version>2.6</version>
+      </plugin>
 
       <plugin>
         <artifactId>maven-release-plugin</artifactId>
-		<version>2.1</version>
+	<version>2.1</version>
         <configuration>
           <!--  do not run site-deploy goal, included in the default settings  -->
           <goals>deploy</goals>
+          <pushChanges>false</pushChanges>
+          <localCheckout>true</localCheckout>
           <connectionUrl>scm:hg:ssh://hg@bitbucket.org/xerial/sqlite-jdbc</connectionUrl>
         </configuration>
       </plugin>
 
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-gpg-plugin</artifactId>
+        <version>1.4</version>
+        <configuration>
+          <useAgent>true</useAgent>
+        </configuration>
+        <executions>
+          <execution>
+            <id>sign-artifacts</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>sign</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
 
   </build>
       <version>1.4</version>
       <scope>provided</scope>
     </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.2</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>