On Tue, 2003-01-14 at 12:17, Jason van Zyl wrote:
> On Tue, 2003-01-14 at 12:03, Chan, Charles wrote:
> > One more problem with reactor... I have a master project with two projects.
> > here are their maven.xml file:
> >
> > MASTER maven.xml:
> >
> > <project xmlns:m="jelly:maven">
> > <goal name="all">
> > <m:reactor basedir="${basedir}"
> > includes="*/project.xml"
> > goals="jar:install"
> > banner="Testing"
> > ignoreFailures="false"/>
> > </goal>
> > </project>
> >
> > SLAVE1 maven.xml:
> >
> > <project>
> > <goal name="jar:install">
> > <echo>SUB TEST 1</echo>
> > </goal>
> > </project>
> >
> > SLAVE2 does NOT have maven.xml.
> >
> > There is NO dependency between SLAVE1 and SLAVE2.
> >
> > When I invoke "maven all" in the master level, I get the following error:
> >
> > Starting the reactor ...
> > Our processing order:
> > Test Slave
> > Test Slave2
> > +----------------------------------------
> > | Testing Test Slave
> > +----------------------------------------
> > all:
> > jar:install:
> > [echo] SUB TEST 1
> > +----------------------------------------
> > | Testing Test Slave2
> > +----------------------------------------
> >
> > BUILD FAILED
> > Unknown goal "jar:install"
> > Total time: 2 seconds
>
> Well, you're asking for that goal to be run. I can probably add a check
> to make sure the goal exists but if you list those goals in the reactor
> tag I think it's reasonable to expect them to exist. This behaviour
> I expect.
>
Sorry, I forgot the goal is located in a plugin. I have reproduced and
will try to fix it.
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>