update Atlassian Plugin SDK to manage change of AMPS maven plugins

Description

The 'atlas-' commands use a set of scripts to reference different AMPS maven plugins to perform different operations.

The AMPS maven plugin names have changed for AMPS 8 - as follows:

Plugin

AMPS 6.x name

AMPS 8.x name

AMPS Dispatcher Plugin

maven-amps-dispatcher-plugin

amps-dispatcher-maven-plugin

AMPS Plugin

maven-amps-plugin

amps-maven-plugin

AMPS Bitbucket Plugin

bitbucket-maven-plugin

bitbucket-maven-plugin

AMPS Bamboo Plugin

maven-bamboo-plugin

bamboo-maven-plugin

AMPS Confluence Plugin

maven-confluence-plugin

confluence-maven-plugin

AMPS Crowd Plugin

maven-crowd-plugin

crowd-maven-plugin

AMPS Fecru Plugin

maven-fecru-plugin

fecru-maven-plugin

AMPS Jira Plugin

maven-jira-plugin

jira-maven-plugin

AMPS Stash Plugin

maven-stash-plugin

NA (see AMPS Bitbucket Plugin)

If you're using AMPS 8.0+ you should ensure your project POM is updated - simply replace the old AMPS plugin name with the new one as per the table above.

Alternatively, you can use an older version of AMPS if you don't need the new features in AMPS 8.0+. To run your app with an older version, either update the AMPS version in your project pom, or add a

at the end of your atlas- command.

Environment

None

Testing Notes

Add notes...

Activity

Show:
Mel Paisley
March 27, 2019, 6:55 AM

,

I have raised a bug for the issue you're reporting. Take a look at

Please keep in mind it's much better to raise a bug in the AMPS / ATLASSDK project rather than comment on a different but related issue - this will allow you (and us) to track the progress of the fix.

Cheers!
Melissa

Jack Nolddor [Sweet Bananas]
March 27, 2019, 2:00 PM

It was an open request opened by my see but no one have take care of that.

Mel Paisley
March 28, 2019, 11:56 AM

Thanks Jack, I've been so busy I have only been intermittently triaging. I've fixed that up now.

Vitor Pelizza
April 15, 2019, 11:22 AM

We've manually renamed the maven plugin on that file and it works fine. However, for the atlas-integration-test file we needed to replace:

by:

... to get the test working. Otherwise, it won't find our tests...

I hope that adds useful info to fix this issue.

Andriy Yakovlev [Atlassian]
June 14, 2019, 7:46 AM

Not sure if this is related, but it might help someone also.

I have a problem with old AMPS 6.x, specifically maven-amps-plugin, it requires atlassian-core 4.0

{code:Java|borderStyle=solid}

<dependency>
<groupId>com.atlassian.core</groupId>
<artifactId>atlassian-core</artifactId>
<version>4.0</version>
<scope>compile</scope>
</dependency>

{code}

Which is not available at Maven repostory: https://packages.atlassian.com/content/repositories/atlassian-public/com/atlassian/core/atlassian-core/ any more.

So I was forced to switch to AMPS 8.x to be able to download all dependencies. Works now.

 

Assignee

Ashwal Dixit

Reporter

Mel Paisley

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Story point estimate

None

Fix versions

Priority

Blocker
Configure