Dion Gillard wrote:

AFAIK, the reactor (which multiproject uses), verifies projects before
calling goals on them.

This means, yes, you'll need all the dependent jars in the repo before
doing a multiproject:clean



IMHO it shouldn't do it, at least for the the artifacts of the projects included in the multiproject clean.


Milos


On Mon, 09 Aug 2004 15:33:41 +0200, Milos Kleint <[EMAIL PROTECTED]> wrote:


and what about the scenario when I do a multiproject clean the a
multiproject build which however failt mid-way.. a subsequent
multiproject clean failt, because it cannot resolve all dependencies..
is there a way out? it seems liuke one can only do a clean build after
successfully building the multiproject..

Milos




Dion Gillard wrote:



You typically need to do a multiproject:install or
multiproject:install-snapshot before using any other goals.

This places the dependent jars in the local repo.

On Mon, 9 Aug 2004 10:24:04 -0300, Roberto Castro <[EMAIL PROTECTED]> wrote:




Hi, when I run "Multiproject:clean" in my master project, it tries to find a jar file 
that was not created yet.
I use an argument passed to Maven (mm_domain) to create the name of jar file.
Is there a bug in Multiproject:clean? I've looked up in faq but I didn't find anything 
about this error.
Here is log:
+----------------------------------------
| Executing clean:clean MM - SPBDns
| Memory: 3M/6M
+----------------------------------------
Verifying dependencies for MM:spbdns
Getting failed dependencies: [EMAIL PROTECTED]
Attempting to download spbmessage-cetip-snapshot.jar.
Getting URL: http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-snapshot.jar
Received status code: 404
File not found on one of the repos
java.io.FileNotFoundException: 
http://laranjeiras:8080/maven/MM/jars/spbmessage-cetip-snapshot.jar
      at org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:547)
      at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381)
      at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287)
      at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181)
      at 
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:326)
      at 
org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:255)
      at 
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:171)
      at 
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:97)
      at org.apache.maven.project.Project.verifyDependencies(Project.java:1365)
      at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510)
      at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
      at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:342)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      at com.werken.werkz.Goal.fire(Goal.java:639)
      at com.werken.werkz.Goal.attain(Goal.java:575)
      at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      at com.werken.werkz.Goal.fire(Goal.java:639)
      at com.werken.werkz.Goal.attain(Goal.java:575)
      at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      at com.werken.werkz.Goal.fire(Goal.java:639)
      at com.werken.werkz.Goal.attain(Goal.java:575)
      at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
      at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
      at org.apache.maven.cli.App.doMain(App.java:486)
      at org.apache.maven.cli.App.main(App.java:1215)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.werken.forehead.Forehead.run(Forehead.java:551)
      at com.werken.forehead.Forehead.main(Forehead.java:581)
WARNING: Failed to download spbmessage-cetip-snapshot.jar.
Root cause
Final Memory: 3M/6M
Total time: 32 seconds
Finished at: Mon Aug 09 12:57:57 GMT 2004

      Thanks in advance,

   Roberto de Castro
   Analista de Suporte
   Cetip - Desus Rio de Janeiro
   +55 21 2276-7439
   mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
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]










---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to