You've got the top level project included in the set of directories that multiproject is processing.
This is not supported ATM. See the docs for maven.multiproject.includes on http://maven.apache.org/reference/plugins/multiproject/properties.html -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Brent Hale <[EMAIL PROTECTED]> wrote on 05/08/2003 03:49:48 AM: > Hi, > > I'm stumped. I have a multiproject directory struture that builds each > of the subprojects just fine but is unable to clean them. Here is my > output: > > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10 > > clean:clean: > > clean: > [echo] newcvs's maven.xml file. > Starting the reactor... > Our processing order: > Eve-Commons > Client-Commons > Client > Eve > Eve-dist > +---------------------------------------- > | Cleaning Subprojects: Eve-Commons > | Memory: 3M/3M > +---------------------------------------- > +---------------------------------------- > | Cleaning Subprojects: Client-Commons > | Memory: 3M/5M > +---------------------------------------- > +---------------------------------------- > | Cleaning Subprojects: Client > | Memory: 3M/5M > +---------------------------------------- > +---------------------------------------- > | Cleaning Subprojects: Eve > | Memory: 3M/5M > +---------------------------------------- > > BUILD FAILED > File...... file:/C:/dev/newcvs/eve/ > Element... maven:reactor > Line...... 69 > Column.... 11 > Unknown goal "clean:clean" > Total time: 3 seconds > ********************************************************** > > My top-level maven.xml has the following postgoal to it: > > <postGoal name="clean"> > <echo message="eve's postGoal clean being called."/> > > <property name="goal" value="clean"/> > <attainGoal name="multiproject:goal"/> > </postGoal> > > Whether I use multiproject (as above) or call the reactor explicitly I > get the same result. My subproject contains no goals related to clean. > > Any ideas? > Brent > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
