> -----Original Message----- > From: Jens Zastrow [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 02, 2004 3:43 PM > To: Maven Users List > Subject: multiproject and clean:clean > > > I have 2 subprojects > > > > A, B > > > > B depends on A (has a dependency) > > > > If i invoke multiproject:clean i get the error that project > A.jar cannot be dowloaded. > > This might be correct for a normal build but for a simple clean not. > > > > How can I disable the dependency-check during "multiproject:clean". > You cannot. Maven checks if all dependencies are satisfied before lettting you to execute any goal. You might call it a bug or feature..
What you can try is: maven multiproject:goal -Dgoal=clean,jar:install (not 100% sure about the syntax) Michal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]