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

Im trying to rescusitate and old bitbucket plugin artifact with amps.version is not found

thomas_ricaud March 3, 2020

I built a long time ago a bitbucket plugin with an old atlassian SDK (not sure which version)

The amps.version in the pom was 6.0.3.

I just installed the latest version of SDK  (with amps version: 8.0.2)

I cloned my old plugin repository.

when i run atlas-run the maven log starts and downalod plenty of artifact but in the end i get an error: 

com.atlassian.maven.plugins:amps-dispatcher-maven-plugin:jar:amps.version artifact not found

I update my pom's plugin to ser amps.version property to 8.0.2 but i have the exact same error

What's troubling me is that it is looking for amps.version the text and not an actual version like 6.0.3 or 8.0.4 .

 

Any idea ?

1 answer

1 accepted

0 votes
Answer accepted
thomas_ricaud March 4, 2020

I had the wrong version in the dependencies section of my pom.

I created a brand new plugin using atlas-create-bitbucket-plugin from the newly installed SDK.

I compared both dependencies sections from my old plugin and the newly created one.

I updated the old one to use the correct versions compatible with latest SDK  and it worked but i lost some modifications most needed .

I put the modifcation back it stopped working

I then ran the atlas-debug with the option --maven-plugin-version

 atlas-debug --maven-plugin-version 8.0.2

And it works

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events