maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Anderson <benander...@benanderson.us>
Subject reactor default goals?
Date Fri, 15 Oct 2004 12:32:58 GMT
Hi,
In my subprojects I've set the default goal in both project.xml and maven.xml
<project default="war:war"

which works fine when I run maven from that directory.  So, my first question is
- where should the default be declared - project.xml or maven.xml?

Now the more important problem.  I want my parent project to call all
subprojects' default goals.  I tried this by not specifying the goals
attribute:
  <goal name="buildMyStuff">
    <m:reactor basedir="${basedir}"
               includes="**/project.xml"
               ignoreFailures="false"/>
but this doesn't call any goals.  The reactor works, but the subprojects don't
"do" anything.  Any ideas?

Thanks,
Ben Anderson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message