Hey, would someone be able to coordinate with the relevant team to upgrade the latest Plugin SDK so that it supports Java 11?
One cannot compile against the 8.0.0-struts-m020 milestone using JDK8 as noted previously:
bad class file: /.../.m2/repository/com/atlassian/confluence/confluence/8.0.0-struts-m020/confluence-8.0.0-struts-m020.jar(com/atlassian/confluence/pages/AbstractPage.class)
class file has wrong version 55.0, should be 52.0
The latest plugin SDK 8.2.17 does not support JDK11 and trying to use it produces the following error:
$ atlas-mvn package
Executing: /.../atlassian-plugin-sdk-8.2.7/apache-maven-3.5.4/bin/mvn -gs /.../atlassian-plugin-sdk-8.2.7/apache-maven-3.5.4/conf/settings.xml package
Exception in thread "main" java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:167)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at org.twdata.maven.trap.Dispatcher.getInterceptorsResourceBufferedReader(Dispatcher.java:67)
at org.twdata.maven.trap.Dispatcher.getMavenInterceptors(Dispatcher.java:45)
at org.twdata.maven.trap.Dispatcher.main(Dispatcher.java:21)
at org.twdata.maven.trap.App.main(App.java:18)
I can build with Conf 8.0 and JDK11 by falling back to a much older version of the plugin SDK (8.0.7), which works for whatever reason. This seems…suboptimal? And the corresponding AMPS-1541 issue to upgrade the plugin SDK is “Won’t Fix”?!