Hi,

I looking for a way to set some common goals for each sub-project of a
multiproject environment.

I would like to do something like this

<project xmlns:j="jelly:core" xmlns:maven="jelly:maven">
        import ${directory_containing_the_common_goals}/common_goals.xml
</project>

I have tried to do this in several ways, with no luck. I have tried
using:

<xi:include href="${dir}/common_goals.xml "/> (xinclude standard from
w3c)
<import> from jelly

These are the goals that I'd like to have set for each sub-project.

    <preGoal name="build:start">
        <maven:makeRelativePath var="maven.scm.cvs.module"
path="${basedir}"
                                basedir="${reply.project.home}/.."
                                separator="/" />
    </preGoal>

    <goal name="sub_project:all">
        <attainGoal name="java:compile"/>
        <attainGoal name="${maven.multiproject.type}"/>
        <attainGoal name="${maven.multiproject.type}:install"/>
    </goal>

    <postGoal name="dist">
        <attainGoal name="${maven.multiproject.type}:install"/>
    </postGoal>

Thanks, Mario


This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the sender 
immediately and delete the original. Any other use of the email by you is prohibited.


°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Collegati a www.tim.it e puoi chiedere di ricevere gratis nella tua mailbox le 
Newsletter Web di TIM. Puoi scegliere tra diverse proposte: news riguardanti i.TIM, 
Last Minute, Abbonamenti, il Telefonino on line, Business, MilleunaTIM, Investor 
Relations. Il mondo TIM ti aspetta!
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°


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

Reply via email to