浏览代码

[maven-release-plugin] prepare release jfinal-1.4.0

JamesZhan 12 年之前
父节点
当前提交
883dd1b201
共有 1 个文件被更改,包括 19 次插入4 次删除
  1. 19 4
      pom.xml

+ 19 - 4
pom.xml

@@ -31,11 +31,11 @@
 		</developer>
 	</developers>
 	<scm>
-		<connection>scm:git:git://github.com/jfinal/jfinal.git</connection>
-		<developerConnection>scm:git:git://github.com/jfinal/jfinal.git</developerConnection>
-		<url>git://github.com/jfinal/jfinal.git</url>
+		<connection>scm:git:git@github.com:jfinal/jfinal.git</connection>
+		<developerConnection>scm:git:git@github.com:jfinal/jfinal.git</developerConnection>
+		<url>git@github.com:jfinal/jfinal.git</url>
 	</scm>
-
+	
 	<parent>
 		<groupId>org.sonatype.oss</groupId>
 		<artifactId>oss-parent</artifactId>
@@ -153,6 +153,21 @@
 					<target>1.6</target>
 				</configuration>
 			</plugin>
+
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-gpg-plugin</artifactId>
+				<executions>
+				  <execution>
+					<id>sign-artifacts</id>
+					<phase>verify</phase>
+					<goals>
+					  <goal>sign</goal>
+					</goals>
+				  </execution>
+				</executions>
+			</plugin>
+
 		</plugins>
 	</build>
 </project>