karlvr/openapi-generator-plus-generators

java: javax vs jakarta

karlvr opened this issue · 1 comments

Java is migrating from using the javax package to the jakarta package for everything. We use the following javax packages in generated code:

  • javax.annotation
  • javax.enterprise
  • javax.inject
  • javax.validation
  • javax.ws
  • javax.xml

We need to support both old and new. This will affect the generated Java code, so it refers to the correct packages, and generated pom.xml files so it refers to the correct dependency packages and versions.

We need to determine if adopting jakarta will be all or nothing... in which case we can choose which way to go and change everything at once, or whether we need to support splitting between javax and jakarta