maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grégory Joseph (JIRA) <j...@codehaus.org>
Subject [jira] Commented: (MRELEASE-396) release:branch goal does not honor autoVersionSubmodules=true configuration property
Date Tue, 15 Dec 2009 22:00:55 GMT

    [ http://jira.codehaus.org/browse/MRELEASE-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202765#action_202765
] 

Grégory Joseph commented on MRELEASE-396:
-----------------------------------------

For some reason, I seem to only get this behaviour when branching from a tag (i.e it is probably
related to the usage of the {{update*}} options)

> 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

       

Mime
View raw message