Skip to content

Relocate ivy cache directory #2

@matthughes

Description

@matthughes

By default SBT will put ivy resolution files in ${projectRoot}/target. This can be quite painful in mixed Maven/SBT projects as you run "mvn clean install" and blow away your Ivy cache inadvertently. With my project, resolution can take a LONG time, so I really don't want to blow that away.

Ideally this plugin would put the sbt resources in a different folder, 'sbtTarget' to prevent this collision. Or give an example of how to configure an individual project.

This post (http://stackoverflow.com/questions/17190755/why-sbt-runs-dependency-resolution-every-time-after-clean) describes how one can configure SBT to change that directory but I don't know how that fits into projects using PomReader

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions