-
Notifications
You must be signed in to change notification settings - Fork 1k
[2.x] dependencyLock captures file URL #8741
Copy link
Copy link
Closed
Labels
Description
steps
scalaVersion := "2.13.16"Using a locally published snapshot run dependencyLock
problem
- The artifact URL captures my Coursier cache directory:
{
"version": "1.0",
"buildClock": "725bc176e1f279828c9a0be08578993d56a5bd5f5d1c06d4eab8ee29471cc998",
"configurations": [
{
"name": "compile",
"dependencies": [
{
"organization": "org.scala-lang",
"name": "scala-library",
"version": "2.13.16",
"configuration": "compile",
"tpe": "jar",
"transitives": [],
"artifacts": [
{
"url": "file:/Users/xxxx/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.16/scala-library-2.13.16.jar",
"extension": "jar",
"tpe": "jar"
}
]
}
]
},
.....expectation
- Ideally, it should contain the original URL to Maven Central
- Whenever it tries to capture the
file://URL, for example because of some local repository, it should just fail to create a lock file
Reactions are currently unavailable