libsbgn icon indicating copy to clipboard operation
libsbgn copied to clipboard

Conflicting library version in maven dependency.

Open piotr-gawron opened this issue 4 years ago • 0 comments

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 and xml-apis 1.3.04.
  • another solution would be to exclude xml-apis from xalan dependency:
<dependency>
  <groupId>xalan</groupId>
  <artifactId>xalan</artifactId>
  <version>${xalan.version}</version>
    <exclusions>
      <exclusion>
        <groupId>xalan</groupId>
        <artifactId>xalan</artifactId>
      </exclusion>
    </exclusions>
</dependency>

piotr-gawron avatar Nov 12 '19 12:11 piotr-gawron