Closed
Description
A few years ago, we had an initiative across the portfolio to move away from the javax.* spec jars to their jakarta.* replacements. Since then, a few javax.* spec jars have snuck back in. Can you please replace your dependency on javax.annotation:javax.annotation-api
with a dependency on jakarta.annotation:jakarta.annotation-api
instead? 1.3.5 is the latest Java EE 8 version and 2.0.0 is the latest Jakarta EE 9 version.
I noticed a test dependency on javax.servlet:javax.servlet-api
that, for consistency could perhaps also be replaced with one on jakarta.servlet:jakarta.servlet-api
. This is less important, however, as it does not pollute the classpath of consuming projects.