Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting library version in maven dependency. #57

Open
piotr-gawron opened this issue Nov 12, 2019 · 1 comment
Open

Conflicting library version in maven dependency. #57

piotr-gawron opened this issue Nov 12, 2019 · 1 comment
Labels
bug dependencies Pull requests that update a dependency file

Comments

@piotr-gawron
Copy link
Contributor

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>
@tczauderna
Copy link
Collaborator

Can this issue be closed?
It looks like the current version (2.7.3) of xalan does not depend on the xml-apis anymore.

@tczauderna tczauderna added bug dependencies Pull requests that update a dependency file labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants