librelist archives

« back to archive

Maven Shade with Leiningen?

Maven Shade with Leiningen?

From:
Derek Brown
Date:
2014-04-08 @ 18:53
Is there any way to use the Maven Shade Plugin (
http://maven.apache.org/plugins/maven-shade-plugin/) with Leiningen? That
is, in a project.clj rather than a pom.xml. In order to rename some
dependencies to avoid conflicts with differing dependency versions by users
of the Clojure library.

Thanks,
Derek

Re: [leiningen] Maven Shade with Leiningen?

From:
Phil Hagelberg
Date:
2014-04-08 @ 19:02
Derek Brown <derekbrown121@gmail.com> writes:

> Is there any way to use the Maven Shade Plugin (
> http://maven.apache.org/plugins/maven-shade-plugin/) with Leiningen? That
> is, in a project.clj rather than a pom.xml. In order to rename some
> dependencies to avoid conflicts with differing dependency versions by users
> of the Clojure library.

There is no way to use Maven plugins from Leiningen, but most plugins
have Leiningen equivalents these days. I'm pretty sure if you check the
Plugins wiki you can find one that does renaming of jar entries.

-Phil