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

Invalid transitive dependencies #11

Open
igor-kupczynski opened this issue Jul 27, 2016 · 0 comments
Open

Invalid transitive dependencies #11

igor-kupczynski opened this issue Jul 27, 2016 · 0 comments

Comments

@igor-kupczynski
Copy link
Contributor

igor-kupczynski commented Jul 27, 2016

Invalid transitive dependencies.

When trying to build from master the following error occurs:

[ERROR] Failed to execute goal on project isa-graphparser: Could not resolve
dependencies for project org.isatools:isa-graphparser:jar:1.0.1-SNAPSHOT: Failed
to collect dependencies at org.isatools:ISAcreator:jar:1.7.7 ->
org.isatools:import_layer:jar:1.6.5 -> uk.ac.ebi.pride:pride-core:jar:2.7.1 ->
ojb:db-ojb:jar:1.0.4-pride -> xalan:xalan:jar:2.4: Failed to read artifact
descriptor for xalan:xalan:jar:2.4: Could not transfer artifact
xalan:xalan:pom:2.4 from/to repository.codehaus
(http://repository.codehaus.org): repository.codehaus.org: unknown error:
Unknown host repository.codehaus.org: unknown error -> [Help 1]

There issue here is

  • org.isatools:isa-graphparser:jar:1.0.1-SNAPSHOT depends transitively on ojb:db-ojb:jar:1.0.4-pridewhich in turn references not existing repo repository.codehaus.org (codehaus was shut down https://www.codehaus.org/)
  • It is impossible to provide xalan:xalan:2.4 directly, as it exists in mvn central as 2.4.0 and not 2.4

Following workaround is possible:

mvn dependency:get -Dartifact=xalan:xalan:2.4.0

mvn install:install-file -Dfile=$HOME/.m2/repository/xalan/xalan/2.4.0/xalan-2.4.0.jar -DgroupId=xalan -DartifactId=xalan -Dversion=2.4 -Dpackaging=jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant