CPD Results

The following document contains the results of PMD's CPD 4.1.

Duplications

File Line
org/codehaus/groovy/maven/plugin/tools/HelpMojo.java 111
org/codehaus/groovy/maven/plugin/tools/HelpMojo.java 379
                append( sb, "Flag to allow test compiliation to be skipped.", 3 );
                append( sb, "", 0 );

                append( sb, "sourceEncoding (Default: ${file.encoding})", 2 );
                append( sb, "Sets the encoding to be used when reading source files.", 3 );
                append( sb, "", 0 );

                append( sb, "sources", 2 );
                append( sb, "Source files to be included. If not specified, then the default will be used.", 3 );
                append( sb, "", 0 );

                append( sb, "stacktrace (Default: false)", 2 );
                append( sb, "Enable compiler to report stack trace information if a problem occurs.", 3 );
                append( sb, "", 0 );

                append( sb, "targetBytecode", 2 );
                append( sb, "Allow setting the bytecode compatibility.", 3 );
                append( sb, "", 0 );

                append( sb, "tolerance (Default: 0)", 2 );
                append( sb, "Sets the error tolerance, which is the number of non-fatal errors (per unit) that should be tolerated before compilation is aborted.", 3 );
                append( sb, "", 0 );

                append( sb, "verbose (Default: false)", 2 );
                append( sb, "Turns verbose operation on or off.", 3 );
                append( sb, "", 0 );
            }
        }

        if ( getLog().isInfoEnabled() )

File Line
org/codehaus/groovy/maven/plugin/tools/HelpMojo.java 83
org/codehaus/groovy/maven/plugin/tools/HelpMojo.java 347
            append( sb, "Compiles Groovy test sources.", 1 );
            append( sb, "", 0 );
            if ( detail )
            {
                append( sb, "Available parameters:", 1 );
                append( sb, "", 0 );

                append( sb, "classpath", 2 );
                append( sb, "Additional artifacts to add to the classpath (in addition to the classpath which is picked up from the executing poms configuration).", 3 );
                append( sb, "", 0 );

                append( sb, "debug (Default: false)", 2 );
                append( sb, "Turns debugging operation on or off.", 3 );
                append( sb, "", 0 );

                append( sb, "defaultScriptExtension (Default: .groovy)", 2 );
                append( sb, "Set the default extention for Groovy script source files.", 3 );
                append( sb, "", 0 );

                append( sb, "outputDirectory (Default: ${project.build.testOutputDirectory})", 2 );