I normally use the -o option (maven -o clean-all) and ignoreFailures="true" within the goal.
It is a workaround, but it works fine. Bye -----Messaggio originale----- Da: Carlos Sanchez [mailto:[EMAIL PROTECTED] Inviato: domenica 11 luglio 2004 20.34 A: 'Maven Users List' Oggetto: RE: Reactor: continuing a goal despite unresolved dependencies Hi, Check in JIRA, I think it's a known issue that multiproject:clean requires all dependencies. Carlos Sanchez A Coru�a, Spain Oness Project http://oness.sourceforge.net > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of > Omair-Inam Abdul-Matin > Sent: Sunday, July 11, 2004 5:56 PM > To: [EMAIL PROTECTED] > Subject: Reactor: continuing a goal despite unresolved dependencies > > I have a multi-project stindex consisting of two subprojects, > stindex/stindex and stindex/storagemanager stindex depends on > storagemanager > > Now I have a clean-all goal as follows: > > <project > xmlns:m="jelly:maven" > xmlns:j="jelly:core"> > <goal name="clean-all"> > <m:reactor > basedir="${basedir}/.." > includes="*/project.xml" > excludes="stindex-build/project.xml" > goals="clean" > banner="Cleaning" > ignoreFailures="false" > /> > > </goal> > > ... > > </project> > > If I run clean-all with the storagemanager jar not in the > repository then maven fails: > > C:\eclipse\workspace\stindex-new\stindex-build>maven clean-all > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-rc4 > > Starting the reactor... > Our processing order: > A storagemanager library > A cool spatio-temporal index library > +---------------------------------------- > | Cleaning A storagemanager library > | Memory: 2M/3M > +---------------------------------------- > build:start: > > clean-all: > build:start: > > clean:clean: > [delete] Deleting directory > C:\eclipse\workspace\stindex-new\storagemanager\target > +---------------------------------------- > | Cleaning A cool spatio-temporal index library > | Memory: 3M/4M > +---------------------------------------- > Attempting to download storagemanager-0.1-b4.jar. > WARNING: Failed to download storagemanager-0.1-b4.jar. > BUILD SUCCESSFUL > Total time: 4 seconds > Finished at: Sun Jul 11 11:51:28 EDT 2004 > > > I'd like in this case to be able to either: > > 1. clean the project dirs even though the storagemanager jar > does not exist (since in this case stindex doesn't *really* > depend on storagemanager) 2. if that's not possible then to > have reactor build and install the storagemanager jar when it > finds that the jar does not exist then clean out the stindex project. > > Is that possible? > > Omair > > > --------------------------------------------------------------------- > 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] This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. ���������������������������������������������������������������������������� su www.tim.it - Clienti Privati -, puoi vedere ed acquistare l'offerta LAST MINUTE di TIM. ���������������������������������������������������������������������������� --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
