Ian,
What you are doing here is overriding java:compile with this reactor definition, so the previous java:compile no longer exists.
I'm guessing the default goal is something like "jar" which runs java:compile, which runs this reactor, which runs the default goal which runs java:compile.... you get the picture :)
You need to call your goal name something else, and possibly specify the goal you want to run.
If all you want is to build multiple projects, you might consider the "multiproject" plugin.
Cheers, Brett
Ian Neruda wrote:
Am I doing something wrong?Yup. The reactor includes itsef in the build, which
casuses infiniter recursion. Try adding the following attribute.
excludes="project.xml"
hope this helps
R.
I don't have project.xml in folder projects, so I
don't have anything to exclude. Anyway I put excludes in reactor and it didn't work:
<goal name="java:compile"> <maven:reactor basedir="${basedir}" includes="*/project.xml" excludes="project.xml" banner="Building" ignoreFailures="false" /> </goal>
This is structure: -Maven -projects -maven.xml -Project1 - project.xml -Project2 - project.xml
Ian
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
