Class GeneratorPlugin
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- ch.colabproject.colab.generator.plugin.GeneratorPlugin
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="generate", defaultPhase=GENERATE_SOURCES, requiresDependencyResolution=COMPILE) public class GeneratorPlugin extends org.apache.maven.plugin.AbstractMojo
Maven plugin to generate REST client. It allows to scan packages by reflections. It looks for Jakarta EEPath
annotations.- Author:
- maxence
-
-
Constructor Summary
Constructors Constructor Description GeneratorPlugin()
Default constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
static void
main(String... args)
Simple app to test the generator.it will not generate any files but will print output
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
main
public static void main(String... args) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
Simple app to test the generator.it will not generate any files but will print output- Parameters:
args
- unused yet- Throws:
org.apache.maven.plugin.MojoExecutionException
- if ...org.apache.maven.plugin.MojoFailureException
- if ...
-
-