I’ve been trying to get into plugin development for our JIRA and Confluence instances and wanted to start with the Hello World Plugin Demo Project (https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/create-a-helloworld-plugin-project).
I ran into some issues along the way and I hope that you can help me resolve this. Once I get to “atlas-run” everything starts out fine and a lot of stuff gets downloaded, as expected. But ultimately the build fails with the following error:
[ERROR] Failed to execute goal on project myPlugin: Could not resolve dependencies for project com.atlassian.tutorial:myPlugin:atlassian-plugin:1.0.0-SNAPSHOT: Failed to collect dependencies at com.atlassian.jira:jira-api:jar:7.2.2 -> com.atlassian.applinks:applinks-api:jar:5.2.3: Failed to read artifact descriptor for com.atlassian.applinks:applinks-api:jar:5.2.3: Could not find artifact com.atlassian.applinks:applinks-parent:pom:5.2.3 in NexusServer (http://ournexus/nexus/content/groups/public/) -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
I am working with a Nexus behind a proxy and I am accessing a group repository that includes maven central, the atlassian repo and a bunch of others and the Nexus connects through a proxy. This should be working as intended, as he starts to download a lot through our nexus once I use “atlas-run”.
Looking into my locally cached libraries I have noticed that he appears to download everything but the actual jar-File of (e.g.) applinks-api-5.2.3. Same for the jira-api.
Has anybody experienced this issue before? Does anyone have an idea as to why I run into this problem?
I don’t understand why this is happening, but I hope that somebody here can help.
Any help or tips resolving this would be very much appreciated!
Thank you very much in advance!