java - convert dynamic web project to maven project -
i try create dynamic web project in eclipse , convert project maven project. project has structure
src\main\java src\main\resources src\main\webapp src\main\test
when right click on project > configure > convert maven project, error message :
errors occurred during build. errors running builder 'maven project builder' on project 'gestion'. not calculate build plan: plugin org.apache.maven.plugins:maven-war-plugin:2.3 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-war-plugin:jar:2.3 plugin org.apache.maven.plugins:maven-war-plugin:2.3 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-war-plugin:jar:2.3 not calculate build plan: plugin org.apache.maven.plugins:maven-war-plugin:2.3 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-war-plugin:jar:2.3 plugin org.apache.maven.plugins:maven-war-plugin:2.3 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-war-plugin:jar:2.3
i had similar issue went http://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin/2.5
, downloaded maven-resources-plugin-2.5.jar , maven-resources-plugin-2.5.pom
. copied directly maven repository correct folder ( ~/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.5)
, tried maven clean , install woked me.
Comments
Post a Comment