issues with sdk tutorial Unable to resolve artifact. Could not transfer artifact com.atlassian.jira:

demian kurejwowski May 24, 2017

i am doing the sdk tutorial 

https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/create-a-helloworld-plugin-project#CreateaHelloWorldPluginProject-Step2.StartupJIRAwithyourplugininstalled

 

doing everything step by step now i am doing 

atlas-run  from the created plugin folder

and this is what i get

 

 

...

[INFO]
[INFO] Starting jira...
[INFO] Configured Artifact: com.atlassian.jira.plugins:jira-plugin-test-resources:7.2.2:zip
[INFO] Copying jira-plugin-test-resources-7.2.2.zip to C:\Users\d\myPlugin\target\jira\jira-plugin-test-resources.zip
[INFO] Configured Artifact: com.atlassian.jira:atlassian-jira-webapp:7.2.2:war
Downloading: https://maven.atlassian.com/repository/public/com/atlassian/jira/atlassian-jira-webapp/7.2.2/atlassian-jira-webapp-7.2.2.war
Downloading: http://repo.maven.apache.org/maven2/com/atlassian/jira/atlassian-jira-webapp/7.2.2/atlassian-jira-webapp-7.2.2.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29:41 min
[INFO] Finished at: 2017-05-24T16:05:58-06:00
[INFO] Final Memory: 42M/101M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:6.2.11:run (default-cli) on project myPlugin: Unable to execute mojo: Unable to resolve artifact. Could not transfer artifact com.atlassian.jira:atlassian-jira-webapp:war:7.2.2 from/to atlassian-public (https://maven.atlassian.com/repository/public): GET request of: com/atlassian/jira/atlassian-jira-webapp/7.2.2/atlassian-jira-webapp-7.2.2.war from atlassian-public failed
[ERROR] com.atlassian.jira:atlassian-jira-webapp:war:7.2.2
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] atlassian-public (https://maven.atlassian.com/repository/public, releases=true, snapshots=true),
[ERROR] atlassian-plugin-sdk (file://C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.14/repository, releases=true, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false): Connection reset
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
C:\Users\d\myPlugin>

 

how can i fix this?

 

 

 

1 answer

0 votes
demian kurejwowski May 25, 2017

it seems we also need to have the regular jira software install in the machine too.   we think with all the downloads happening will also download the jira itself since it say that will be ready to go to the website and should be working =(

Suggest an answer

Log in or Sign up to answer