mvn versions:set  only updates top level pom and ignores all sub level pom.xml
------------------------------------------------------------------------------

                 Key: MVERSIONS-141
                 URL: http://jira.codehaus.org/browse/MVERSIONS-141
             Project: Maven 2.x Versions Plugin
          Issue Type: Bug
    Affects Versions: 1.2
         Environment: Linux, maven 2.2.1
            Reporter: Martin Jozef


I have a folder structure as follows :
root |
     |---pom.xml
     |admin |
            |---pom.xml
            | adminweb |
                       |---pom.xml
            | adminear |
                       |---pom.xml
    |isf    |
            |---pom.xml
            |business |
                      |---pom.xml


when i run mvn versions:set -DnewVersion=11.02.00-SNAPSHOT  at the root level 
only the pom.xml at the root get's updated and non of the sub-folder pom.xml  

root---pom.xml  is not a parent to any of the sub-projects it's just an top 
level aggregativor for a complete build of the tree. but it does declare all 
sub project's in its <module> section.

The other isf---pom.xml is a parent to all of it's sub-projects.  So, if i run 
the command on this level it works. 
But that leaves me with dozen of other projects that i still have to go in one 
by one and run the command.
I expected to run this command at the root and have all maven sub projects 
update it's version. Instead only the pom.xml at the root got updated.


-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to