Open apupier opened 1 year ago
If i understand well, Quarkus is relying on OpenRewrite https://github.com/quarkusio/quarkus/blob/d45c5478cf4c27add37822f1a45510cde7c7c481/independent-projects/tools/devtools-common/src/main/resources/openrewrite-init.gradle#L10 , and on https://docs.openrewrite.org/recipes/java/migrate/jakarta/javaxxmlbindmigrationtojakartaxmlbind in this specific case.
Which itself relies on https://docs.openrewrite.org/recipes/java/changepackage#source based on https://github.com/openrewrite/rewrite-migrate-java/blob/248045c9ce6d839db05cf4d52508f74f2b844f32/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml#L816
So it would mean that it is an issue coming from OpenRewrite itself.
cc @gsmet @maxandersen
Definitely a bug in OpenRewrite. Here is the recipe that should perform the package change:
Description
When applying the Quarkus migration tool, this package-info.java file is partially migrated:
to:
it would be convenient to migrate also the class referenced in the attribute of the annotation:
this example comes from https://github.com/com-pas/compas-core/blob/0.14.0/commons/src/test/java/org/lfenergy/compas/core/commons/model/package-info.java
Implementation ideas
No response