Skip to content

Expected behavior of versionization when child doesn't use "_" in version #36

@ejschoen

Description

@ejschoen

Jim,
Thanks for providing lein-modules. It solves a lot of maintenance issues for us. However, I am having trouble understanding the expected behavior of versionization when a child project specifies an explicit version for a library and there is a matching version in the parent's version map.

Case in point: We use Clojure 1.6 for a variety of reasons in most projects, but use 1.8 in a single project. The parent project specifies org.clojure/clojure "1.6.0" and most subprojects specify [org.clojure/clojure "_"] in their dependency vectors. However, the one project that needs Clojure 1.8 specifies [org.clojure/clojure "1.8.0"]. Still, at lein time, versionization replaces the 1.8.0 with 1.6.0. Looking at the lein-modules source, I see why. However, the README explanation lead me to think that a version in a child dependency vector other than "_" shouldn't be replaced.

Am I missing something?

Thanks,
Eric

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions