I experienced something similar (and I sent out an e-mail last week about this.) I defined my own goal in the POM and the reactor is unable to attain my custom goal. The goal was defined in the root maven.xml file.
Basically you can't reference your own goals using the reactor. -- Steve > -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 28, 2003 10:46 PM > To: 'Maven Users List' > Subject: RE: unknown goal - reactor problem > > > And this is on maven beta-10? Sounds like a bug, but I don't > think I've seen it before. > > - Brett > > > -----Original Message----- > > From: Nathan Coast [mailto:[EMAIL PROTECTED] > > Sent: Monday, 29 September 2003 3:45 PM > > To: Maven Users List > > Subject: Re: unknown goal - reactor problem > > > > > > > Ok, so where have you defined it then? Is it in a place > > where you can > > > expect all of the subprojects to find it? > > > > I have deployed the plugin using plugin:install > > > > Does it work when you run from inside the > > > subproject instead of via the reactor? > > > > yes > > > > > > > > - Brett > > > > > > > > >>-----Original Message----- > > >>From: Nathan Coast [mailto:[EMAIL PROTECTED] > > >>Sent: Monday, 29 September 2003 3:34 PM > > >>To: Maven Users List > > >>Subject: Re: unknown goal - reactor problem > > >> > > >> > > >>one of mine - see below. The goal in question is pretty much an > > >>exact copy of the test:test junit invoking code but with > different > > >>paths set. > > >> > > >>The goal works fine when executed on a specific > subproject but fails > > >>when invoked on the same project via the reactor. > > >> > > >> > > >> <goal name="junitejb:init"> > > >> > > >> <available > > >> property="junitejbSourcesPresent" > > >> file="${maven.junitejb.src}" > > >> /> > > >> </goal> > > >> > > >> <goal name="junitejb:test" > > >> description="execute junitejb tests" > > >> prereqs="junitejb:init"> > > >> > > >> <j:if test="${junitejbSourcesPresent}"> > > >> > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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]
