Embedded error: roots differ error on simple project
----------------------------------------------------

                 Key: MREACTOR-9
                 URL: http://jira.codehaus.org/browse/MREACTOR-9
             Project: Maven 2.x Reactor Plugin
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: cygwin
            Reporter: Jorg Heymans
         Attachments: reactor-bug.tar.gz

Unpack the attached project, go to the root-pom directory and do mvn 
reactor:make -Dmake.artifacts=B-api :

{code}
$ mvn reactor:make -Dmake.artifacts=B-api
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   myProject
[INFO]   A api
[INFO]   A impl
[INFO]   A-modules
[INFO]   B api
[INFO]   B impl
[INFO]   B-modules
[INFO]   myProject-modules
[INFO] Searching repository for plugin with prefix: 'reactor'.
[INFO] ------------------------------------------------------------------------
[INFO] Building myProject
[INFO]    task-segment: [reactor:make] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [reactor:make]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Problem generating dependency tree

Embedded error: Roots differ
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Sep 30 09:18:16 CEST 2008
[INFO] Final Memory: 7M/13M
[INFO] ------------------------------------------------------------------------

{code}


or go to the modules directory and do make.folders=B/api :

{code}
$ mvn reactor:make -Dmake.folders=B/api
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   A api
[INFO]   A impl
[INFO]   A-modules
[INFO]   B api
[INFO]   B impl
[INFO]   B-modules
[INFO]   myProject-modules
[INFO] Searching repository for plugin with prefix: 'reactor'.
[INFO] ------------------------------------------------------------------------
[INFO] Building myProject-modules
[INFO]    task-segment: [reactor:make] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [reactor:make]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] No folders matched: B/api
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Sep 30 09:16:14 CEST 2008
[INFO] Final Memory: 7M/14M
[INFO] ------------------------------------------------------------------------
{code}



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

        

Reply via email to