2010/9/24 Marshall Schor <[email protected]>:
>
>
> On 9/24/2010 3:22 PM, Antonio Petrelli wrote:
>> 2010/9/24 Marshall Schor <[email protected]>:
>>> Are you saying that the Maven Release plugin, in particular, has the 
>>> restriction
>>> that in order for it to work, it the multimodule project has to be the 
>>> parent?
>> At this point I really don't know, since I always had modules that
>> have the container as a parent, never tried in another way.
>> Just a question: when you run release:prepare, does it ask you
>> versions for every single module?
>
> No, it asks just for versions where I had specified a <dependency> in the top 
> pom.
> It's as if the release plugin is set up to only work at the top pom, and not 
> run
> on the modules within (although it does run the build actions on the modules
> within).

Ok. Instead if you have child modules with the container pom as
parent, it asks versions for every module.

> I'm kind of stumped on how to "work around" this.

Just a shot in the dark, try:
http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#autoVersionSubmodules

Antonio

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

Reply via email to