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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Stride

Get Started in Stride in 3 Easy Steps

Get started on Stride in 3 easy steps   If you’re new to Stride, welcome! We’re super excited to have you aboard. Stride is easy to use and set up, so don’t worry about reading tons of borin...

49 views 0 2
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