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
Author

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
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assemb
ly-plugin/2.0.1/maven-assembly-plugin-2.0.1.pom
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[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)


Thanks,
Guru
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
    
  19

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