Dependencies for the below classes

Hi All,

I am working on to write Junit tests.

How to get those jar files?

ProjectManager.java

TemplateRenderer.java

LoginUriProvider.java

 UserManager.java

SearchService.java

 

Pom.xml

 

<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>

 

bhaskara10@gmail.com

1 answer

Without the packages it is difficult to say what you are looking for, but some of those are available in jira-api, others come from the SAL API and the template renderer API:

&lt;dependency&gt;
			&lt;groupId&gt;com.atlassian.sal&lt;/groupId&gt;
			&lt;artifactId&gt;sal-api&lt;/artifactId&gt;
			&lt;version&gt;${sal.api.version}&lt;/version&gt;
			&lt;scope&gt;provided&lt;/scope&gt;
		&lt;/dependency&gt;
		&lt;dependency&gt;
			&lt;groupId&gt;com.atlassian.templaterenderer&lt;/groupId&gt;
			&lt;artifactId&gt;atlassian-template-renderer-api&lt;/artifactId&gt;
			&lt;version&gt;${atlassian.templaterenderer.version}&lt;/version&gt;
			&lt;scope&gt;provided&lt;/scope&gt;
		&lt;/dependency&gt;

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

169 views 4 1
Join discussion

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