Closed martinhampton closed 7 years ago
Let me look into this
All is good. The jar is not in the maven central repo. It is here: http://kolorobot.github.io/spring-mvc-quickstart-archetype
See the doc
Create a project
mvn archetype:generate \
-DarchetypeGroupId=pl.codeleak \
-DarchetypeArtifactId=spring-mvc-quickstart \
-DarchetypeVersion=1.0.0 \
-DgroupId=my.groupid \
-DartifactId=my-artifactId \
-Dversion=version \
-DarchetypeRepository=http://kolorobot.github.io/spring-mvc-quickstart-archetype
I just generated the project. All OK.
I don't use use IntelliJ for that, last time I checked this all was good.
Hi, Is there a problem with this jar missing?
http://repo.maven.apache.org/maven2/pl/codeleak/spring-mvc-quickstart/1.0.0/spring-mvc-quickstart-1.0.0.jar
I'm getting this in intellij
/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/bin/java "-Dmaven.home=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3" "-Dclassworlds.conf=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.4.jar" org.codehaus.classworlds.Launcher -Didea.version=2016.2.5 -DinteractiveMode=false -DgroupId=cot.t71 -DartifactId=1 -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=pl.codeleak -DarchetypeArtifactId=spring-mvc-quickstart -DarchetypeVersion=1.0.0 "-DarchetypeRepository=http://kolorobot.github.io/spring-mvc-quickstart-archetype " org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate [INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom >>> [INFO] [INFO] <<< maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom <<< [INFO] [INFO] --- maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Batch mode [INFO] Archetype defined by properties Downloading: http://kolorobot.github.io/spring-mvc-quickstart-archetype /pl/codeleak/spring-mvc-quickstart/1.0.0/spring-mvc-quickstart-1.0.0.jar Downloading: http://repo.maven.apache.org/maven2/pl/codeleak/spring-mvc-quickstart/1.0.0/spring-mvc-quickstart-1.0.0.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.875s [INFO] Finished at: Thu Nov 17 22:32:55 AEDT 2016 [INFO] Final Memory: 10M/123M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (pl.codeleak:spring-mvc-quickstart:1.0.0) -> [Help 1] [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/MojoFailureException [ERROR] Maven execution terminated abnormally (exit code 1)