question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider adding JCenter to the list of default resolvers

See original GitHub issue

I remember that at some point JCenter was in the list of default resolvers, but I missed that it was removed and only recently discovered this:

I understand that there were some problems with making JCenter the new default resolver and replacing Maven Central, but I don’t quite understand why it cannot be just another resolver in the default chain. Could it be added again (in addition to Maven Central) or it is unlikely for some technical reason?

Note, useJCenter setting is not a solution. I’d like to be able to publish to JCenter without forcing users to use useJCenter := true or resolvers += Resolver.jcenterRepo.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

5reactions
eed3si9ncommented, Dec 2, 2017

@brianf On behalf of Scala community, I just wanted to say thanks to you and Sonatype for all the work and funding on Maven Central.

As per this issue, I think we can safely close this as wontfix.

3reactions
brianfcommented, Dec 1, 2017

As a follow up, anyone here interested in the history of Central, I was recently on a podcast describing it. https://manifest.fm/6

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding JCenter to resolvers doesn't work · Issue #2465 - GitHub
The problem is that the JCenter can slip in from our launcher's repository list. So removing JCenter is intentional design unless your solution ......
Read more >
How to force Maven to use jcenter repoistory - Stack Overflow
I was trying to get dependencies with mvn, but the problem is that one of packages is not in the officail repo. I've...
Read more >
Upgrade Android Project from JCenter to Maven Central
Google's Android Studio defaults to the JCenter repository for non-Google artifacts. Unfortunately, JFrog, the maintainers of JCenter, ...
Read more >
Declaring repositories - Gradle User Manual
Gradle can resolve dependencies from one or many repositories based on Maven, Ivy or flat directory formats. Check out the full reference on...
Read more >
sbt Reference Manual — Resolvers
Resolver. · DefaultMavenRepository This is the main Maven repository at https://repo1.maven.org/maven2/ and is included by default · JavaNet2Repository This is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found