Could not find artifact org.apache.maven.plugins:maven-war-plugin:pom:2.1.0 in central
posted 4 years ago
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] 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] 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