maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Portabella <david.portabe...@gmail.com>
Subject debug "mvn clean install" from IntelliJ
Date Wed, 24 Apr 2013 15:37:26 GMT
I am trying to debug maven from my IDE (IntelliJ).

To do so, I run from IntelliJ with this configuration:

Main class: org.codehaus.plexus.classworlds.launcher.Launcher
VM options:
-Dclassworlds.conf=/Users/david/nespresso/david/code_analysis/maven/apache-maven-3.0.5/apache-maven/src/bin/m2.conf
-Dmaven.home=/Users/david/nespresso/david/code_analysis/maven/apache-maven-3.0.5/apache-maven/src/
Program arguments: clean install
Working directory: /test/my_example_maven_project

---
but I get the following:

[ERROR] Error executing Maven.
[ERROR] java.util.NoSuchElementException
      role: org.apache.maven.eventspy.internal.EventSpyDispatcher
  roleHint:
[ERROR] Caused by: null


---
What am I missing?
How can I run/debug a "mvn clean install" from IntelliJ?


Regards,
David


---
David Portabella - Senior IT Architect
AlmaZ Informatique SA - www.almazsa.com
david.portabella@almazsa.com
+41 78 802 6411

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message