Package org.apache.camel.maven.packaging
Class AllDslKotlinMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.packaging.AbstractGeneratorMojo
org.apache.camel.maven.packaging.AllDslKotlinMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-all-dsl-kotlin",
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
defaultPhase=PROCESS_CLASSES)
public class AllDslKotlinMojo
extends AbstractGeneratorMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Fileprotected Fileprotected Fileprotected Stringprotected Fileprotected Stringprotected Fileprotected Stringprotected Fileprotected FileFields inherited from class org.apache.camel.maven.packaging.AbstractGeneratorMojo
buildContext, GENERATED_MSG, NL, project, projectHelperFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.maven.packaging.AbstractGeneratorMojo
addResourceDirectory, cache, canonicalClassName, createProperties, createProperties, findConfigurations, format, getProjectClassLoader, haveResourcesChanged, isJsonFile, loadClass, newTreeSet, refresh, refresh, updateResource, updateResource, velocityMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
buildDir
-
baseDir
-
componentsPackageName
@Parameter(defaultValue="org.apache.camel.kotlin.components") protected String componentsPackageName -
dataFormatsPackageName
@Parameter(defaultValue="org.apache.camel.kotlin.dataformats") protected String dataFormatsPackageName -
languagesPackageName
-
sourcesOutputDir
-
outputResourcesDir
-
componentsJsonDir
@Parameter(defaultValue="${project.basedir}/../../catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components") protected File componentsJsonDir -
dataFormatsJsonDir
@Parameter(defaultValue="${project.basedir}/../../catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats") protected File dataFormatsJsonDir -
languagesJsonDir
@Parameter(defaultValue="${project.basedir}/../../catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages") protected File languagesJsonDir
-
-
Constructor Details
-
AllDslKotlinMojo
public AllDslKotlinMojo()
-
-
Method Details
-
execute
public void execute(org.apache.maven.project.MavenProject project, org.apache.maven.project.MavenProjectHelper projectHelper, org.codehaus.plexus.build.BuildContext buildContext) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException - Overrides:
executein classAbstractGeneratorMojo- Throws:
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionException
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-