It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

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

ReneChiquete Atlassian Team Jul 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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you