Package org.apache.camel.maven.packaging
Class PackageArchetypeCatalogMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.camel.maven.packaging.PackageArchetypeCatalogMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="generate-and-attach-archetype-catalog", threadSafe=true) public class PackageArchetypeCatalogMojo extends org.apache.maven.plugin.AbstractMojo
Creates the Maven catalog for the Camel archetypes
-
-
Constructor Summary
Constructors Constructor Description PackageArchetypeCatalogMojo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Execute goal.static void
generateArchetypeCatalog(org.apache.maven.plugin.logging.Log log, org.apache.maven.project.MavenProject project, org.apache.maven.project.MavenProjectHelper projectHelper, File outDir)
-
-
-
Field Detail
-
project
@Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
The maven project.
-
outDir
@Parameter(defaultValue="${project.build.directory}/classes/") protected File outDir
The output directory for generated archetypes
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
Execute goal.- Throws:
org.apache.maven.plugin.MojoExecutionException
- execution of the main class or one of the threads it generated failed.org.apache.maven.plugin.MojoFailureException
- something bad happened...
-
generateArchetypeCatalog
public static void generateArchetypeCatalog(org.apache.maven.plugin.logging.Log log, org.apache.maven.project.MavenProject project, org.apache.maven.project.MavenProjectHelper projectHelper, File outDir) throws org.apache.maven.plugin.MojoExecutionException, IOException
- Throws:
org.apache.maven.plugin.MojoExecutionException
IOException
-
-