Hi Mirko!

If you release the whole project at once, then you obviously only get exactly 
one tag!

You'd need to run releases on each module on it's own to get the single tags. 
But I'm not sure if this is really a good thing...

What is the goal you like to achieve? What's wrong for you with that tag?

LieGrue,
strub

--- On Tue, 1/25/11, Mirko Friedenhagen <[email protected]> wrote:

> From: Mirko Friedenhagen <[email protected]>
> Subject: maven-release-plugin multimodule creating additional subversion tags 
> for each module
> To: [email protected]
> Date: Tuesday, January 25, 2011, 9:12 PM
> Hello,
> 
> Dear all,
> 
> in our company we have a policy that every released
> artifact should
> have a release tag in Subversion assuming tagging is a
> cheap operation
> in subversion.
> 
> So given a standard multimodule project:
> 
> foo/trunk/pom.xml
> (groupId=foo,artifactId=parent,version=1.0-SNAPSHOT)
> foo/trunk/core/pom.xml
> (groupId=foo,artifactId=core,parent=foo.parent:1.0-SNAPSHOT)
> foo/trunk/app1/pom.xml
> (groupId=foo,artifactId=app1,parent=foo.parent:1.0-SNAPSHOT)
> foo/trunk/app2/pom.xml
> (groupId=foo,artifactId=app2,parent=foo.parent:1.0-SNAPSHOT)
> 
> I want to have the following tags after running mvn -B
> release:prepare
> release:perform
> 
> foo/tags/parent-1.0
> foo/tags/core-1.0
> foo/tags/app1-1.0
> foo/tags/app2-1.0
> 
> Currently only foo/tags/parent-1.0 is created. Any ideas on
> how to achieve this?
> 
> Regards
> Mirko
> -- 
> http://illegalstateexception.blogspot.com/
> https://github.com/mfriedenhagen/
> https://bitbucket.org/mfriedenhagen/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to