maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@codehaus.org>
Subject [jira] (MRELEASE-396) release:branch goal does not honor autoVersionSubmodules=true configuration property
Date Mon, 18 Jun 2012 21:46:22 GMT

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

Robert Scholte closed MRELEASE-396.
-----------------------------------

    Resolution: Duplicate
      Assignee: Robert Scholte
    
> 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
>            Assignee: Robert Scholte
>
> 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

        

Mime
View raw message