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.
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.