aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes maven: mvn clean ERROR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "maven: mvn clean ERROR" Watch "maven: mvn clean ERROR" New topic

maven: mvn clean ERROR

Gurumurthy Ramamurthy
Ranch Hand

Joined: Feb 13, 2003
Posts: 272
When I give the command:
mvn clean I got the following error. What could be wrong?

[INFO] Ignoring available plugin update: 2.1 as it requires Maven version 2.0.4
[INFO] -------------------------------------------------------------------------
[INFO] -------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.apache.maven.plugins:maven-assembly-plugin

Reason: Error getting POM for 'org.apache.maven.plugins:maven-assembly-plugin' f
rom the repository: Error transferring file
org.apache.maven.plugins:maven-assembly-plugin:2.0.1 om

from the specified remote repositories:
central (

Rajah Nagur
Ranch Hand

Joined: Nov 06, 2002
Posts: 239
Enable stacktraces i.e. execute this --> mvn clean:clean -e
You should be able to see the exact error

You can't wake a person who is <b><i>pretending</i></b> to be asleep.<br />Like what <b>"it"</b> does not like - <i> Gurdjieff </i>
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16012

Check the POM DTD URL. I think you've got a POM defined for the wrong version of Maven.

Customer surveys are for companies who didn't pay proper attention to begin with.
It is sorta covered in the JavaRanch Style Guide.
subject: maven: mvn clean ERROR