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.

Don't fail completely if a dependency's version info can't be found

See original GitHub issue

⚠️ Is your feature request related to a problem? Please describe

An internal project owned by another team is not published correctly, so refreshVersions can’t read its version. But when I try to run refreshVersions, it errors out and doesn’t report any new versions. So my only choice is to either hard-code the version in build.gradle, or comment out the offending project so that the error doesn’t happen. The first means all my versions wouldn’t be in the same location. The second is a lot of fiddling every time I want to check versions.

💡 Describe the solution you’d like

If refreshVersions can’t find a dependency, it should just put a comment (e.g., # no version info could be found) and add all the version info for the other dependencies, rather than erroring and not updating any of the versions.

🤚 Do you want to develop this feature yourself?

  • Yes
  • No but I’d be happy to. I suspect the hardest part would be figuring out where all this happens.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
toddobryancommented, Mar 1, 2022

Thank you, thank you, thank you! I got busy at work and didn’t check back as I should have.

0reactions
LouisCADcommented, Jan 22, 2022

Almost done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

maven dependency without version - Stack Overflow
It is impossible for maven to work without defining versions of the artifacts. They should be defined somewhere in dependencyManagement tag ...
Read more >
There has been a missing dependency failure, check the job ...
Solution. As MVC solution, we are improving the callout error message here to show the list of depended jobs that caused the missing...
Read more >
'dependencies.dependency.version' for xxx is missing #104
I am testing out tiles because I need to bring in Spring Boot (which is normally done through a parent pom) into a...
Read more >
How to Resolve a Version Collision of Artifacts in Maven
In this tutorial, we'll see how to resolve version collision of artifacts in Maven. We'll start with a multi-module project where we've ...
Read more >
apt - How do I resolve unmet dependencies after adding a PPA?
Packages are held because of dependency conflicts that apt cannot resolve. Try this command to find and repair the conflicts:
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