Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Products
  • Jira
  • Questions
  • ArtifactTransferException: Could not transfer artifact com.atlassian.jira:jira-api:jar:6.3.1 from/to central (http://repo.maven.apache.org/maven2): Connection reset

ArtifactTransferException: Could not transfer artifact com.atlassian.jira:jira-api:jar:6.3.1 from/to central (http://repo.maven.apache.org/maven2): Connection reset

Onkar Ahire
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 30, 2014

Hi All,

I have plugin skeleton simply created using atlas-create-jira-plugin command, when included in eclipse it gives me problems. 

I tried below approach no no luck.

1) atlas-mvn eclipse:eclipse

2) atlas-clean 

3) atlas-mvn eclipse:clean

4) I removed *.lastupdated in .m2 directory and updated the project.

5) I tried to use browse repository configured in settings.xml and found available.

6) I downloaded the dependencies which populates in .m2 directory.

>>> Do i need to to make any changes in settings.xml file located in C:\atlassian-plugin-sdk\apache-maven-3.2.1\conf\settings.xml ?

>>> Do i need to explicitly copy missing artifact ?

>>> Anything else I forgot ?

PomPom.jpg

Thanks 

Regards

Onkar Ahire

1 answer

1 accepted

3 votes
Answer accepted
Boris Georgiev [Appfire]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 30, 2014

Are you sure your eclipse maven settings are correct? 

You have to :

  1. Configure eclipse to use maven from atlassian plugin sdk
  2. Configure eclipse to use the global settings xml from C:\atlassian-plugin-sdk\apache-maven-3.2.1\conf\settings.xml

Please double check and provide screenshots of your eclipse maven settings.

 

Onkar Ahire
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 1, 2014

Thanks Boris,

I forgot to configure 2nd point mentioned above. I configure only installation path in Windows>>Preferences>>Maven>>Installations but forgot to configure the global settings.

Now its up and running.

Regards

Onkar Ahire

 

Like David Goldstein likes this

Suggest an answer

Log in or Sign up to answer