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

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -