Debugging Maven tasks...

Hi.

I have a maven project setup.  I can load a project and run maven tasks no problem (once I configured maven.home in the prefs).  When I try debug the same tasks I get the "... M2_HOME is not configured ..." error and I can't debug.  There's hardly another special setting for debugging?

My env:

  1. IntelliJ v 9.0.1 (#IC - 93.94)
  2. Java 1.6
  3. OS X 10.6


Regards,

T.

3 comments
Comment actions Permalink

Oops... forgot to mention the maven runtime version... 2.1.0.

0
Comment actions Permalink

You need to add in your  Environment variables the M2_HOME with the  path of maven but I don't how do to that on OSX

Duto

0
Comment actions Permalink

You should set your variables in the environment.plist file; check http://developer.apple.com/mac/library/qa/qa2001/qa1067.html fore details.

0

Please sign in to leave a comment.