File tree Expand file tree Collapse file tree
apache-rat-core/src/main/resources/org/apache/rat
apache-rat-tools/src/main/java/org/apache/rat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ caption {color:blue;text-align:left;}
7070
7171 <h1 >Rat Report</h1 >
7272<div class =" center" >
73- <table id =" rat-reports summary" cellspacing =" 0" summary =" A snapshot summary of this rat report" >
73+ <table id =" rat-reports summary" cellspacing =" 0" summary =" A snapshot summary of this RAT report" >
7474<caption >
7575Table 1: A snapshot summary of this rat report.
7676</caption >
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ tasks.withType<Jar>().configureEach {
186186 // Do not add any (more or less) dynamic information to jars, because that makes Gradle's
187187 // caching way less efficient. Note that version and Git information are already added to jar
188188 // manifests for release(-like) builds.
189- " Implementation-Title" to " Apache Rat(TM) " ,
189+ " Implementation-Title" to " Apache Creadur RAT™ " ,
190190 " Implementation-Vendor" to " Apache Software Foundation" ,
191191 " Implementation-URL" to " https://creadur.apache.org/rat/" ,
192192 )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
2626
2727 Build aborted...
2828
29- The Apache Rat Gradle Plugin build requires Java 17.
29+ The Apache Creadur RAT Gradle Plugin build requires Java 17.
3030 Detected Java version: ${JavaVersion .current()}
3131
3232 """
Original file line number Diff line number Diff line change 3838import static java .lang .String .format ;
3939
4040/**
41- * A representation of a CLI option as a Maven option
41+ * A representation of a CLI option as a Gradle option
4242 */
4343public class GradleOption extends AbstractOption {
4444 /**
4545 * Default values for CLI options
4646 */
4747 private static final Map <Arg , String > DEFAULT_VALUES = new HashMap <>();
4848 /**
49- * List of CLI options that are not supported by Maven .
49+ * List of CLI options that are not supported by Gradle .
5050 */
5151 private static final Set <Option > UNSUPPORTED_LIST = new HashSet <>();
5252 /** A mapping of external name to internal name if not standard. */
5353 private static final Map <String , String > RENAME_MAP = new HashMap <>();
5454
5555 /**
56- * Filter to remove options not supported by Maven .
56+ * Filter to remove options not supported by Gradle .
5757 */
5858 private static final Predicate <Option > GRADLE_FILTER ;
5959
6060 static {
6161 RENAME_MAP .put ("addLicense" , "add-license" );
62- DEFAULT_VALUES .put (Arg .OUTPUT_FILE , "${project.build.directory}/rat.txt" );
62+ DEFAULT_VALUES .put (Arg .OUTPUT_FILE , "${project.build.directory}/rat.txt" ); // TODO isn't this HTML?
6363 UNSUPPORTED_LIST .addAll (Arg .DIR .group ().getOptions ());
6464 UNSUPPORTED_LIST .addAll (Arg .LOG_LEVEL .group ().getOptions ());
6565 UNSUPPORTED_LIST .add (OptionCollection .HELP );
Original file line number Diff line number Diff line change 4141import static java .lang .String .format ;
4242
4343/**
44- * A simple tool to convert CLI options to a Maven Mojo base class.
44+ * A simple tool to convert CLI options to a Gradle base class.
4545 */
4646public final class GradleGenerator {
4747
@@ -53,7 +53,7 @@ private static String argsKey(final Option option) {
5353 }
5454
5555 /**
56- * Creates the Maven MojoClass
56+ * Creates the Gradle base class
5757 * Requires 3 arguments:
5858 * <ol>
5959 * <li>the package name for the class</li>
You can’t perform that action at this time.
0 commit comments