Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jakartaee-platform-dev] General problem with RESTful tck and optional JAXB

So Brian Decker has pointed out on this https://github.com/jakartaee/rest/issues/1109 issue that was about some JAXB related tests missing an  @Tag("xml_binding") that there is a more general problem of having JAXB imports pulled into test classes that have other test methods that need to be run. If an implementation does not even have the JAXB api jars, these tests cannot even be loaded. 

The JAXB related tests really need to be pulled into a separate artifact. It could be sufficient if the tests were moved into a separate package, and that package was excluded using a junit 5 suite configuration that the test classes would not be loaded to the point of producing CNFEs, but it would have to be tested.


Back to the top