Hi everyone,
I am currently in the process of updating plugins for Confluence 9.2.0. In my plugins I use the javax annotations “Nonnull” and “Nullable”. When I try to update to Jakarta annotations, the imports cannot be resolved.
When checking the dependency tree, I find this version of Jakarta annotation bundled:
[INFO] | ± jakarta.annotation:jakarta.annotation-api:jar:1.3.5:provided
The javadoc for version 1.3.5 does not list the two mentioned annotations (jakarta.annotation-api 1.3.5 javadoc (jakarta.annotation)).
I can resolve this problem by manually importing Jakarta annotation version 2.1.1 and bundle it with my plugins, but I am not sure if this is the intended way.
Is this an issue with the provided version or am I missing something?
I currently use these versions in my pom:
Confluence 9.2.0
AMPs 9.1.11
Platform 7.3.0
Best Regards