Class MavenGenerator

java.lang.Object
org.apache.rat.tools.MavenGenerator

public final class MavenGenerator extends Object
A simple tool to convert CLI options to Maven Mojo base class
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    static Predicate<org.apache.commons.cli.Option>
    Returns the Option predicate that removes all unsupported Options for the Maven UI.
    static void
    main(String[] args)
    Creates the Maven MojoClass Requires 3 arguments: the package name for the class the simple class name the directory in which to write the class file.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details Link icon

    • getFilter Link icon

      public static Predicate<org.apache.commons.cli.Option> getFilter()
      Returns the Option predicate that removes all unsupported Options for the Maven UI.
      Returns:
      the Option predicate that removes all unsupported Options for the Maven UI.
    • main Link icon

      public static void main(String[] args) throws IOException
      Creates the Maven MojoClass Requires 3 arguments:
      1. the package name for the class
      2. the simple class name
      3. the directory in which to write the class file.
      Parameters:
      args - the arguments
      Throws:
      IOException - on error