You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by av...@apache.org on 2017/09/25 23:12:20 UTC

ambari git commit: AMBARI-19135 : AMS build artifacts are not uploaded to maven central. (avijayan)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 97dc44b14 -> 8f87b4d9c


AMBARI-19135 : AMS build artifacts are not uploaded to maven central. (avijayan)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8f87b4d9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8f87b4d9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8f87b4d9

Branch: refs/heads/branch-2.6
Commit: 8f87b4d9c0df4c58b3e732daea7a85815eeb2fe3
Parents: 97dc44b
Author: Aravindan Vijayan <av...@hortonworks.com>
Authored: Mon Sep 25 16:12:15 2017 -0700
Committer: Aravindan Vijayan <av...@hortonworks.com>
Committed: Mon Sep 25 16:12:15 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/8f87b4d9/ambari-metrics/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
index 835393a..c59de5f 100644
--- a/ambari-metrics/pom.xml
+++ b/ambari-metrics/pom.xml
@@ -325,5 +325,32 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+      <id>sign-artifacts</id>
+      <activation>
+        <property>
+          <name>performRelease</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>
 </project>