Maven -- > pom.xml error resolution
Problem 1. Could not calculate build plan: Plugin org.apache.maven.plugins:maven-jar-plugin:2.3.2 or one of its dependencies could not be resolved.
Soultion :-
1 . Just go to the path
C:\Users\<username>\.m2\repository\org\apache\maven\plugins2. Delete the plugin which is causing the issue .
3. In Eclipse clean and build your project again
4. choose Maven->Update Dependencies.
Problem 2 : Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled.
Solution :-
Rightclick on your project in eclipse and choose Maven->Update Dependencies
Choose Force update of snapshot release.
No comments:
Post a Comment