JIRA is an issue-tracking system developed by Atlassian. It is quite popular among many open source projects. One of the extension points in JIRA is its plugins. Here, we will see how to generate a skeleton JIRA plugin using jira-plugin-archetype
developed by Atlassian:
$ mvn archetype:generate -B -DarchetypeGroupId=com.atlassian.maven.archetypes -DarchetypeArtifactId=jira-plugin-archetype -DarchetypeVersion=3.0.6 -DgroupId=com.packt.samples -DartifactId=my-jira-plugin -Dpackage=com.packt.samples.jira -Dversion=1.0.0 -DarchetypeRepository= http://repo.jfrog.org/artifactory/libs-releases/
This command will produce the following project template:
my-jira-plugin |-pom.xml |-README |-LICENSE |-src/main/java/com/packt/samples/jira/MyPlugin.java |-src/main/resources/atlassian-plugin.xml |- src/test/java/com/packt/samples/jira/MyPluginTest.java |-src/test/java/it/MyPluginTest.java |-src/test/resources/TEST_RESOURCES_README |-src/test/xml/TEST_XML_RESOURCES_README
18.191.176.194