Package org.apache.camel.maven.packaging
Class SpiGeneratorMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.camel.maven.packaging.AbstractGeneratorMojo
-
- org.apache.camel.maven.packaging.SpiGeneratorMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="generate-spi", threadSafe=true, requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=PROCESS_CLASSES) public class SpiGeneratorMojo extends AbstractGeneratorMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected File
classesDirectory
static org.jboss.jandex.DotName
CONSTANT_PROVIDER
protected File
resourcesOutputDir
static org.jboss.jandex.DotName
SERVICE_FACTORY
protected File
sourcesOutputDir
-
Fields inherited from class org.apache.camel.maven.packaging.AbstractGeneratorMojo
buildContext, GENERATED_MSG, NL, project, projectHelper
-
-
Constructor Summary
Constructors Constructor Description SpiGeneratorMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class org.apache.camel.maven.packaging.AbstractGeneratorMojo
addResourceDirectory, cache, createProperties, createProperties, execute, getProjectClassLoader, haveResourcesChanged, loadClass, refresh, refresh, updateResource, updateResource
-
-
-
-
Field Detail
-
SERVICE_FACTORY
public static final org.jboss.jandex.DotName SERVICE_FACTORY
-
CONSTANT_PROVIDER
public static final org.jboss.jandex.DotName CONSTANT_PROVIDER
-
classesDirectory
@Parameter(defaultValue="${project.build.outputDirectory}") protected File classesDirectory
-
sourcesOutputDir
@Parameter(defaultValue="${project.basedir}/src/generated/java") protected File sourcesOutputDir
-
resourcesOutputDir
@Parameter(defaultValue="${project.basedir}/src/generated/resources") protected File resourcesOutputDir
-
-