Don't fail completely if a dependency's version info can't be found
See original GitHub issue- I have read the guidelines for submitting issues
⚠️ 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:
- Created 2 years ago
- Reactions:1
- Comments:7
Top 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 >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
Thank you, thank you, thank you! I got busy at work and didn’t check back as I should have.
Almost done.