[MNG-7267] update artifact handlers documentation

This commit is contained in:
Hervé Boutemy 2022-01-08 16:03:57 +01:00
parent 8bde888dc8
commit f30a0ab4dd
12 changed files with 34 additions and 1 deletions

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code ear} artifact handler provider.
*/
@Named( "ear" )
@Singleton
public class EarArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code ejb} artifact handler provider.
*/
@Named( "ejb" )
@Singleton
public class EjbArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code ejb-client} artifact handler provider.
*/
@Named( "ejb-client" )
@Singleton
public class EjbClientArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code jar} artifact handler provider.
*/
@Named( "jar" )
@Singleton
public class JarArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code java-source} artifact handler provider.
*/
@Named( "java-source" )
@Singleton
public class JavaSourceArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code javadoc} artifact handler provider.
*/
@Named( "javadoc" )
@Singleton
public class JavadocArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code maven-plugin} artifact handler provider.
*/
@Named( "maven-plugin" )
@Singleton
public class MavenPluginArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code pom} artifact handler provider.
*/
@Named( "pom" )
@Singleton
public class PomArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code rar} artifact handler provider.
*/
@Named( "rar" )
@Singleton
public class RarArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code test-jar} artifact handler provider.
*/
@Named( "test-jar" )
@Singleton
public class TestJarArtifactHandlerProvider

View File

@ -27,6 +27,9 @@ import javax.inject.Singleton;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.handler.DefaultArtifactHandler;
/**
* {@code war} artifact handler provider.
*/
@Named( "war" )
@Singleton
public class WarArtifactHandlerProvider

View File

@ -30,7 +30,7 @@ Default Artifact Handlers Reference
(classifier, extension, language) and how to manage it as dependency (add to classpath, include dependencies).
Some artifact handlers
are configured by default in <<<META-INF/plexus/artifact-handlers.xml>>>:
are configured by default in {{{./apidocs/org/apache/maven/artifact/handler/providers/package-summary.html}<<<org.apache.maven.artifact.handler.providers>>>}} package:
*--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
|| type || classifier || extension || packaging || language || added to classpath || includesDependencies ||