Cannot create Skeleton

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

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
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 yesterday in Off-topic

Get to know our Atlassian User Group Leaders from Bengaluru, India

Meet @Dinesh Dhinakaran, @Vishnu Vasudeva, @Rajeev Verma, and Jamshid Nalakath: Our extraordinary AUG leaders from Bengaluru, India. These four work together to strengthen the bonds of their local co...

137 views 0 4
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