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
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    static void
    main(String... args)
    Simple app to test the generator.it will not generate any files but will print output

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.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 ...