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/ce120640 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/ce120640 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/ce120640 Branch: refs/heads/ranger-0.6 Commit: ce120640e15d0a85ff4ed744ba59c5a6cb72c4e2 Parents: 08cb7d9 Author: Colm O hEigeartaigh <[email protected]> Authored: Tue Jul 19 12:44:42 2016 +0100 Committer: Colm O hEigeartaigh <[email protected]> Committed: Thu Jul 21 10:48:22 2016 +0100 ---------------------------------------------------------------------- pom.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/ce120640/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index abba4c8..29b5243 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>
