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

Accepted Answer
0 votes

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
Community showcase
Published 8 hours ago in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

20 views 0 0
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