mojohaus / jaxb2-maven-plugin

JAXB2 Maven Plugin
https://www.mojohaus.org/jaxb2-maven-plugin/
Apache License 2.0
106 stars 77 forks source link

Issue #43: Work around MNG-6506 to make the build work on Java 9 #124

Closed veithen closed 5 years ago

veithen commented 5 years ago

Also move Xalan to the runtime dependencies: some integration tests appear to be sensitive to subtle differences in the transformer output between Java versions.

Finally, add Java 9 and 10 to the Travis config to prevent regression. Java 11 will require an additional fix.

lennartj commented 5 years ago

While moving Xalan to RT is not a problem per se, it would be good to know which "subtle differences" occurs in transformer output between java versions.

I would suggest that it is quite important not to have any differences in XML generated between java versions.

veithen commented 5 years ago

Regarding your question about the differences in transformer output: the ones I examined were just additional newlines. They are benign but enough to make some integration tests fail because they compare the output with the expected results in a very strict way.