atlas-create-jira-plugin - Not able to download repositories

Hi I have updated the (settings.xml.txt) with proxy settngs, but I am not able to download the repositories.

C:\test>atlas-create-jira-plugin
A new plugin structure is required for JIRA 5 plugins due to significant changes in the APIs.
Create a plugin for?
1) Shiny new JIRA 5
2) Regular 'ol JIRA 4 (or earlier)
#?2
Executing: "C:\atlassian-plugin-sdk-3.7.2\apache-maven\bin\mvn.bat" com.atlassian.maven.plugins:maven-jira-plugin:3.7.2:create_v4
[INFO] Scanning for projects...
Downloading: https://m2proxy.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-jira-plugin/3.7.2/maven-jira-plugin-3.7.2.jar
[WARNING]
Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.7.2' from repository atlassian-public (https://m2p
roxy.atlassian.com/repository/public):
Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/com/atlassian/maven/plugins/maven-jira-plugin/3.7.2/maven-jira-plugin-3.7.2.jar
[INFO]
Unable to find resource 'com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.7.2' in repository central (http://repo1.maven.org/m<img< a=""> alt="" src="../../upfiles/File.JPG">aven2)
[INFO] Cannot find mojo descriptor for: 'com.atlassian.maven.plugins:maven-jira-plugin:3.7.2:create_v4' - Treating as non-aggregator.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [com.atlassian.maven.plugins:maven-jira-plugin:3.7.2:create_v4]
[INFO] ------------------------------------------------------------------------
Downloa...
https://m2proxy.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-jira-plugin/3.7.2/maven-jira-plugin-3.7.2.jar
[WARNING]
Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.7.2' from repository atlassian-public (https://m2p
roxy.atlassian.com/repository/public):
Error transferring file: Connection refused: connect
Downloading: http://repo1.maven.org/maven2/com/atlassian/maven/plugins/maven-jira-plugin/3.7.2/maven-jira-plugin-3.7.2.jar
[INFO]
Unable to find resource 'com.atlassian.maven.plugins:maven-jira-plugin:maven-plugin:3.7.2' in repository central (http://repo1.maven.org/m
aven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any
repository

2 answers

1 accepted

This widget could not be displayed.
David Simpson Community Champion Jan 23, 2012

Have you had difficulty in the past?

Can you access this file in a browser?
https://m2proxy.atlassian.com/repository/public/com/atlassian/maven/plugins/maven-jira-plugin/3.7.2/maven-jira-plugin-3.7.2.jar

Check your proxy is enabled in settings.xml

See the example referenced here:

https://answers.atlassian.com/questions/20079/plugin-sdk-does-not-use-http-proxy

Hi I was putting protocol as http but atlas-create command is using https.....Thanks it worked.

This widget could not be displayed.

After searching a lot I found a workaround:

You have to add

-Dhttps.proxyHost=my_proxy_host and -Dhttps.proxyPort=my_proxy_port

to

\<path to sdk>\apache-maven\bin\mvn.bat as described in

http://jira.codehaus.org/browse/MRM-1413

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

511 views 3 18
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