Cannot create Skeleton

srinivasp
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.
December 13, 2011

I executed the command "atlas-create-jira-plugin" and so got struck with below error. Kindly advise.

31K downloaded (maven-plugin-testing-harness-1.1.jar)
Downloading: https://m2proxy.atlassian.com/repository/public/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar
32K downloaded (maven-filtering-1.0-beta-2.jar)
483K downloaded (jersey-server-1.0.3.jar)
Downloading: https://m2proxy.atlassian.com/repository/public/com/sun/jersey/jersey-json/1.0.3-atlassian-1/jersey-json-1.0.3-atlassian-1.jar
109K downloaded (jersey-json-1.0.3-atlassian-1.jar)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.sun:tools:jar:1.5.0

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.7.2
2) org.jfrog.maven.annomojo:maven-plugin-tools-anno:jar:1.3.3
3) com.sun:tools:jar:1.5.0

----------
1 required artifact is missing.

for artifact:
com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.7.2

from the specified remote repositories:
atlassian-plugin-sdk (file://C:\atlassian-plugin-sdk-3.7.2/repository),
central (http://repo1.maven.org/maven2),
atlassian-public (https://m2proxy.atlassian.com/repository/public)

1 answer

1 accepted

0 votes
Answer accepted
srinivasp
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.
December 13, 2011

I resolved this issue by changing the path of JAVA_HOME from jre to jdk.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events