Hello World Plugin Fails - CAN'T get maven-amps-plugin version 4.1-SNAPSHOT

When running the "atlas-run" command in the create pugin tutorial ( https://developer.atlassian.com/display/DOCS/Create+a+HelloWorld+Plugin+Project ) I get error:

[INFO] Unable to find resource 'com.atlassian.maven.plugins:maven-amps-plugin:maven-plugin:4.1-SNAPSHOT' in repository atlassian-public (http://nexus.........
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository.......

Not surprising, as our Nexus and the downloaded repository both contain only version 4.0 of the maven-amps-plugin.

I don't understand why it's trying to find the 4.1-SNAPSHOT version ??... as far as I know I have followed the tutorial instructions correctly

(note: edited for spelling)

2 answers

Change amps.version to 4.0 , seems like some issue in sdk, which version of sdk you are using ?

Using the current sdk as downloaded in the "Hello world Plugin tutorial" the generated pom.xml contains


Maybe our Nexus has a bad entry, or there's some bug in the lastest sdk version (if it's woking elsewhere that cant be it), or I've made some mistake in the Maven settings file .. let ya know if I find out what happenned ..

Ok, this looks like when maven/amps finds a maven identifier withot a version it goes to a Maven metadata file (maven-metadata.xml), in this case in the maven-amps-plugins directory of the repositories, then local repository, to get "latest" version.

I hacked this file (was in our Nexus) from:




I also called the downloaded repository ( for me <url>file:///D:/atlassianSDK/atlassian-plugin-sdk-4.0/repository</url> ) "central" ( <id>central</id> ) , to take Maven central out of the issue.

So I suspect something is wrong for me to need to do this, but don't have the time to look further at the moment.

see my last comment above

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: https://www.icloud.com/keynote/0RyJ4VEdNUpjDpGfMhfZx9fEg#Confluence_Security_Advisor More details: https://co...

43 views 1 0
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you