Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Akira Tsuchiya
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 10, 2012

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

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 10, 2012
&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.

Akira Tsuchiya
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 10, 2012

Thank you. It worked.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events