[ https://jira.codehaus.org/browse/MRELEASE-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MRELEASE-396: ------------------------------------ Description: In my pom, I have: {code:xml} <plugin> <artifactId>maven-release-plugin</artifactId> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <updateDependencies>false</updateDependencies> </configuration> </plugin> {code} 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.: {noformat} 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... {noformat} 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}} was: 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 > release:branch goal does not honor autoVersionSubmodules=true configuration > property > ------------------------------------------------------------------------------------ > > Key: MRELEASE-396 > URL: https://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: > {code:xml} > <plugin> > <artifactId>maven-release-plugin</artifactId> > <configuration> > <autoVersionSubmodules>true</autoVersionSubmodules> > <updateDependencies>false</updateDependencies> > </configuration> > </plugin> > {code} > 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.: > {noformat} > 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... > {noformat} > 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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira