3feae04e76
This commit fixes #2205: when using managed dependencies in a project, if the project itself was a non-SNAPSHOT version, then when `lein install` and similar tasks were executed, lein would check to make sure that none of the dependencies were a SNAPSHOT version. lein was checking that directly against the `:dependencies` vector, which would cause an NPE if a dependency didn't specify a version number (because it was inheriting it from the `:managed-dependencies` section). This commit fixes the bug by calling the code that merges the `:dependencies` and `:managed-dependencies` vectors together prior to performing the SNAPSHOT check. |
||
---|---|---|
.. | ||
bad-require | ||
file-not-found-thrower | ||
java-main | ||
jvm-opts | ||
managed-deps | ||
managed-deps-snapshot | ||
more-gen-classes | ||
native | ||
overlapped-sourcepaths | ||
provided | ||
sample | ||
sample-failing | ||
sample-fixture-error | ||
sample-no-aot | ||
sample-profile-meta | ||
sample-reader-cond | ||
tricky-name | ||
uberjar-components-merging | ||
uberjar-merging | ||
with-aliases | ||
with-aliases2 | ||
with-classifiers | ||
with-resources | ||
README.txt |
These projects are used for leiningen's test suite, so don't change any of these values without updating the relevant tests. If you just want a basic project to work from, generate a new one with "lein new".