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 EE
Path annotations.- Author:
- maxence
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
GeneratorPlugin
public GeneratorPlugin()Default constructor.
-
-
Method Details
-
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
-
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 ...
-