Hi,

I have a scenario with one maven goal calling another maven goal in a
different directory.

parent maven.xml looks like this.

<goal name="test">
    <j:set var="param1" value="value1"/>

    <!-- call the other goal -->
    <m:maven descriptor="inner/project.xml" goals="test-inner"
        ignoreFailures="false"/>
</goal>

The inner/maven.xml looks like,

<goal name="test-inner">
    <echo>In Inner param1 = '${param1}'</echo>
</goal>

I cannot get maven to pass the variable 'param1' into the sub-project.

How do i do this?

Thanks,
Vinay


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

Reply via email to