Highlights
The used CDI version is now 3.
To update your project you basically replace all javax.annotation
, javax.enterprise
, and javax.inject
imports
by the respective jakarta.annotation
, jakarta.enterprise
, and jakarta.inject
imports.
Of course you also need to change the respective dependencies like
javax.annotation:javax.annotation-api
to jakarta.annotation:jakarta.annotation-api
,
javax.enterprise:cdi-api
to jakarta.enterprise:jakarta.enterprise.cdi-api
,
and javax.inject:javax.inject
to jakarta.inject:jakarta.inject-api
in the latest versions.