maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "denis dudinski (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-3565) Maven shouldn't error if a module appears twice in the reactor
Date Tue, 14 Apr 2009 17:16:53 GMT

     [ http://jira.codehaus.org/browse/MNG-3565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

denis dudinski updated MNG-3565:
--------------------------------

    Attachment: multiproject.patch

Attached patch that may miplement this enhancement.

> Maven shouldn't error if a module appears twice in the reactor
> --------------------------------------------------------------
>
>                 Key: MNG-3565
>                 URL: http://jira.codehaus.org/browse/MNG-3565
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.9
>            Reporter: Ittay Dror
>             Fix For: 2.1.x
>
>         Attachments: MNG-3565-test-case.zip, multiproject.patch
>
>
> parent
>   \-----child1
>   \-----child2
>   \-- many more modules...
> parent contains child1 and child2 modules
> child1/pom.xm contains '<module>../child2</module>'
> now if i cd into child1 and build, child2 is built before it. good. but if i run from
the top directory i get: 
>  Project '..:child2' is duplicated in the reactor
> Note: the reason not to always run from top is that there are many modules, which are
not interrelated, so developer shouldn't wait while another set of modules (maintained by
another build)  is built (even if nothing gets done, it still takes time).
> Why not just remove duplicates before sorting?

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