jQuery in Action, 3rd edition
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: 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
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assemb
[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 (http://repo1.maven.org/maven2)

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: 17417

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

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link: http://aspose.com/file-tools
subject: maven: mvn clean ERROR
It's not a secret anymore!