You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2008/12/19 07:36:22 UTC

[jira] Updated: (MRELEASE-396) release:branch goal does not honor autoVersionSubmodules=true configuration property

     [ http://jira.codehaus.org/browse/MRELEASE-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MRELEASE-396:
-------------------------------------

    Component/s: branch

> release:branch goal does not honor autoVersionSubmodules=true configuration property
> ------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-396
>                 URL: http://jira.codehaus.org/browse/MRELEASE-396
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: branch
>    Affects Versions: 2.0-beta-8
>         Environment: multi-module build
>            Reporter: Ian Springer
>
> In my pom, I have:
>       <plugin>
>         <artifactId>maven-release-plugin</artifactId>        
>         <configuration>
>           <autoVersionSubmodules>true</autoVersionSubmodules>
>           <updateDependencies>false</updateDependencies>
>         </configuration>
>       </plugin>
> Yet, when I run:
> mvn release:branch -DbranchName=JBossON_2_1_2_SP -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false
> I am still prompted for branch versions for all sub-modules in my reactor, i.e.:
> What is the branch version for "JON"? (org.jboss.on:jboss-on-parent) 2.1.2.GA-SNAPSHOT: : 2.1.2.SP1-SNAPSHOT
> What is the branch version for "JON Parent"? (org.jboss.on:jon-parent) 2.1.2.GA-SNAPSHOT: : 2.1.2.SP1-SNAPSHOT
> What is the branch version for "JON Tomcat Plugin"? (org.jboss.on:rhq-tomcat-plugin) 2.1.2.GA-SNAPSHOT: : 2.1.2.SP1-SNAPSHOT
> What is the branch version for "JON JBossAS 3.2.x/4.x Plugin"? (org.jboss.on:rhq-jbossas-plugin) 2.1.2.GA-SNAPSHOT: : 2.1.2.SP1-SNAPSHOT
> What is the branch version for "JON Hibernate Plugin"? (org.jboss.on:rhq-hibernate-plugin) 2.1.2.GA-SNAPSHOT: : 2.1.2.SP1-SNAPSHOT
> etc...
> I also tried specifying autoVersionSubmodules=true via the command line to no avail, i.e.:
> mvn release:branch -DbranchName=JBossON_2_1_2_SP -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira