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

Brett Porter closed MNG-2149.
-----------------------------

         Assignee: Brett Porter  (was: Jason van Zyl)
       Resolution: Incomplete
    Fix Version/s:     (was: 2.1)

Maybe just been at this too long today, but I don't se a request in here - it 
seems to be stating something that already works for you?

> Why have aggregator projects? Can't we just add <module/> tags in normal 
> pom.xml files and have them behave transitively?
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2149
>                 URL: http://jira.codehaus.org/browse/MNG-2149
>             Project: Maven 2
>          Issue Type: Wish
>          Components: Reactor and workspace
>    Affects Versions: 2.0.2
>            Reporter: David Boden
>            Assignee: Brett Porter
>            Priority: Critical
>
> At the moment, we have to have an aggregator xml file with 
> <packaging>pom</packaging> in order to build multiple modules.
> Why can't my ss_base_applet module contain:
> <module>../ss_base_shared</module>
> This would mean that whenever ss_base_applet was built, it built 
> ss_base_shared too (taking into account the dependency definitions to work 
> out the order).
> There would, of course, need to be a command line switch to say ("don't build 
> sub modules"). It already exists!
> -N,--non-recursive            Do not recurse into sub-projects
> Here's my current aggregator pom. I'd much prefer to define these 
> transitively in the same way that I can define the dependencies transitively:
>     <modules>
>         <!-- Ensure that the parent pom is installed -->
>         <module>../SSBuild</module>
>         
>         <!-- Modules shared between all SalesStation instances -->
>         <module>../FET_S</module>
>         <module>../ss_base_shared</module>
>         <module>../ss_offering_shared</module>
>         <module>../ss_offering_lib</module>
>         <module>../ss_base_applet</module>
>         <module>../sales_station_lib</module>
>         <module>../sales_station_applet</module>
>         <module>../SS</module>
>         
>         <!-- CDS modules -->
>         <module>../cds_ss_shared</module>
>         <module>../cds_ss_applet</module>
>         <module>../cds_ss_lib</module>
>         <module>../CDSSS</module>
>         <module>../CDSSS-ear</module>
>         
>         <!-- EGB and Credit modules -->
>         <module>../gov_ss_base_shared</module>
>         <module>../gov_ss_base_applet</module>
>         <module>../egb_ss_lib</module>
>         <module>../credit_ss_lib</module>
>         <module>../ss_cats_lib</module>
>         <module>../ss_ecn_handler</module>
>         <module>../egb_ss_ecn_handler</module>
>         <module>../egb_ss_shared</module>
>         <module>../egb_ss_applet</module>
>         <module>../credit_ss_applet</module>
>         <module>../credit_ss_shared</module>
>         <module>../EgbSS</module>
>         <module>../EgbSS-ear</module>
>     </modules>

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