Skip to content

Bug: doesn't work with relative path in :mvn/local-repo #2535

@pinkfrog9

Description

@pinkfrog9

Given the following deps.edn

{:paths ["src/"]
 
 ;; store the deps within project so that gitlab can cache it.
 :mvn/local-repo "../../.m2/"
}

Cursive errs:
Errors during project resolution
The following errors were found during project resolve:
/foo/bar/deps.edn:
/../../.m2/org/clojure/clojure/1.10.1/clojure-1.10.1.pom.part.lock (No such file or directory)

So a / is added in front of the relative path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugMarks issues describing bugsreleasedMarks issues which have had the fixes released in a stable build

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions