You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mnemonic.apache.org by ga...@apache.org on 2016/04/28 23:32:24 UTC

incubator-mnemonic git commit: MNEMONIC-31: Add a new profile for artifacts releasing and signing

Repository: incubator-mnemonic
Updated Branches:
  refs/heads/master 90ccec398 -> b573ca350


MNEMONIC-31: Add a new profile for artifacts releasing and signing


Project: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/commit/b573ca35
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/tree/b573ca35
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/diff/b573ca35

Branch: refs/heads/master
Commit: b573ca350cd69378cb3cd8315800d5ee8259d9ee
Parents: 90ccec3
Author: Wang, Gang(Gary) <ga...@intel.com>
Authored: Thu Apr 28 14:32:08 2016 -0700
Committer: Wang, Gang(Gary) <ga...@intel.com>
Committed: Thu Apr 28 14:32:08 2016 -0700

----------------------------------------------------------------------
 pom.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/blob/b573ca35/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3564763..6a3d7dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -355,6 +355,33 @@
       <checkstyle.skip>true</checkstyle.skip>
     </properties>
   </profile>
+
+  <profile>
+    <id>release-sign-artifacts</id>
+    <activation>
+      <property>
+	<name>performRelease</name>
+	<value>true</value>
+      </property>
+    </activation>
+    <build>
+      <plugins>
+	<plugin>
+	  <artifactId>maven-gpg-plugin</artifactId>
+	  <version>1.6</version>
+	  <executions>
+	    <execution>
+	      <id>sign-artifacts</id>
+	      <phase>verify</phase>
+	      <goals>
+		<goal>sign</goal>
+	      </goals>
+	    </execution>
+	  </executions>
+	</plugin>
+      </plugins>
+    </build>
+  </profile>
 </profiles>
 
   <reporting>