Package io.micronaut.maven
Class ImportFactoryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.micronaut.maven.AbstractMicronautMojo
io.micronaut.maven.ImportFactoryMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="generate-import-factory",
defaultPhase=GENERATE_SOURCES,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class ImportFactoryMojo
extends AbstractMicronautMojo
Import beans from project dependencies by generating factories annotated with
@Import
containing the list of packages.- Since:
- 4.5.0
- Author:
- Auke Schrijnen
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micronaut.maven.AbstractMicronautMojo
setLog
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setPluginContext
-
Field Details
-
MOJO_NAME
Name of the import factory mojo.- See Also:
-
-
Constructor Details
-
ImportFactoryMojo
-
-
Method Details
-
execute
- Throws:
org.apache.maven.plugin.MojoExecutionException
-