Repository: incubator-ranger
Updated Branches:
  refs/heads/master 8e45cf480 -> 2bf60228f


Adding a new profile to sign artifacts if required (as it is for deploy)


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

Branch: refs/heads/master
Commit: 2bf60228fe9f2535ddc293c25ee08864871ca23d
Parents: 8e45cf4
Author: Colm O hEigeartaigh <[email protected]>
Authored: Tue Jul 19 12:44:42 2016 +0100
Committer: Colm O hEigeartaigh <[email protected]>
Committed: Tue Jul 19 12:44:42 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/2bf60228/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index aa3211b..a82826d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -253,6 +253,33 @@
                 <module>unixauthpam</module>
             </modules>
         </profile>
+        <profile>
+            <id>sign-artifacts</id>
+            <activation>
+                <property>
+                    <name>sign-artifacts</name>
+                    <value>true</value>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <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>
     <distributionManagement>
         <repository>

Reply via email to