Why sbt can't resolve missing dependencies while maven can?
See original GitHub issuesbt version: 0.13.15
I can’t resolve some dependencies with this build.sbt:
scalaVersion := "2.11.11"
libraryDependencies ++= Seq(
"org.opentripplanner" % "otp" % "1.1.0"
)
It complained about module not found: com.conveyal#jackson2-geojson;0.8
.
From the repository url on mvnrepository.com: https://mvnrepository.com/artifact/org.opentripplanner/otp/1.1.0
If you look at the “Compile Dependencies” section, it seems the resolve failed because com.conveyal » jackson2-geojson (0.8)
library (and some other libraries too) doesn’t exist in the repository anymore.
However, with same configuration maven can resolve those missing libraries without issue:
<dependencies>
<dependency>
<groupId>org.opentripplanner</groupId>
<artifactId>otp</artifactId>
<version>1.1.0</version>
</dependency>
</dependencies>
Anyone can explain what happened? How could I achieve same thing with sbt?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to resolve missing dependencies in Maven/sbt/ivy?
When these dependencies are dependencies of my dependencies those dependencies should have existed once. unresolved dependency: com.teamdev# ...
Read more >New dependencies added to build.sbt are not seen by Intellij ...
One reason this might happen if the repository where the dependency is contained is not properly indexed. Refreshing the import will cause sbt ......
Read more >Troubleshooting - sbt - Triplequote Hydra
If you are using Coursier, start by checking if dependency resolution succeeds if you remove the Coursier sbt plugin. This will help you...
Read more >sbt Reference Manual — Combined Pages
Most of the time, you can simply list your dependencies in the setting libraryDependencies . It's also possible to write a Maven POM...
Read more >Re: [sbt] Downloading Plugin dependency via repo proxy ...
I was able to set this up by using -Dsbt.boot.properties=sbt.boot.properties when calling the sbt-launch.jar and specify both an ivy-proxy and a maven-proxy.
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 Free
Top 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
is the work around for this to install with mvn and not depend on sbt?
I am closing this since adding a resolver would work?