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)
I resolved this issue by changing the path of JAVA_HOME from jre to jdk.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.