You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yo...@gd-ais.com on 2003/09/10 23:48:56 UTC

Why does Maven attempt to download JAR dependencies when running clean?

I'm running Reactor on 4 projects.  Two of the projects depend on one of the projects and one of the projects depends on another one of the projects.  The first project depends on none of them.  The build works perfect.  It really impressed me.

So then I wanted to see if I could perform the whole build without dropping each JAR into the repository first.  So I added <jar:install> to the maven.xml in each project and made sure that reactor installed each JAR after each build.  Then I went into my local repository and deleted those JARs.

Then I also wanted to clean out the builds, so I ran maven clean-all.  This is what I got:


 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10

Starting the reactor...
Our processing order:
projectA
projectD
projectC
projectB
+----------------------------------------
| Cleaning projectA
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Cleaning projectD
| Memory: 5M/6M
+----------------------------------------
+----------------------------------------
| Cleaning projectC
| Memory: 6M/10M
+----------------------------------------
Attempting to download projectD-1.1.jar.
................................................................................
.........................................................................
Vis:clean-all:
clean:clean:

clean:

clean:clean:

clean:

clean:clean:
    [delete] Deleting directory C:\eclipse\workspace\projects\projectC\target
+----------------------------------------
| Cleaning projectB
| Memory: 6M/10M
+----------------------------------------
Attempting to download projectC-1.1.jar.
...

clean:

clean:clean:
    [delete] Deleting directory C:\eclipse\workspace\projects\projectB\target
BUILD SUCCESSFUL
Total time:  4 seconds



So my question is, why is Maven trying to download these dependencies when I'm just trying to clean out the builds?  TIA

Yoway Buorn
Software Engineer
Imagery Systems Engineering

GENERAL DYNAMICS
Advanced Information Systems

112 Lakeview Canyon Road
Thousand Oaks, CA 91362-5027
Tel 805 497 5074
Fax 805 497 5050
yoway.buorn@gd-ais.com

So one day these two muffins were baking in an oven.  One muffin turned to the other muffin and said, "Boy it sure is hot in here."  The other muffin turned to the first muffin and said, "Holy crap!  A talking muffin!" 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org