Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to Set Up SDK Maven Repositories

Shelli April 11, 2019

I have installed the Atlassian SDK and am trying to follow the HelloWorld plugin tutorial here https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/ and looking at the Atlassian Maven info here https://developer.atlassian.com/server/framework/atlassian-sdk/atlassian-maven-repositories-2818705/.

I already have Maven set up on my workstation for other development work and when I run the atlas-create-jira-plugin command, it fails.  Looking at the output, it appears that it is using the settings.xml and pre-existing local Maven repo.  We have a Nexus repository set that is used to proxy all other public repos.  So, I added a proxy to https://packages.atlassian.com/maven/repository/public in our Nexus, but it doesn't download any artficats from the Atlassian's repo. 

If I try to go to https://packages.atlassian.com/maven/public in a browser, I am prompted for login credentials.  Looking at the settings.xml file in the plugin install directory, there doesn't appear to be any credential information in it.  However, it does use URLs that the Maven page says are being deprecated (https://maven.atlassian.com).

How should I get Maven working with the plugin? 

Can I configure something to use the Maven repo/settings.xml that came with the plugin?  How?

Is it possible to configure a proxy to the Atlassian repo and use my "other" Maven repo/settings.xml?

 

1 comment

Rene C. [Atlassian Cloud Support]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 31, 2019

Hello! Not sure if this is still relevant but it seems the issue you are experiencing is due to the URL not being up to date. The current repositories are indicated in the documentation page https://developer.atlassian.com/server/framework/atlassian-sdk/atlassian-maven-repositories-2818705/

Cheers!

Like Mauricio Ibañez Deana likes this

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events