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/84fed85a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/84fed85a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/84fed85a Branch: refs/heads/branch-3.0-ams Commit: 84fed85ac9019a9b72d3db1619c7dbdf18e1d078 Parents: 12c9ca7 Author: Aravindan Vijayan <avija...@hortonworks.com> Authored: Mon Sep 25 16:26:28 2017 -0700 Committer: Aravindan Vijayan <avija...@hortonworks.com> Committed: Mon Sep 25 16:26:28 2017 -0700 ---------------------------------------------------------------------- ambari-metrics/pom.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/84fed85a/ambari-metrics/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml index 560ef11..a14b8fd 100644 --- a/ambari-metrics/pom.xml +++ b/ambari-metrics/pom.xml @@ -317,5 +317,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>