Skip to content

Commit 267db70

Browse files
committed
build: exclude jaxb-core
Exclude jaxb-code transitive dependency to avoid duplicate problem Fixes #187
1 parent 6ab0d88 commit 267db70

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

pom.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,16 @@
155155
<version>11.5.0</version>
156156
</dependency>
157157
<dependency>
158-
<groupId>org.docx4j</groupId>
159-
<artifactId>docx4j-JAXB-MOXy</artifactId>
160-
<version>11.5.0</version>
161-
</dependency>
158+
<groupId>org.docx4j</groupId>
159+
<artifactId>docx4j-JAXB-MOXy</artifactId>
160+
<version>11.5.0</version>
161+
<exclusions>
162+
<exclusion>
163+
<groupId>com.sun.xml.bind</groupId>
164+
<artifactId>jaxb-core</artifactId>
165+
</exclusion>
166+
</exclusions>
167+
</dependency>
162168
<dependency>
163169
<groupId>org.docx4j</groupId>
164170
<artifactId>docx4j-export-fo</artifactId>

0 commit comments

Comments
 (0)