kolorobot / spring-mvc-quickstart-archetype

The project is a Maven archetype for Spring MVC web application.
http://blog.codeleak.pl
1.05k stars 478 forks source link

Issue when doing mvn install through eclipse #102

Closed chaudharisuresh997 closed 7 years ago

chaudharisuresh997 commented 8 years ago

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-packaging/2.2/archetype-packaging-2.2.jar (8 KB at 2.1 KB/sec) [ERROR] The build could not read 1 project -> [Help 1] [ERROR]
[ERROR] The project com.github.spring-mvc-archetypes:spring-mvc-quickstart:1.0.0 (D:\SSuresh\POCs\spring-mvc-quickstart-archetype-master\spring-mvc-quickstart-archetype-master\pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin org.apache.maven.archetype:archetype-packaging:2.2 or one of its dependencies could not be resolved: Failure to find org.codehaus.plexus:plexus-utils:jar:1.1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2] [ERROR] Unknown packaging: maven-archetype @ line 7, column 16 [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\HP\Unified Functional Testing\bin\java_shared\classes";"C:\Program Files (x86)\HP\Unified Functional Testing\bin\java_shared\classes\jasmine.jar"

OussamaAouni commented 8 years ago

Hello, I'm having the same trouble , could you please help us ...

kolorobot commented 8 years ago

@chaudharisuresh997 @OussamaAouni I changed a bit how the archetype may be used. See README. It has also updated doc for IntelliJ and STS

Note: I must admit it wasn't that easy for STS as for IntelliJ, although I would expect this work fine. So any feedback and help appreciated here. Thanks!