Legacy Artifact Handlers Reference
Maven 3 artifact handlers (see API) define for each dependency type information on the artifact (classifier, extension, language) and how to manage it as dependency (add to classpath, include dependencies).
They are replaced in Maven 4 with Maven 4 API Core's Dependency Types, with default values defined in DefaultTypeProvider.
For compatibility, legacy Maven 3 artifact handlers are still provided:
type | classifier | extension | packaging | language | added to classpath | includesDependencies |
---|---|---|---|---|---|---|
pom |
= type | = type | none | |||
jar |
= type | = type | java | true |
||
test-jar |
tests |
jar |
jar |
java | true |
|
maven-plugin |
jar |
= type | java | true |
||
ejb |
jar |
= type | java | true |
||
ejb-client |
client |
jar |
ejb |
java | true |
|
war |
= type | = type | java | true | ||
ear |
= type | = type | java | true | ||
rar |
= type | = type | java | true | ||
java-source |
sources |
jar |
= type | java | ||
javadoc |
javadoc |
jar |
= type | java | true |