aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Could not find artifact org.apache.maven.plugins:maven-war-plugin:pom:2.1.0 in central Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Could not find artifact org.apache.maven.plugins:maven-war-plugin:pom:2.1.0 in central" Watch "Could not find artifact org.apache.maven.plugins:maven-war-plugin:pom:2.1.0 in central" New topic
Author

Could not find artifact org.apache.maven.plugins:maven-war-plugin:pom:2.1.0 in central

Shivaprakash Shettihalli
Greenhorn

Joined: Nov 20, 2007
Posts: 18
I am getting following exception when tried to build my app with maven.
can someone help me.

[ERROR] Plugin org.apache.maven.plugins:maven-war-plugin:2.1.0 or one of its dependencies could not be resolved: Failed
to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.1.0: Could not find artifact org.apache
maven.plugins:maven-war-plugin:pom:2.1.0 in central (http://repo1.maven.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

That is because there is no 2.1.0 version. Check out http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/ to see what versions are available. So fix the plugin declaration to use the correct version (such as 2.1 or 2.1.1).


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not find artifact org.apache.maven.plugins:maven-war-plugin:pom:2.1.0 in central
 
Similar Threads
How use sonar for an existing project in eclipse ?
How to run OpenEJB Examples?
Maven settings: Need an explaination for Beginer MVN User.
ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources
Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3:install