Apparently maven clean is a lot more than rm -rf target/.

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - foo:foo:jar:1.0.37
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar
       
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
      
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/maven-profile/2.0/maven-profile-2.0.pom
1K downloaded  (maven-profile-2.0.pom)
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/maven-model/2.0/maven-model-2.0.pom
2K downloaded  (maven-model-2.0.pom)
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.pom
1K downloaded  (maven-artifact-manager-2.0.pom)
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.pom
1K downloaded  (maven-repository-metadata-2.0.pom)
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom
4K downloaded  (wagon-provider-api-1.0-alpha-5.pom)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2/file-management-1.2.pom
      
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom
      
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom
3K downloaded  (maven-shared-io-1.1.pom)
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/maven-artifact/2.0.2/maven-artifact-2.0.2.pom
765b downloaded  (maven-artifact-2.0.2.pom)
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/maven/2.0.2/maven-2.0.2.pom
12K downloaded  (maven-2.0.2.pom)
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.pom
1K downloaded  (maven-artifact-manager-2.0.2.pom)
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom
588b downloaded  (wagon-provider-api-1.0-alpha-6.pom)
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom
6K downloaded  (wagon-1.0-alpha-6.pom)
Downloading: http://www.ibiblio.org/maven2//org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom
2K downloaded  (plexus-utils-1.4.6.pom)
Downloading: http://www.ibiblio.org/maven2//org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.pom
1K downloaded  (plexus-container-default-1.0-alpha-9.pom)
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom
     
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2/file-management-1.2.jar
        
       
Downloading: http://www.ibiblio.org/maven2//org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
38K downloaded  (maven-shared-io-1.1.jar)
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /home/joedeveloper/dev/foo/target
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Mon Oct 04 13:24:00 EDT 2010
[INFO] Final Memory: 8M/76M
[INFO] ------------------------------------------------------------------------

One thought on “Is all this really necessary?

  1. I love how you need to download something (a lot of somethings) to do a clean. Even better when maven’s repos screw up and it won’t download the plugins correctly.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s