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

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

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

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

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
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,925 views 10 16
Read article

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