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

Unable to resolve github-api artifacts from Maven Central #195

Closed
msteiger opened this issue May 29, 2015 · 7 comments
Closed

Unable to resolve github-api artifacts from Maven Central #195

msteiger opened this issue May 29, 2015 · 7 comments

Comments

@msteiger
Copy link

The source of the problem seems to be the incorrect pom.xm file for org.jenkins-ci:annotation-indexer:1.4. It reports jenkins as being the its parent, which is not in Central. Thus, the parent fails to resolve.

This issue has already been reported in slightly different contexts at MVNCENTRAL-648 and JENKINS-27599.

I would assume that only @kohsuke (who apparently has signed it) can edit the pom or upload a new one with a higher version number.

org.kohsuke:github-api:1.68
+--- commons-lang:commons-lang:2.6
+--- commons-codec:commons-codec:1.7
+--- com.fasterxml.jackson.core:jackson-databind:2.2.3
|    +--- com.fasterxml.jackson.core:jackson-annotations:2.2.3
|    \--- com.fasterxml.jackson.core:jackson-core:2.2.3
+--- commons-io:commons-io:1.4
\--- com.infradna.tool:bridge-method-annotation:1.14
     \--- org.jenkins-ci:annotation-indexer:1.4 FAILED
@mikkelbd
Copy link

Any progress on this one @kohsuke? Would like to use the library, but version 1.70 still has the problem and thus can't be used with Maven.

@kohsuke
Copy link
Collaborator

kohsuke commented Dec 1, 2015

I just attempted to upload org.jenkins-ci:jenkins:1.26 but it failed central sync rules: Project description missing, License information missing, Developer information missing.

So this involves releaseing new parent POM and update relevant dependencies. This is becoming a bit bigger problem than I would have hoped.

@mikkelbd
Copy link

mikkelbd commented Dec 2, 2015

Ok, thank you for the effort! I managed to bypass the problem by adding http://repo.jenkins-ci.org/releases as a Maven repository.

@henryju
Copy link
Contributor

henryju commented Feb 12, 2016

We were bitten by the same problem. Would be great to have it solved since central is supposed to be "self contained".

@szpak
Copy link
Contributor

szpak commented Apr 4, 2016

I agree that it would be good to not have to add an another artifact repository just for a parent pom.

@laughedelic
Copy link

So this involves releaseing new parent POM and update relevant dependencies. This is becoming a bit bigger problem than I would have hoped.

@kohsuke if you are still able to resolve this, please do it 🙏

This is a serious issue, because currently you force all users of your library to add that extra resolver to their builds and it's transitive, so if I have a library that depends on yours, all users of my library are forced to add this resolver 👎

Current situation basically forces me to stop using it and consider migrating to another one, but I would like to avoid it.

@apratina
Copy link

This problem is not happening in the latest github-api:1.92 anymore.

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

8 participants