Skip to content

deploying jars with classifiers appears to be broken #511

@cprice404

Description

@cprice404

Many of our projects include 2 jars; a 'main' jar and a second jar with a 'test' classifier that contains test utility code for use by downstream libraries.

Historically we've had no troubles with this approach and it's worked fine with clojars. Here's an example of an artifact that was successfully published with this pattern:

https://clojars.org/repo/puppetlabs/trapperkeeper-webserver-jetty9/1.5.2/

However, we tried to do another release of this library today and, although lein reported a successful deploy and logged information about sending up the test jar, the repo directory does not contain the test jar:

https://clojars.org/repo/puppetlabs/trapperkeeper-webserver-jetty9/1.5.3/

Subsequently, I tried to do a deploy of a 1.5.4-SNAPSHOT artifact for the same project. It also showed the test jar being sent up to clojars in the lein output, but it ended up in an even weirder state:

https://clojars.org/repo/puppetlabs/trapperkeeper-webserver-jetty9/1.5.4-SNAPSHOT/

in this deployment it appears that the test jar was uploaded but the filename it was given is the filename of the main jar; so, the main jar has the test content, and the "real" main jar just doesn't seem to be in the repo.

Has anything changed lately that would affect the deployment of jars with classifiers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions