Skip to content

SNAPSHOT dependency with classifiers not updated #1676

@wedens

Description

@wedens

Ref #641

sbt version: 0.13.5

  1. old version of dependency in local ivy cache
  2. publish updated dependency to nexus repository
  3. sbt update
  4. cache still contains old version

Dependency declared like:

libraryDependencies += "org.test" %% "dep" % "0.1-SNAPSHOT" classifier "assembly" intransitive()

from sbt last:

[info] Resolving org.test#dep_2.11;0.1-SNAPSHOT ...
[debug] sbt-chain: Checking cache for: dependency: org.test#dep_2.11;0.1-SNAPSHOT {compile=[default(compile)]}
[debug] don't use cache for org.test#dep_2.11;0.1-SNAPSHOT: changing=true
[debug] don't use cache for org.test#dep_2.11;0.1-SNAPSHOT: changing=true
[debug]                 tried /home/user/.ivy2/local/org.test/dep_2.11/0.1-SNAPSHOT/ivys/ivy.xml
[debug]         local: no ivy file found for org.test#dep_2.11;0.1-SNAPSHOT
[debug] don't use cache for org.test#dep_2.11;0.1-SNAPSHOT: changing=true
[debug]         maven-metadata not available: /home/user/.m2/repository/org/test/dep_2.11/0.1-SNAPSHOT/maven-metadata.xml
[debug]                 tried file:/home/user/.m2/repository/org/test/dep_2.11/0.1-SNAPSHOT/dep_2.11-0.1-SNAPSHOT.pom
[debug]         Maven2 Local: no ivy file found for org.test#dep_2.11;0.1-SNAPSHOT
[debug] don't use cache for org.test#dep_2.11;0.1-SNAPSHOT: changing=true
[debug]                 tried http://nexus.domain.lan/nexus/content/groups/public/org/test/dep_2.11/0.1-SNAPSHOT/dep_2.11-0.1-SNAPSHOT.pom
[debug]         test-proxy: found md file for org.test#dep_2.11;0.1-SNAPSHOT
[debug]                 => http://nexus.domain.lan/nexus/content/groups/public/org/test/dep_2.11/0.1-SNAPSHOT/dep_2.11-0.1-SNAPSHOT.pom (0.1-SNAPSHOT)
[debug]         default-cache: revision in cache (not updated): org.test#dep_2.11;0.1-SNAPSHOT
[debug]         found org.test#dep_2.11;0.1-SNAPSHOT in sbt-chain

[NOT REQUIRED] org.test#dep_2.11;0.1-SNAPSHOT!dep_2.11.jar

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions