- You have to install Atlassian Plugin SDK first (https://developer.atlassian.com/display/DOCS/Developing+with+the+Atlassian+Plugin+SDK).
- cd to the project folder
- run "atlas-run"
- run "atlas-package" to create jar
You should use JDK 1.6, not 1.7. Have no idea why it doesn't work with 1.7.
running specific standalone version of JIRA
JAVA_HOME=<path-to-JDK-1.6> atlas-run-standalone --product jira --version 4.4