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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.