libsbgn
libsbgn copied to clipboard
Conflicting library version in maven dependency.
I found a conflicting library versions in the milestone3.2 jar provided by maven.
The problem is that there is a dependency to version 1.4.01
of xml-apis
library. However another dependency xalan
uses xml-apis
version 1.0.b2
. This forces maven to resolve somehow the dependency conflict which might result in runtime errors.
I would suggest to use consistent dependency versions:
- one solution would be to use
xalan 2.7.2
andxml-apis 1.3.04
. - another solution would be to exclude
xml-apis
fromxalan
dependency:
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>${xalan.version}</version>
<exclusions>
<exclusion>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
</exclusion>
</exclusions>
</dependency>