I got the same problem I created a plugin in pom who transform the imports from javax to jakarta and everything is compiled and working :
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<target>
<!-- Remplacer javax par jakarta -->
<replaceregexp flags="g">
<regexp pattern="javax"/>
<substitution expression="jakarta"/>
<fileset dir="${project.basedir}/src/main/java/com/smi/generated" includes="**/*.java"/>
</replaceregexp>
<replaceregexp flags="g">
<regexp pattern="generated"/>
<substitution expression="com.smi.generated.generated"/>
<fileset dir="${project.basedir}/src/main/java/com/smi/generated" includes="**/*.java"/>
</replaceregexp>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
But certainly there is another thing that replace JAXB who knows it ? thank you