Hi,

I have the following maven.xml:
------------maven.xml------------
<project default="foobar-dist"
    xmlns:m="jelly:maven"
    xmlns:ant="jelly:ant"
    xmlns:j="jelly:core">

    <goal name="foobar-dist">
        <attainGoal name="war:war" />
        <preGoal name="war:webapp">
            <ant:echo>In the preGoal of war:init</ant:echo>
            <ant:available property="baseWebappSourceDir" type="dir"
file="${gold.base.webapp.dir}"/>
            <j:if test="${baseWebappSourceDir == 'true'}">
                <ant:copy todir="${maven.war.webapp.dir}">
                    <ant:fileset dir="${gold.base.webapp.dir}">
                    </ant:fileset>
                </ant:copy>
            </j:if>
        </preGoal>
    </goal>

</project>
------------End of maven.xml----------------

The preGoal is not being invoked (I don't see the ant:echo output). Can
someone please help.

Thanks,
--Venkat.

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

Reply via email to