Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,781
Community Members
 
Community Events
168
Community Groups

How to Set Up SDK Maven Repositories

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

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