Package org.apache.rat.tools
Class MavenGenerator
java.lang.Object
org.apache.rat.tools.MavenGenerator
A simple tool to convert CLI options to Maven Mojo base class
-
Method Summary
Modifier and TypeMethodDescriptionstatic Predicate
<org.apache.commons.cli.Option> Returns the Option predicate that removes all unsupported Options for the Maven UI.static void
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.
-
Method Details
-
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
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.
- Parameters:
args
- the arguments- Throws:
IOException
- on error
-