Repository: sentry Updated Branches: refs/heads/master 306ccb390 -> afa4a6ebc
SENTRY-1516 - Add gpg configuration to the root pom to enable deployment to Maven Central - Signed off 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/afa4a6eb Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/afa4a6eb Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/afa4a6eb Branch: refs/heads/master Commit: afa4a6ebcd8c6c2b98771499af0a36579acd6cb4 Parents: 306ccb3 Author: Colm O hEigeartaigh <[email protected]> Authored: Thu May 18 10:09:31 2017 +0100 Committer: Colm O hEigeartaigh <[email protected]> Committed: Thu May 18 10:09:31 2017 +0100 ---------------------------------------------------------------------- pom.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sentry/blob/afa4a6eb/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 4bc8f2b..703bde2 100644 --- a/pom.xml +++ b/pom.xml @@ -1010,11 +1010,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>
