Hi,guys,
When I was doing the steps on page https://developer.atlassian.com/display/DOCS/Put+the+Final+Polish+on+the+Project+in+Eclipse#PuttheFinalPolishontheProjectinEclipse-Step3%3AImporthelloworldintoEclipse and I came to step 2:Generate Eclipse configuration files, I did this but failed. The following information output:
--------------------------------------------------------------------------------------------------------------------------------
c:\atlastutorial\helloworld>atlas-mvn eclipse:eclipse
Executing: "C:\atlassian-plugin-sdk\apache-maven\bin\mvn.bat" eclipse:eclipse
[INFO] Scanning for projects...
Downloading: https://m2proxy.atlassian.com/repository/public/com/atlassian/maven
/plugins/maven-jira-plugin/3.10.3/maven-jira-plugin-3.10.3.pom
[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:
pom:3.10.3' from repository atlassian-public (https://m2proxy.atlassian.com/repo
sitory/public): Error transferring file: m2proxy.atlassian.com
Downloading: http://repo1.maven.org/maven2/com/atlassian/maven/plugins/maven-jir
a-plugin/3.10.3/maven-jira-plugin-3.10.3.pom
[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:
pom:3.10.3' from repository central (http://repo1.maven.org/maven2): Error trans
ferring file: repo1.maven.org
Downloading: https://m2proxy.atlassian.com/repository/public/com/atlassian/maven
/plugins/maven-jira-plugin/3.10.3/maven-jira-plugin-3.10.3.pom
[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:
pom:3.10.3' from repository atlassian-public (https://m2proxy.atlassian.com/repo
sitory/public): Error transferring file: m2proxy.atlassian.com
Downloading: file://C:\atlassian-plugin-sdk/repository/com/atlassian/maven/plugi
ns/maven-jira-plugin/3.10.3/maven-jira-plugin-3.10.3.pom
[INFO] Unable to find resource 'com.atlassian.maven.plugins:maven-jira-plugin:po
m:3.10.3' in repository atlassian-plugin-sdk (file://C:\atlassian-plugin-sdk/rep
ository)
Downloading: http://repo1.maven.org/maven2/com/atlassian/maven/plugins/maven-jir
a-plugin/3.10.3/maven-jira-plugin-3.10.3.pom
[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-jira-plugin:
pom:3.10.3' from repository central (http://repo1.maven.org/maven2): Error trans
ferring file: repo1.maven.org
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: com.atlassian.maven.plugins:maven-jira-plugin
Reason: POM 'com.atlassian.maven.plugins:maven-jira-plugin' not found in reposit
ory: Unable to download the artifact from any repository
com.atlassian.maven.plugins:maven-jira-plugin:pom:3.10.3
from the specified remote repositories:
atlassian-plugin-sdk (file://C:\atlassian-plugin-sdk/repository),
central (http://repo1.maven.org/maven2),
atlassian-public (https://m2proxy.atlassian.com/repository/public)
for project com.atlassian.maven.plugins:maven-jira-plugin
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Aug 01 11:31:59 CST 2012
[INFO] Final Memory: 2M/61M
[INFO] ------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
I didn't find out how to solve this problem,so can somebody help me?
Thanks in advance.
Best Regards
William
Something is preventing you from downloading the artifact. Possible causes could be firewall, antivirus etc. If that is not it, try adding a proxy configuration in the settings.xml if you are behind a proxy.
Hello, Jobin,
I've used an admin account that has access to the Internet and run the command,but still failed.Details logs you can turn to the attachment as followed:
(logs.txt)
So, can you please help to have a look.Thanks inadvance.
Best Regards
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,Jobin,
As you said,I have configured the proxy in settng.xml file but still failed.So, can you help to analyse this?Thanks so much~~
Best Regards
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is difficult for mw to analyze because the error is a generic one and the problem is in your network. You can try from a machine connected to internet and without any firewall restricyions. You will see that it works fine.
Also, try disabling antivirus etc and see if it makes any difference.
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.