Unable to resolve dependencies with no version specified
See original GitHub issueSimple to reproduce:
[coursier] ./coursier fetch "net.openhft":"chronicle-map":"2.4.12"
Results in this:
Dependencies:issing file(s) / 14
net.openhft:chronicle-map:2.4.12:default(compile)
https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.pom
100.0% [##########] 2.6 KiB (14.1 KiB / s)
https://repo1.maven.org/maven2/org/slf4j/slf4j-parent/1.7.6/slf4j-parent-1.7.6.pom
100.0% [##########] 11.6 KiB (401.0 KiB / s)
Error:
org.ops4j.pax.url:pax-url-aether::
Not found: https://repo1.maven.org/maven2/org/ops4j/pax/url/pax-url-aether//pax-url-aether-.pom
org.ow2.asm:asm::
Not found: https://repo1.maven.org/maven2/org/ow2/asm/asm//asm-.pom
org.xerial.snappy:snappy-java::
Not found: https://repo1.maven.org/maven2/org/xerial/snappy/snappy-java//snappy-java-.pom
org.codehaus.jettison:jettison::
Not found: https://repo1.maven.org/maven2/org/codehaus/jettison/jettison//jettison-.pom
com.intellij:annotations::
Not found: https://repo1.maven.org/maven2/com/intellij/annotations//annotations-.pom
com.sun.java:tools::
Not found: https://repo1.maven.org/maven2/com/sun/java/tools//tools-.pom
com.thoughtworks.xstream:xstream::
Not found: https://repo1.maven.org/maven2/com/thoughtworks/xstream/xstream//xstream-.pom
The POM file at http://central.maven.org/maven2/net/openhft/chronicle-map/2.4.12/chronicle-map-2.4.12.pom
has a bunch of dependencies without a version specified, like this:
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Why maven sometimes can't resolve dependencies?
If we use BOM, we don't need to specify version numbers each time we add dependencies under same parent POM. For example:
Read more >Problem: Unable to resolve dependencies of NuGet packages
Delete all packages from the packages folder, located in your project's folder. Reinstall Telerik.Sitefinity.All to the desired version. Rebuild the project.
Read more >Could not resolve dependencies - MuleSoft Help Center
Could not resolve dependencies. <p>I am trying to learn Mulesoft. I have no Java experience, so this might seem like a basic question/solution....
Read more >NuGet Package Dependency Resolution - Microsoft Learn
NuGet generates an error when an exact package version is not available ... A floating dependency version is specified with the * character....
Read more >Downgrading versions and excluding dependencies
Overriding transitive dependency versions. Gradle resolves any dependency version conflicts by selecting the latest version found in the dependency graph. Some ...
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
Although mixed along less relevant errors, the checksum error is now in the output:
Reported at https://github.com/OpenHFT/OpenHFT/issues/15