Package org.apache.camel.maven
Class PrepareFatJarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.PrepareFatJarMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="prepare-fatjar",
threadSafe=true,
requiresDependencyResolution=COMPILE,
defaultPhase=PREPARE_PACKAGE)
public class PrepareFatJarMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionPrepareFatJarMojo(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()protected Collection<String> Finds the type converter loader classes from the classpath looking for text files on the classpath at theMETA_INF_SERVICES_TYPE_CONVERTER_LOADERlocation.protected final ClassLoaderMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
PrepareFatJarMojo
@Inject public PrepareFatJarMojo(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-
findTypeConverterLoaderClasses
Finds the type converter loader classes from the classpath looking for text files on the classpath at theMETA_INF_SERVICES_TYPE_CONVERTER_LOADERlocation. -
getProjectClassLoader
protected final ClassLoader getProjectClassLoader() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-