adam bien's blog

Netbeans 6.7 Beta + Maven = Heaven (more than promising) 📎

I had problems with Netbeans 6.7 dev build, especially in the refactoring area, so I sticked with 6.5.1 and ignored the 6.7 stream completely. I started to use 6.7beta again. Some observations:

  1. L&F on Mac is really nice.
  2. "View -> Synchronize Editor Views" synchronizes the tabs with the project-tree (like in Eclipse) 
  3. Maven support is very promising:
    1. The performance is comparable with Ant projects
    2. Java EE support is (almost) as complete as in Ant (= Netbeans <= 6.5.1)
    3. You can create a Java EE project with a wizard which is comprised of several modules and deploy it with "run". (a multi-module project)
    4. Profiling and debugging work as expected
    5. The visualization of dependencies is not only useful - but it looks really nice
    6. You can open existing Maven projects, build them and deploy them on a Java EE server (I tested it with GV 2.1)
    7. There is no dependency on Netbeans (except a property in POM)
    8. The maven repository browser works and is useful
    9. "Compile on save" with Maven works and is even configurable
    10. Maven is able to start your server and deploy your app - its seemlessly integrated
  4. Kenai integration is really good.
  5. Had only briefly tested the hudson integration - but it worked so far.

What can be improved:

  1. Refactoring between maven-modules doesn't always work. E.g. I tried to rename an EJB 3 and the change was not recognized in WAR. In other cases it worked perfectly.
  2. The add-dependency wizard doesn't always work (but the code-completion in POM is even more useful and faster)
  3. NPE are occuring from time to time - but they seem not to be harmful.

 Summary: if you are using Maven, you have to try Netbeans 6.7. If you aren't using Maven but Java EE you should at least try it :-).