-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
None
This is an additional rule to be added to the ruleset (created via WINDUPRULE-772)
windup-rulesets/rules-reviewed/openjdk11/openjdk8/removed-javaee-modules.windup.xml
The when criteria for the rule should identify the presence of the
import javax.annotation{*} statement.
The {*} represents the wildcard.
hint:
title: The java.annotation (Common Annotations) module has been removed from OpenJDK 11
effort: 1
category-id: mandatory
message:
Add the `jakarta.annotation` dependency to your application's `pom.xml`
`<groupId\>jakarta.annotation<\groupId\>`
`<artifactId\>jakarta.annotation-api<\artifactId\>`
link:
title: Removed Java EE modules
href: https://www.oracle.com/java/technologies/javase/11-relnote-issues.html#JDK-8190378
We could add the following import statement to the CompleteDukeApplication.java test class
import javax.annotation.Resource;
- is related to
-
WINDUPRULE-754 Rules for OpenJDK 8 to 11 Migration
- New