Closed michael-o closed 2 years ago
I have the feeling that this is the cause: https://github.com/fillumina/krasa-jaxb-tools/blob/master/pom.xml#L96 The JAXB2 Maven Plugin uses version 2.3.x and not 3.x.
See: https://github.com/eclipse-ee4j/jaxb-ri/releases/tag/3.0.0-RI
Note: I cannot upgrade the plugin because of: https://github.com/highsource/maven-jaxb2-plugin/issues/244
Can you try using maven-jaxb2-plugin version 0.15.1 (that's the same version of the dependency maven-jaxb2-plugin-testing use by this project) ?
Can you try using maven-jaxb2-plugin version 0.15.1 (that's the same version of the dependency maven-jaxb2-plugin-testing use by this project) ?
No, I can't because of https://github.com/fillumina/krasa-jaxb-tools/issues/4#issuecomment-1225360431
I have created a test project and it works. Could you please check if it is working for you and if it solves your problem?
I have created a test project and it works. Could you please check if it is working for you and if it solves your problem?
Will check...
While going through your test project one spot is invalid: https://github.com/fillumina/krasa-issue4/blob/148bbb1ece136f10dc039fd6fd10925a1e88e6b8/pom.xml#L54-L60
Looking at the plugin's META-INF/maven/plugin.xml the goal does not have any dependencies parameter. I guess this is a mistype, no? Will fix locally and continue...
Beat me, I cannot reproduce this anymore with 2.2 and 0.14.0. Tried in and out on Java 8. Darn I am angry. Sorry for the noise. Will continue to investigate the issue in JAXB2 plugin.
Following configuration in POM:
Execution gives me:
with: