Jaxb-core-4.0.6.jar is a duplicate (when upgrading to Grid Exporter Addon 2.5.z)

I recently tried to upgrade the Grid Exporter Addon from 2.4.0 to 2.5.0 (and 2.5.2) but ran into the following build issue (while attempting to assemble the project’s war file)…

Entry WEB-INF/lib/jaxb-core-4.0.6.jar is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/8.10.1/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.

A bit of analysis appears to show that org.vaadin.addons.flowingcode:grid-exporter-addon:2.5.z depends upon two distinct jaxb-core implementations (via transitives)…

  • org.docx4j:docx4j-JAXB-ReferenceImpl:11.5.0
    • which depends upon org.glassfish.jaxb:jaxb-core:4.0.6
  • org.docx4j:docx4j-JAXB-MOXy:11.5.0
    • which depends upon com.sun.xml.bind:jaxb-core:4.0.6

With that said, I’m wondering if there are any plans to remediate the issue. Fingers crossed (as we intend to hold off upgrading at this time).

Thanks in advance, Tom

PS. I am running Vaadin 24.9.5.

Hello, I’ve created a GitHub issue for this, see 187. Please check for any new update there.

Regards.