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

0 votes
Accepted answer

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
Posted yesterday in Canada

Happy New Year - First AUG of the year - great success

Hi Everyone, Hope everyone had a great holiday season and is ready for an exciting 2019.  We had our first AUG last night featuring Tempo Timesheets.  A great presentation and lots of int...

17 views 0 1
View post

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