You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Manisha Sur <ma...@gmail.com> on 2006/02/16 11:54:33 UTC

attainGoal not getting called.

i have goals defined in the root's maven.xml:

--------------------------------------------------------------------------------------
<goal name="petstore:build" prereqs="petstore:clean">
    <j:set var="goal" value="petstore:build"/>
    <attainGoal name="multiproject:goal"/>
</goal>
<goal name="petstore:clean" prereqs="multiproject:clean,clean"/>
--------------------------------------------------------------------------------------

and the subprojects contains maven.xml as follows:

--------------------------------------------------------------------------------------
<project>
  <goal name="petstore:build" prereqs="ejb:install"/>
</project>
--------------------------------------------------------------------------------------


when i invoke 'maven' , 'petstore:build' being the default goal, on the root
, it does clean all the subprojects but twice.Moreover it doesn't execute
the petstore:build i.e. installs goal on the subprojects. Why is it so ?



--
Warm Regards
Manisha Sur