Skip to content

uberjar artifacts do not get uploaded #9

@sco11morgan

Description

@sco11morgan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions