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.

refreshVersions seems not to work with local nexus repository

See original GitHub issue

🐛 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:closed
  • Created 2 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
StefanHirchecommented, Jan 25, 2022

I just tested it, it’s working. Thanks a lot.

0reactions
StefanHirchecommented, Jan 9, 2022

Cool, i will try as soon as possible.

Louis CAD @.***> schrieb am So., 9. Jan. 2022, 15:37:

Feature released in version 0.32.0

— Reply to this email directly, view it on GitHub https://github.com/jmfayard/refreshVersions/issues/456#issuecomment-1008309704, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPHWIBCE6ZHAXZS3R6OA3UVGMQ5ANCNFSM5HK63AWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were assigned.Message ID: @.***>

Read more comments on GitHub >

github_iconTop 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 >

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