Daniel Subelman created BATIK-1297:
--------------------------------------
Summary: Dependency Convergence issue with xml-apis
Key: BATIK-1297
URL: https://issues.apache.org/jira/browse/BATIK-1297
Project: Batik
Issue Type: Bug
Components: Build Tools
Affects Versions: 1.14
Reporter: Daniel Subelman
There is dependency convergence issue with xml-apis (v1.3.04 and v1.4.01).
Here is maven-enforcer-plugin report:
{code:java}
+-org.apache.xmlgraphics:batik-all:1.13
+-org.apache.xmlgraphics:batik-dom:1.13
+-xalan:xalan:2.7.2
+-xalan:serializer:2.7.2
+-xml-apis:xml-apis:1.3.04
+-org.apache.xmlgraphics:batik-all:1.13
+-org.apache.xmlgraphics:batik-dom:1.13
+-xml-apis:xml-apis:1.4.01
{code}
One way to fix this issue is to exclude xml-apis from xalan dependency by
modifing the pom.xml file in batik-dom from:
{code:xml}
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>${xalan.version}</version>
</dependency>
{code}
to:
{code:xml}
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>${xalan.version}</version>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]