Setting up JIRA plugin project in NetBeans IDE
Next CodeGeist competetition is most likely just around the corner so now it is good time to sharpen your axes and setup your coding equipment. It’s pretty clear that developers at Atlassian are using IntelliJ IDEA as they have pretty complete documentation how to build plugins with it. I also love IDEA but I also have strong feelings towards NetBeans IDE.
This is a tutorial how you can setup a new project in NetBeans IDE to start developing outstanding plugins for JIRA, the issue management software.
Read ahead if you want to know more…
1. Obviously you start up by downloading the IDE, you can do so by visiting the site www.netbeans.org. You can probably figure out how to install the actual IDE so I don’t go any deeper on that subject.
2. Install Maven and Maven plugin for NetBeans. Maven can be downloaded from http://maven.apache.org. Maven plugin is installed from NetBeans menu:
Tools > Plugins > Available Plugins > Maven > Install
Next version of NetBeans (7.x) will have Maven support out-of-the-box so you don’t need to install any plugins in the future.
3. Create a new project template by calling the Maven from command line:
mvn archetype:create \
-DarchetypeGroupId=com.atlassian.maven.archetypes \
-DarchetypeArtifactId=jira-plugin-archetype \
-DarchetypeVersion=15 \
-DremoteRepositories=https://maven.atlassian.com/repository/public/ \
-DgroupId=MY_PACKAGE -DartifactId=MY_PLUGIN
Where you can replace MY_PACKAGE and MY_PLUGIN with your own.
4. Done! If all goes well you should have a new folder which you can open up in your NetBeans just by clicking the Open Project button.

5. When you hit the Build button you will get a nice plugin jar file in the target folder.
If you have any trouble creating the project template please refer to Atlassian Developer Network pages. You can find tons of great material from there that helps you building smashing plugins.
See you in the next CodeGeist :P