Implementing the NetBeans Project API on Maven in IntelliJ IDEA

James McGivern, one of the speakers I met at JAX London, is creating media software on the NetBeans Platform. However, he's using Maven and IntelliJ IDEA and one of the features he needs is project support, i.e., the project infrastructure that's part of NetBeans IDE.

The two documents that describe the NetBeans Project API are these:

By combining the above two, you'll understand how to create a project infrastructure on top of the NetBeans Platform with Maven. However, an additional step of complexity is added when IntelliJ IDEA is included into the mix and therefore I created the following screencast which, in 15 minutes, puts all the pieces together.

Be aware that I'm probably not using IntelliJ IDEA and Maven as optimally as I could and I'm publishing this at least partly so that the errors of my ways can be pointed out to me. But, first and foremost, this is especially for you James: 

Note: Intentionally no sound, only callouts explaining what I'm doing. You'll probably need to pause the movie here and there to absorb the text; for details on the text, see the two links referred to above.


Wow, I'm speachless; a personalised tutorial! Thank you! I think I've spotted a couple of things I'm definately doing wrong - like the IDE dependencies and not using the nbm archetype enough. I'm not sure why you get the maven errors but I'll see if I can find out when I do the tutorial myself. Thanks again, I'll let you know how I get on.

Posted by James on October 20, 2012 at 04:03 PM PDT #

Great to hear! Looking forward to your findings, maybe blog about them in your own blog somewhere yourself?

Posted by Geertjan on October 22, 2012 at 12:48 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« June 2016