Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Use Maven classifiers to distinguish OSS from commercial deliverables #3073

Open
lukaseder opened this Issue · 0 comments

1 participant

@lukaseder
Owner

classifier:
The classifier allows to distinguish artifacts that were built from the same POM but differ in their content. It is some optional and arbitrary string that - if present - is appended to the artifact name just after the version number.
As a motivation for this element, consider for example a project that offers an artifact targeting JRE 1.5 but at the same time also an artifact that still supports JRE 1.4. The first artifact could be equipped with the classifier jdk15 and the second one with jdk14 such that clients can choose which one to use.

Another common use case for classifiers is the need to attach secondary artifacts to the project's main artifact. If you browse the Maven central repository, you will notice that the classifiers sources and javadoc are used to deploy the project source code and API docs along with the packaged class files.

Taken from:
http://maven.apache.org/pom.html

This was suggested by @jonnybbb

@lukaseder lukaseder added this to the Version 3.4.0 milestone
@lukaseder lukaseder added P: High and removed P: Medium labels
@lukaseder lukaseder added the R: Fixed label
@lukaseder lukaseder closed this
@lukaseder lukaseder reopened this
@lukaseder lukaseder removed the R: Fixed label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.