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 Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,795 views 18 22
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