Skip to content

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

@paodb

Description

@paodb

Describe the bug

This comes from Vaadin's forum:

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.

Expected behavior

N/A

Minimal reproducible example

N/A

Add-on Version

2.5.2

Vaadin Version

24.9.5

Additional information

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions