Repository: incubator-slider Updated Branches: refs/heads/develop a0a3ae632 -> 6126db62b
SLIDER-393 fix pom to publish jars to ASF staging and snapshots (Giridharan Kesavan via billie) Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/6126db62 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/6126db62 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/6126db62 Branch: refs/heads/develop Commit: 6126db62bb5d4ae45b6ecddb7b71ce1b8ae13cb2 Parents: a0a3ae6 Author: Billie Rinaldi <[email protected]> Authored: Thu Sep 4 10:40:03 2014 -0700 Committer: Billie Rinaldi <[email protected]> Committed: Thu Sep 4 10:40:03 2014 -0700 ---------------------------------------------------------------------- pom.xml | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/6126db62/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 8292073..9efb5c8 100644 --- a/pom.xml +++ b/pom.xml @@ -72,6 +72,19 @@ <url>http://slider.incubator.apache.org/</url> </site> <downloadUrl>http://git-wip-us.apache.org/repos/asf/incubator-slider.git</downloadUrl> + <repository> + <id>${distMgmtStagingId}</id> + <name>${distMgmtStagingName}</name> + <url>${distMgmtStagingUrl}</url> + </repository> + <snapshotRepository> + <id>${distMgmtSnapshotsId}</id> + <name>${distMgmtSnapshotsName}</name> + <url>${distMgmtSnapshotsUrl}</url> + </snapshotRepository> + + + </distributionManagement> <mailingLists> @@ -92,7 +105,12 @@ </mailingLists> <properties> - + <distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId> + <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName> + <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl> + <distMgmtStagingId>apache.staging.https</distMgmtStagingId> + <distMgmtStagingName>Apache Release Distribution Repository</distMgmtStagingName> + <distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> @@ -1397,7 +1415,26 @@ </build> </profile> - + <profile> + <id>sign</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles>
