How to describe dependency in pom .xml for JIRA plugin development

I want to download necessary jar files for development of JIRA plugins.

I created a Maven project and added dependency below in pom.xml and then atlas-mvn eclipse:add-maven-repo -Declipse.workspace=compile.


<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>atlassian-jira-core</artifactId>
<version>5.1.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>atlassian-jira-web</artifactId>
<version>5.1.4</version>
<scope>test</scope>
</dependency>

I want to know dependency property values for artifactId.

1 answer

1 accepted

0 votes
Accepted answer
&lt;dependency&gt;
      		&lt;groupId&gt;com.atlassian.jira&lt;/groupId&gt;
      		&lt;artifactId&gt;jira-api&lt;/artifactId&gt;
      		&lt;version&gt;${jira.version}&lt;/version&gt;
      		&lt;scope&gt;provided&lt;/scope&gt;
    	&lt;/dependency&gt;      	
    	&lt;!--&lt;dependency&gt;
      		&lt;groupId&gt;com.atlassian.jira&lt;/groupId&gt;
      		&lt;artifactId&gt;jira-core&lt;/artifactId&gt;
      		&lt;version&gt;${jira.version}&lt;/version&gt;
      		&lt;scope&gt;provided&lt;/scope&gt;
    	&lt;/dependency&gt;  --&gt;

For a starting, this will do. jira-core should not be used unless necessary and hence it is copmmented out.

Thank you. It worked.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

77 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you