Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uberjar artifacts do not get uploaded #9

Open
sco11morgan opened this issue Feb 17, 2014 · 1 comment
Open

uberjar artifacts do not get uploaded #9

sco11morgan opened this issue Feb 17, 2014 · 1 comment

Comments

@sco11morgan
Copy link

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
Copy link

ivos commented Oct 22, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants