RadicalZephyr / neo

Boot task for vendoring and prefixing clojure dependencies.
Eclipse Public License 1.0
2 stars 0 forks source link

Tag the vendored files with the version number #3

Open RadicalZephyr opened 6 years ago

RadicalZephyr commented 6 years ago

Like the current vendored deps inside boot have metadata on the namespace, this tool should be able to tag the file, preferably in a code accessible way, with the version that was included. That way source inspection of the jars stands a fighting chance of knowing what version got included.

RadicalZephyr commented 6 years ago

In this new paradigm each mentioned dependency will be processed along with all of it's transitive dependencies, and renaming should be consistently done across all of those.

The direct dependency should only be prefixed with the user specified (or default) prefix. But all transitive dependencies will also be prefixed by their name and version number. Since each direct dep is resolved as the only dependency, it should get the version of its deps that it requests. So by prefixing transitive deps with their coordinate, different direct dependencies with dependencies on the same other lib will actually get the different versions they require.