Closed paulk-asert closed 1 year ago
That is curious, we're using this plugin with JDK 17 and Gradle 8.2 in Micronaut without any problem :thinking:
That only happens when not using the rich report.
That is also where I went to look when it wasn't working and indeed that seemed to be the case. I couldn't see any attempt to customise the classpath with a newer JAXB implementation either. But I didn't try to debug both in parallel and work out why - this was just to fix things. We are using the HTML reporting which calls the XmlOutput method seen in the stacktrace. There is no error if only using the text output format.
Yes, the rich reporting also seems to work but doesn't then honor the failOnModification
property? I guess it requires a custom rule instead?
@melix I believe this issue had been fixed in #63, can we release a new version?
Verified 0.4.2 in https://github.com/apache/groovy/pull/1925, it works well!
New version works, thanks!
Thanks for the contributions folks!
See: https://ci.groovy-lang.org/buildConfiguration/Groovy_CheckMasterWithCoverageJdk17/15620?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&expandBuildChangesSection=true
Stacktrace summary:
It appears that the current
resolveJaxb
processing isn't sufficient for all Java versions.Potential fix (moves to a later JAXB implementation): https://github.com/Goooler/japicmp-gradle-plugin/pull/13/