Skip to content

Ivy2 cache preceeds ivy2 local #2687

@jorkzijlstra

Description

@jorkzijlstra

steps

  • create an library and publish it
  • update the library and use publishLocal

problem

So you have 2 of the same snapshot version but with different code in your .ivy2 cache
On in .ivy2/cache and one in .ivye/local, where the one in .ivy/local is the latest snapshot version.

SBT resolved the dependency to the .ivy2/cache (older) version instead of the new .ivy2/local version.

expectation

That the .ivy2/local preceeds the .ivy2/cache

notes

We sometimes publish our snapshot version to share between environments, but this doesn't mean development is one. We still want/ need to update the exact same version number locally before remotely.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions