Repository: sentry Updated Branches: refs/heads/master ab906afa2 -> d30febf1a
SENTRY-1516 - Add gpg configuration to the root pom to enable deployment to Maven Central - Signed off by Sergio Pena Re-applied by Sergio Pena. Project: http://git-wip-us.apache.org/repos/asf/sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/d30febf1 Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/d30febf1 Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/d30febf1 Branch: refs/heads/master Commit: d30febf1a84760f52219a68baebd8b8132082442 Parents: ab906af Author: Colm O hEigeartaigh <[email protected]> Authored: Thu May 18 10:09:31 2017 +0100 Committer: Sergio Pena <[email protected]> Committed: Tue Aug 29 14:04:22 2017 -0500 ---------------------------------------------------------------------- pom.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sentry/blob/d30febf1/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 473a45d..1479f5f 100644 --- a/pom.xml +++ b/pom.xml @@ -1097,11 +1097,57 @@ limitations under the License. </plugins> </build> </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> + <id>apache.releases.https</id> + <name>Apache Release Distribution Repository</name> + <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> + </repository> + <snapshotRepository> + <id>apache.snapshots.https</id> + <name>Apache Development Snapshot Repository</name> + <url>https://repository.apache.org/content/repositories/snapshots</url> + </snapshotRepository> + </distributionManagement> <repositories> <repository> - <id>apache</id> - <url>https://repository.apache.org/content/repositories/</url> + <id>apache.snapshots</id> + <url>https://repository.apache.org/snapshots/</url> + <name>Apache Snapshot Repo</name> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> </repository> </repositories>
