Fix for Mevenide 1 on Netbeans 6.* (not quite)

| No Comments | No TrackBacks
Netbeans 6 has great Maven 2 support. Unfortunately, my company is still using Maven 1, and there's no change in sight. There are mevenide builds for Netbeans 6 available, but the plugin has trouble finding MAVEN_HOME, at least on Windows.

I scoured Jira, and found a fix. Assuming that you have already downloaded and installed the correct version of mevenide,  add the following entry to the netbeans_default_options variable in netbeans.conf: -J-DEnv-MAVEN_HOME=\"YourPathToMavenHome\". That's it!

Well, not quite. Adding this line fixes some of the problems, but the plugin itself it still very flawed on NB6.*, so much so that I am back to using NetBeans 5.5 for all of my development work. I can get the project to build, but that is about it. Here's a list of things I haven't figured out how to fix yet...

  1. NetBeans uses the JDK it is running on for code completion and error checking. So, if your project uses JDK 1.5, but your IDE is running on JDK 1.6, expect 1.6 level code completion and error checking.
  2. NetBeans is unable to resolve dependencies upon other maven projects. So, if project A depends upon project B, and both of them are in my workspace, NetBeans will draw red lines all over your code.
This is a real bummer because NetBeans 6 is a great IDE, and I'd love to use it as my every day IDE. Without Maven 1 support, it's a non starter.

No TrackBacks

TrackBack URL: http://www.coffeejolts.com/cgi-bin/mt4/mt-tb.cgi/86

Leave a comment

About this Entry

This page contains a single entry by Coffeejolts published on May 2, 2008 3:25 PM.

GPS died- and then came back to life! was the previous entry in this blog.

Trunk install is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.31-en