Hi Vincent,

> What I do is use the reactor tag in my maven.xml file and 
> provide a special goal ("dist-all"), as in:
> 
>   <goal name="dist-all" description="Full build plus prerequisites">
>     <property name="goal" value="dist"/>
>     <attainGoal name="action-prerequisites"/>
>   </goal>
> 
>   <goal name="action-prerequisites">
>     <reactor:execute
>         basedir="${toplevelproject.dir}"
>         glob="mysubproject/project.xml"
>         goals="${goal}"
>         banner="bla blah"
>         ignoreFailures="false"
>     />
>     <attainGoal name="${goal}"/>
>   </goal>

Great! So where does this maven.xml file fit into the directory
structure?
Do I need one maven.xml per module?

- common - code used by all backend modules
    +- build.xml
    +- common-build.xml
- common-struts - code used by all struts modules
    +- build.xml
- featureX - backend code for featureX
    +- build.xml
- featureX-struts - struts code for feature X
    +- build.xml
- featureY
    +- build.xml
- featureY-struts
    +- build.xml
- ...

Thanks for your help!

ct



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to