Announcing AMPS 8.0.0

amps
jira-server

#1

AMPS version 8.0.0 is now available.

This release has some major changes, including:

Full details will be found in the Release Notes (available later this week)

Important
AMPS 8.0.0 is not compatible with the Atlassian Plugin SDK version 6.x and earlier. If you’d like to use AMPS 8.0.0 with the Atlassian Plugin SDK, please wait for the Atlassian Plugin SDK version 8.0.0 release coming soon. Announcements will be posted in the Developer Community Forums.


#2

Hi Melissa,

We got Atlassian Plugin SDK 8 this morning via our package manager, we tried updating to AMPS 8 too but this broke all of our maven builds with the following output:

[ERROR] Invalid Atlassian maven plugin detected: maven-compiler-plugin
maven-resources-plugin
maven-source-plugin
maven-antrun-plugin
maven-javadoc-plugin
maven-refapp-plugin
maven-amps-plugin
maven-surefire-plugin
maven-site-plugin
maven-javadoc-plugin
maven-jxr-plugin
maven-surefire-plugin
maven-failsafe-plugin
maven-pmd-plugin
maven-project-info-reports-plugin
maven-report

It seems a bit odd for the SDK to be complaining about non-Atlassian plugins? I could understand if the error was complaining about specific versions, but we should still be able to use standard maven artifacts right?

We might have jumped the gun, perhaps the above is addressed in the upcoming release notes.

Any tips? Cheers!


#3

The Atlassian Plugin SDK version 8.0.4 is now available and can be downloaded from here. AMPS 8.0.0 is compatible with this release.


#4

@abhayani are there any release notes for this new SDK? Our builds are broken with AMPS 8/Plugin SDK 8, see my previous comment for the error we are getting.


#5

Hi @reece thanks for pointing this out. This is a bug and has been detailed in https://ecosystem.atlassian.net/browse/AMPS-1479?atlOrigin=eyJpIjoiYWYzZjNkZTc4YzY4NDE3YmEyNjA5YWVkOWQwZmNiNjIiLCJwIjoiaiJ9.

We aim to get this fixed sometime next week. In the meantime you can potentially call AMPS commands directly as detailed in the above ticket.


#6

Some release notes links are dead, for example

Correct links:
https://developer.atlassian.com/server/framework/atlassian-sdk/amps-8-0-0/
https://developer.atlassian.com/server/framework/atlassian-sdk/amps-6-3-21/


#7

The deprecated atlas-cli and fastdev were finally removed, right?

Is there a task to also upgrade/clean up the documentation, for example: https://developer.atlassian.com/server/framework/atlassian-sdk/working-with-maven/
https://developer.atlassian.com/server/framework/atlassian-sdk/run-wired-tests-with-the-plugin-test-console/ ?

I also still see an atlas-cli.bat in the atlassian-plugin-sdk-8.0.4 (trying to use AMPS 8.0.0).


#8

I’m having issue with integration tests after upgrade.

Before the update I was running specific test groups with command like atlas-integration-test -DtestGroups=jira-current and it was running smoothly.
After the update and manually fixing atlas-integration-test script I now see the following output:

Executing: /usr/local/Cellar/atlassian-plugin-sdk/6.2.14/libexec/apache-maven-3.5.4/bin/mvn com.atlassian.maven.plugins:amps-maven-plugin:8.0.0:integration-test -gs /usr/local/Cellar/atlassian-plugin-sdk/6.2.14/libexec/apache-maven-3.5.4/conf/settings.xml -DtestGroups=jira-current
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< ru.mail.jira.plugins:groovy >---------------------
[INFO] Building MyGroovy 1.17.9
[INFO] --------------------------[ atlassian-plugin ]--------------------------
[INFO] 
[INFO] --- amps-maven-plugin:8.0.0:integration-test (default-cli) @ groovy ---
[INFO] No integration tests found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.594 s
[INFO] Finished at: 2019-02-15T11:44:54+03:00
[INFO] ------------------------------------------------------------------------

Did something change that I’m missing?
You can check the pom file here: https://github.com/mailru/jira-plugins-groovy/blob/master/pom.xml#L323


Atlas-integration-test ignoring products in pom.xml on version 8.0.0+
#9

Maven repo doesn’t have the maven-jira-plugin:8.0.0

Unresolveable build extension: Plugin com.atlassian.maven.plugins:maven-jira-plugin:8.0.0 or one of its dependencies could not be resolved: Could not find artifact com.atlassian.maven.plugins:maven-jira-plugin:jar:8.0.0 in atlassian-public (https://maven.atlassian.com/repository/public)


#10

Based on https://ecosystem.atlassian.net/browse/ATLASSDK-147, maven-jira-plugin is changed to jira-maven-plugin for v8.x.

Hope this helps.
Ian


#11

Thanks for the response. Can the documentation be updated to reflect those changes: https://developer.atlassian.com/server/framework/atlassian-sdk/using-the-amps-maven-plugin-directly-2818721/


#12

Hey @a.belostotskiy, have you found a solution for this problem? I’ve just got stuck at the same point :frowning:


#13

Nope


#14

@a.belostotskiy and @vpelizza we realised there is a bug with the integration tests. A Jira ticket has been raised at https://ecosystem.atlassian.net/browse/ATLASSDK-161. Please feel free to vote / watch the issue for updates.


#15

Hi,
That ticket seems to be about maven command naming.
We’re having issue with tests not being found after workaround, which seems to be a different issue.


Atlas-integration-test ignoring products in pom.xml on version 8.0.0+
#16

Could someone confirm this (if atlas-cli and fastdev have been removed) please?

atlas-cli still exists but is using maven-amps-dispatcher-plugin instead of amps-dispatcher-maven-plugin, which means it doesn’t work.