-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
area/library_managementlibrary managementlibrary managementneeds infoNeeds more information to take further actions.Needs more information to take further actions.
Description
steps
project/build.properties
sbt.version=0.13.6-SNAPSHOT
project/plugins.sbt
ivyPaths := new IvyPaths(baseDirectory.value, Some(baseDirectory.value / "ivy-cache"))build.sbt
ivyPaths := new IvyPaths(baseDirectory.value / "project", Some(baseDirectory.value / "project" / "ivy-cache"))Publish sbt 0.13.6-SNAPSHOT locally then copy the cache.
$ mkdir -p project/ivy-cache/cache/org.scala-sbt
$ cp -r ~/.ivy2/cache/org.scala-sbt/ project/ivy-cache/cache/org.scala-sbt
$ sbt
problem
info] Resolving org.scala-sbt#sbt;0.13.6-SNAPSHOT ...
[warn] module not found: org.scala-sbt#sbt;0.13.6-SNAPSHOT
[warn] ==== typesafe-ivy-snapshots: tried
[warn] http://repo.typesafe.com/typesafe/ivy-snapshots/org.scala-sbt/sbt/0.13.6-SNAPSHOT/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/sbt/0.13.6-SNAPSHOT/ivys/ivy.xml
[warn] ==== local: tried
[warn] /Users/xxx/work/test/project/ivy-cache/local/org.scala-sbt/sbt/0.13.6-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.6-SNAPSHOT/sbt-0.13.6-SNAPSHOT.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-sbt#sbt;0.13.6-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] org.scala-sbt:sbt:0.13.6-SNAPSHOT
[warn] +- default:test-build:0.1-SNAPSHOT (sbtVersion=0.13, scalaVersion=2.10)
expectation
If the module is in the cache it should use it, but only as a fallback.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/library_managementlibrary managementlibrary managementneeds infoNeeds more information to take further actions.Needs more information to take further actions.