Manfred Moser wrote:
> 
> What about using dependency management in a parent pom?
> 
I'm not sure I understand what you're suggesting.  Do you mean all
dependency versions are provided by a common parent POM?  Doesn't that
present the problem of needing to constantly release the parent POM which
would in turn force all projects to update their referenced parent version?
This would be compounded if you have deep POM inheritance.


Manfred Moser wrote:
> 
> Depending on your scm strategy e.g. trunk moves straight to the next
> snapshot, release branch gets separate CI setup..
> 
> Of course depending on your CI server and SCM things around this idea
> might vary..
> 
We have tried a few approaches here, including branch and then release from
branch, while trunk maintains Snapshot.  While this works, it still requires
updating of the snapshot dependency versions.  I was hoping to find the
"Maven-way" documented somewhere.  One of the main strengths of Maven is its
predictable process but it's lighter on details than I would like when it
comes to fitting it into a typical CI release cycle.  In other words, it's
not as simple as "mvn release:prepare", "mvn release:perform".  Since it's
not that simple, documentation of a real SCM-integrated, CI process seems to
be necessary.


--
View this message in context: 
http://maven.40175.n5.nabble.com/Version-management-in-a-Maven-CI-environment-tp4694136p4702766.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to