When I run "C:\git>atlas-create-jira-plugin" and fill in the group-id and other stuff the script throws an error
[WARNING] CP Don't override file C:\git\gmlu.worklog\src\main\resources\META-INF
[WARNING] CP Don't override file C:\git\gmlu.worklog\src\main\resources\META-INF\spring
[INFO] Executing META-INF/archetype-post-generate.groovy post-generation script
java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.lang.Object.finalize() throws java.lang.Throwable accessible: module java.base does not "opens java.lang" to unnamed module
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:45 min
[INFO] Finished at: 2022-01-19T19:53:53+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:jira-maven-plugin:8.1.2:create (default-cli) on project standalone-pom: Unable to execute mojo: Execution null of goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate: java.lang.ExceptionInInitializerError: null
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-archetype-plugin:3.0.1
All fresh installed on my machine.
I guess this is the problem:
Since JDK 16, the default for the --illegal-access
option is deny
, so “deep reflection” to JDK classes fails.
So I would have to use JDK8. But I need JDK17 for other reasons. So I guess Atlassian has to update they're environment from the stoneage forward to the current time. For now I uninstall the Atlassian SDK again and use another computer (has currently another error with java).
I have to say I hate Java Development... what a mess
Yeah, they need to do better with their developer resources; moreover, based on the direction of JIRA/JIRA Align, I wonder if their is still an open community culture to their products.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.