accessing JIRA 4.2.1 issues through Java/Eclipse

Venkatesh Bn June 5, 2012

I have gone through the below tutorial for creating issues using JIRa 5.0.

But i am using JIRA 4.2.1 along with sdk 3.2.3.

I am not able to execute the atlas-create-jira-plugin-module to create a servlet.

however i have created manually, but some of the imports such as

import com.atlassian.sal.api.user.UserManager;

import com.atlassian.templaterenderer.TemplateRenderer;

import com.atlassian.crowd.embedded.api.User;

are throwing build error.

can any one give me help me with link/tutorials to create issues using JIRA 4.2.1?

3 answers

1 accepted

0 votes
Answer accepted
Venkatesh Bn June 6, 2012

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '2efccae4e6
fcfefcb82c0bf500dd5d3debab5676'; remote = '<!DOCTYPE' - RETRYING
Downloading: http://www.laughingpanda.org/maven2/org/twdata/maven/maven-cli-plug
in-parent/0.6.9/maven-cli-plugin-parent-0.6.9.pom
1K downloaded (maven-cli-plugin-parent-0.6.9.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '2efccae4e6
fcfefcb82c0bf500dd5d3debab5676'; remote = '<!DOCTYPE' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Verhás István
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.
June 6, 2012

It seems to a broken checksum calculation of org.twdata.maven:maven-cli-plugin-parent:0.6.9:pom at the server side. Try to use another repository server e.g. maven central.

0 votes
Verhás István
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.
June 5, 2012

What was the output of the failed atlas-cli? It is only the dependency part of the pom, isnt it?

0 votes
Verhás István
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.
June 5, 2012

Always use the latest SDK (actually 3.10.4). The version of the SDK is independent of the version of the target product. You should provide the Jira version in the pom and the sdk takes it into account. In this way the above mentioned tutorial should work well.

Venkatesh Bn June 5, 2012

I have installed sdk 3.10.4 and the JIRA version i am using is 4.2

Please find the pom.xml

<dependencies>

<dependency>

<groupId>com.atlassian.jira</groupId>

<artifactId>atlassian-jira</artifactId>

<version>4.2</version>

<scope>provided</scope>

</dependency>

<dependency>

<groupId>junit</groupId>

<artifactId>junit</artifactId>

<version>4.6</version>

<scope>test</scope>

</dependency>

<dependency>

<groupId>com.atlassian.jira</groupId>

<artifactId>jira-func-tests</artifactId>

<version>4.2</version>

<scope>test</scope>

</dependency>

</dependencies>

However, i have ran the atlas-cli, which got failed.

How to overcome this problem, are i am missing anything?

Suggest an answer

Log in or Sign up to answer