public class PrepareCatalogKarafMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_SIZE |
protected File |
componentsDir
The components directory where all the Apache Camel components are
|
protected File |
componentsOutDir
The output directory for components catalog
|
protected File |
coreDir
The camel-core directory where camel-core components are
|
protected File |
dataFormatsOutDir
The output directory for dataformats catalog
|
protected File |
featuresDir
The karaf features directory
|
protected File |
languagesOutDir
The output directory for languages catalog
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
Constructor and Description |
---|
PrepareCatalogKarafMojo() |
Modifier and Type | Method and Description |
---|---|
static void |
copyFile(File from,
File to) |
void |
execute()
Execute goal.
|
protected void |
executeComponents(Set<String> features) |
protected void |
executeDataFormats(Set<String> features) |
protected void |
executeLanguages(Set<String> features) |
public static final int BUFFER_SIZE
protected org.apache.maven.project.MavenProject project
protected File componentsOutDir
protected File dataFormatsOutDir
protected File languagesOutDir
protected File featuresDir
protected File componentsDir
protected File coreDir
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
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...protected void executeComponents(Set<String> features) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void executeDataFormats(Set<String> features) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void executeLanguages(Set<String> features) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public static void copyFile(File from, File to) throws IOException
IOException
Apache Camel