This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
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

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
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: 273
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: 16737

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.
I agree. Here's the link:
subject: maven: mvn clean ERROR