-
Notifications
You must be signed in to change notification settings - Fork 53.9k
Closed
Description
(I am new to Java)
I am trying to get cargo:run to work on IntellJ on OS X 10.11.5
I am configuring via checking out via git and having maven auto-detected.
IntelliJ IDEA 2016.2
Build #IU-162.1121.32, built on July 9, 2016
Licensed to IntelliJ IDEA Evaluator
Expiration date: August 15, 2016
JRE: 1.8.0_76-release-b216 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
The mvn install task works fine:


8< snip >8
[INFO]
[INFO] --- maven-war-plugin:2.5:war (default-war) @ um-webapp ---
[INFO] Packaging webapp
[INFO] Assembling webapp [um-webapp] in [/Users/me/work/java/spring-hiberate4/um-webapp/target/um-webapp]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/me/work/java/spring-hiberate4/um-webapp/src/main/webapp]
[INFO] Webapp assembled in [367 msecs]
[INFO] Building war: /Users/me/work/java/spring-hiberate4/um-webapp/target/um-webapp.war
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ um-webapp ---
[INFO] Installing /Users/me/work/java/spring-hiberate4/um-webapp/target/um-webapp.war to /Users/me/.m2/repository/org/baeldung/um-webapp/1.0.1-SNAPSHOT/um-webapp-1.0.1-SNAPSHOT.war
[INFO] Installing /Users/me/work/java/spring-hiberate4/um-webapp/pom.xml to /Users/me/.m2/repository/org/baeldung/um-webapp/1.0.1-SNAPSHOT/um-webapp-1.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] user-management-parent ............................ SUCCESS [0.202s]
[INFO] common ............................................ SUCCESS [1.688s]
[INFO] common-client ..................................... SUCCESS [0.236s]
[INFO] common-test ....................................... SUCCESS [0.049s]
[INFO] um-client ......................................... SUCCESS [0.064s]
[INFO] um-webapp ......................................... SUCCESS [3.136s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.594s
[INFO] Finished at: Sat Jul 16 17:40:30 CDT 2016
[INFO] Final Memory: 22M/395M
[INFO] ------------------------------------------------------------------------
Process finished with exit code 0
/Library/Java/JavaVirtualMachines/jdk1.8.0_92.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" -Didea.launcher.port=7532 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.4.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.2 cargo:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] user-management-parent
[INFO] common
[INFO] common-client
[INFO] common-test
[INFO] um-client
[INFO] um-webapp
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/mortbay/cargo/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/mortbay/jetty/maven-metadata.xml
Downloaded: http://repo.maven.apache.org/maven2/org/mortbay/jetty/maven-metadata.xml (711 B at 1.3 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 23.8 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 37.0 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] user-management-parent ............................ SKIPPED
[INFO] common ............................................ SKIPPED
[INFO] common-client ..................................... SKIPPED
[INFO] common-test ....................................... SKIPPED
[INFO] um-client ......................................... SKIPPED
[INFO] um-webapp ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.344s
[INFO] Finished at: Sat Jul 16 17:36:37 CDT 2016
[INFO] Final Memory: 15M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'cargo' in the current project and in the plugin groups [org.mortbay.jetty, org.mortbay.cargo, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/me/.m2/repository), central (http://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException
Process finished with exit code 1
Am I overlooking a configuration step?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels


