It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

1 vote
Answer accepted

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.

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 in Marketplace Apps & Integrations

How to run PI Planning in Jira with Remote Teams

  There is nothing better than having everyone in the same room for PI, tribe or big room planning. But it’s not easy, it’s expensive and not everyone can travel.  Kendis offers solution,...

137 views 1 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you