refreshVersions seems not to work with local nexus repository
See original GitHub issue- I have read the guidelines for submitting issues
🐛 Describe the bug
refreshVersions seems not to work with local nexus repository
⚠️ Current behavior
We have a local nexus repository manager running, proxying also maven central and other services and holding own artifacs. When using this in the repositoy block like
buildscript {
repositories {
maven {
url "http://nexus.company.com:8082/repository/product/"
allowInsecureProtocol true
}
}
I get the error Cannot get version candidates with an empty fetchers list.
When I add mavenCentral(), pacakges from maven central are retreived, but for packages that are not on maven central, i get i.e.
Maven(group=com.github.jk1, name=gradle-license-report) not found. Searched the following repositories:
- https://repo.maven.apache.org/maven2/
✅ Expected behavior
With the dependency plugin everything works fine, but I would expect the refreshVersions plugin also work with proxy nexus repositories
💣 Steps to reproduce
Difficult. I can provide additional information on demand.
📱 Tech info
Issue Analytics
- State:
- Created 2 years ago
- Comments:12
Top Results From Across the Web
Issues · jmfayard/refreshVersions - GitHub
A self-documenting refreshVersions would waste less user and maintainer time core feature documentation FAQ needs-feedback not enough feedback to start ...
Read more >Gradle fails to resolve dependency through Nexus but artifacts ...
In my case refreshing the gradle dependencies worked. e.g. I executed gradle clean --refresh-dependencies once. And then the builds worked ...
Read more >Go Repositories - Sonatype Help
Start up your local instance of Nexus Repository and work through the steps below. In this procedure (and in Use Case 2) you'll...
Read more >Dependency not updated from nexus - Gradle Forums
... a dependency from a nexus repository the gradle script looks like: buildscript ... but it does not and keeps the previous local...
Read more >Problem with dashboard-builder-bom:pom:6.2.0.CR4 via ...
CR4 in was cached in the local repository, resolution will not be reattempted ... expiring caches but it seems fruitless.... although I'm no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just tested it, it’s working. Thanks a lot.
Cool, i will try as soon as possible.
Louis CAD @.***> schrieb am So., 9. Jan. 2022, 15:37: