pliant / lein-package

A leiningen plugin that provides the ability to package, install, and deploy non-jar generated artifacts.
5 stars 8 forks source link

uberjar artifacts do not get uploaded #9

Open sco11morgan opened 10 years ago

sco11morgan commented 10 years ago

I'm trying to upload an uberjar to a maven repo using lein 2.3.2 and having problems. Ideally the normal jar and uberjar both would be built but only the uberjar would be uploaded. I've tried a few variations

:package {:artifacts [ {:build "uberjar" :extension "jar"}]} Then only the normal jar is built and uploaded.

:package {:autobuild true :artifacts [ {:build "uberjar" :extension "jar"}]} Then only the normal jar is built and uploaded.

:package {:artifacts [ {:build "uberjar" :extension "standalone.jar"}]} Then both the normal jar and the uberjar are built, but only the normal jar is uploaded.

:package {:autobuild true :artifacts [ {:build "uberjar" :extension "standalone.jar"}]} Then an attempt to upload is made but the artifact gets a ".standalone.jar" extension which fails on the maven repo side.

ivos commented 8 years ago

Had luck with: :classifier "standalone" :extension "jar"