SLIDER-1014 trying to outhink maven
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/c88f3c40 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/c88f3c40 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/c88f3c40 Branch: refs/heads/develop Commit: c88f3c40546860891c8dff3c0a68c11bf9844d43 Parents: adbf37a Author: Steve Loughran <ste...@apache.org> Authored: Fri Dec 18 19:02:55 2015 +0000 Committer: Steve Loughran <ste...@apache.org> Committed: Fri Dec 18 19:02:55 2015 +0000 ---------------------------------------------------------------------- pom.xml | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/c88f3c40/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index cc88246..347ac89 100644 --- a/pom.xml +++ b/pom.xml @@ -56,9 +56,14 @@ <connection> scm:git:http://git-wip-us.apache.org/repos/asf/incubator-slider.git </connection> - <developerConnection> - scm:git:http://git-wip-us.apache.org/repos/asf/incubator-slider.git - </developerConnection> + <!-- + Allows the git repository to be overridden so that maven release operations + do not create tags and branches on the ASF repository. + + Set the property git.repo = the URL to the repository + -Dgit.repo = scm:git:http://git-wip-us.apache.org/repos/asf/incubator-slider.git + --> + <developerConnection>${git.repo}</developerConnection> </scm> <distributionManagement> @@ -1826,23 +1831,6 @@ </build> </profile> - <!-- - Allows the git repository to be overridden so that maven release operations - do not create tags and branches on the ASF repository. - - Set the property git.repo = the URL to the repository - --> - <profile> - <id>private-git-repo</id> - <scm> - <url>http://git-wip-us.apache.org/repos/asf/incubator-slider.git</url> - <connection> - scm:git:http://git-wip-us.apache.org/repos/asf/incubator-slider.git - </connection> - <developerConnection>${git.repo}</developerConnection> - </scm> - </profile> - </profiles> </project>