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

missing maven central dependencies in 1.72 #257

Closed
cvogt opened this issue Mar 8, 2016 · 7 comments
Closed

missing maven central dependencies in 1.72 #257

cvogt opened this issue Mar 8, 2016 · 7 comments

Comments

@cvogt
Copy link

cvogt commented Mar 8, 2016

also see #167

some jenkins packages aren't on maven central, so resolving from maven fails

@cvogt
Copy link
Author

cvogt commented Mar 8, 2016

[warn] io problem while parsing ivy file: https://repo1.maven.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom: Impossible to load parent for file:/Users/user/.ivy2/cache/org.jenkins-ci/annotation-indexer/ivy-1.4.xml.original. Parent=org.jenkins-ci#jenkins;1.26
[warn]  module not found: org.jenkins-ci#annotation-indexer;1.4
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/org.jenkins-ci/jenkins/1.26/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.jenkins-ci/jenkins/1.26/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /Users/user/.ivy2/local/org.jenkins-ci/jenkins/1.26/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/jenkins-ci/jenkins/1.26/jenkins-1.26.pom
[warn] ==== repo.jenkins-ci.org: tried
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.jenkins-ci#annotation-indexer;1.4: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Unresolved dependencies path:
[warn]      org.jenkins-ci:annotation-indexer:1.4
[warn]        +- com.infradna.tool:bridge-method-annotation:1.14
[warn]        +- org.kohsuke:github-api:1.72
[warn]        +- default:scala-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)

@cvogt
Copy link
Author

cvogt commented Mar 8, 2016

Solution: resolvers += "repo.jenkins-ci.org" at "http://repo.jenkins-ci.org/public"

@cvogt cvogt closed this as completed Mar 8, 2016
@cvogt
Copy link
Author

cvogt commented Mar 8, 2016

Your library is great. I checked out all of githubs recommendation and this one wins by far. Nice API and relatively typesafe 👍 . You should document the resolver above, so people don't get turned off when they can't resolve their deps :).

@oleg-nenashev
Copy link
Collaborator

Thanks for the feedback!
pom.xml explicitly points to the jenkinsci repo, so the current state looks good to me

@yuwenhuang
Copy link

Hi, I try to use this GitHub api today and have this same issue. How can I resolve it?

@KostyaSha
Copy link
Contributor

add repo.jenkins-ci.org

@paulvandenburg
Copy link

When using Gradle your config should look like this:

repositories {  
    mavenCentral()  
    maven {
        url 'http://repo.jenkins-ci.org/releases/'
    }
}

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

5 participants