From 2ea43967dc6ec74f2af1439f191f40e2650dd7ea Mon Sep 17 00:00:00 2001 From: Curtis Rueden Date: Mon, 31 Mar 2014 16:10:47 -0500 Subject: [PATCH 1/2] POM: add developer profiles for SNAPSHOT pinning These handy profiles automatically update all version properties for a given set of projects to SNAPSHOT versions rather than releases. This makes it easier to develop multiple projects against one another, although you must still be careful not to push changes to master which rely on the SNAPSHOT coupling (otherwise the Jenkins build will fail). --- pom.xml | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/pom.xml b/pom.xml index 3fa13b6d..77f260cd 100644 --- a/pom.xml +++ b/pom.xml @@ -906,6 +906,75 @@ Projects wishing to use pom-scijava as a parent project need to override the < + + + dev.imagej + + + ${user.dir}/.scijava/dev.imagej + + + + 2.0.0-SNAPSHOT + 0.3.2-SNAPSHOT + 2.0.4-SNAPSHOT + 1.0.3-SNAPSHOT + + + + dev.imglib2 + + + ${user.dir}/.scijava/dev.imglib2 + + + + 2.0.0-SNAPSHOT + 2.0.0-SNAPSHOT + 2.0.0-SNAPSHOT + + + + dev.ome + + + ${user.dir}/.scijava/dev.ome + + + + 5.0.2-SNAPSHOT + + + + dev.scijava + + + ${user.dir}/.scijava/dev.scijava + + + + 2.14.1-SNAPSHOT + + + + dev.scifio + + + ${user.dir}/.scijava/dev.scifio + + + + 0.7.1-SNAPSHOT + 0.10.3-SNAPSHOT + 1.6.2-SNAPSHOT + 0.4.1-SNAPSHOT + + + test-jar From 18be2a9bd94fbc32f7e9d75833d5cc16ece643ed Mon Sep 17 00:00:00 2001 From: Mark Hiner Date: Wed, 16 Apr 2014 14:35:11 -0500 Subject: [PATCH 2/2] pom.xml: add new property anchors As there are now property tags in the profiles section, there is not a good anchor point to restrict the search and replace range for scripts like bump-pom-scijava. This adds a unique comment at the start and end of the primary properties section to distinguish it from profile properties. --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index 77f260cd..5c9e5595 100644 --- a/pom.xml +++ b/pom.xml @@ -51,6 +51,7 @@ Projects wishing to use pom-scijava as a parent project need to override the < + +