CPD Results

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

Duplications

File Line
org\andromda\maven\plugin\cartridge\HelpMojo.java 116
org\andromda\maven\plugin\cartridge\HelpMojo.java 187
            append( sb, "Provides the ability to compare cartridge output with existing output.", 1 );
            append( sb, "", 0 );
            if ( detail )
            {
                append( sb, "Available parameters:", 1 );
                append( sb, "", 0 );

                append( sb, "actualDirectory", 2 );
                append( sb, "Specifies the directory that contains the \'actual\' output (meaning the output that was currently generated)", 3 );
                append( sb, "Required: Yes", 3 );
                append( sb, "Expression: ${project.build.directory}/cartridge-test/actual", 3 );
                append( sb, "", 0 );

                append( sb, "binaryOutputSuffixes", 2 );
                append( sb, "Defines the extensions of binary files, binary files are checked for presence and equality, however they aren\'t compared as strings, like every other file.", 3 );
                append( sb, "Expression: jpg,jpeg,gif,png,jar,zip", 3 );
                append( sb, "", 0 );

                append( sb, "configurationUri", 2 );
                append( sb, "This is the URI to the AndroMDA configuration file.", 3 );
                append( sb, "Required: Yes", 3 );
                append( sb, "Expression: file:${basedir}/conf/test/andromdaUML2.xml", 3 );
                append( sb, "", 0 );

                append( sb, "expectedDirectory", 2 );
                append( sb, "Specifies the directory that contains the \'expected\' output.", 3 );
                append( sb, "Required: Yes", 3 );
                append( sb, "Expression: ${project.build.directory}/cartridge-test/expected", 3 );
                append( sb, "", 0 );

                append( sb, "expectedOutputArchive", 2 );
                append( sb, "The location of the archive storing the expected output.", 3 );
                append( sb, "Required: Yes", 3 );
                append( sb, "Expression: ${basedir}/src/test/expected/cartridge-outputUML2.zip", 3 );
                append( sb, "", 0 );

                append( sb, "lastModifiedCheck", 2 );
                append( sb, "Set this to \'true\' to skip code generation if code has not changed since the latest model date.", 3 );
                append( sb, "Expression: ${lastModifiedCheck}", 3 );
                append( sb, "", 0 );

                append( sb, "propertyFiles", 2 );
                append( sb, "(no description available)", 3 );
                append( sb, "Expression: ${project.build.filters}", 3 );
                append( sb, "", 0 );

                append( sb, "reportDirectory", 2 );
                append( sb, "Base directory to which the cartridge test report is written", 3 );
                append( sb, "Expression: ${project.build.directory}/cartridge-test/reports", 3 );
                append( sb, "", 0 );

                append( sb, "skip", 2 );
                append( sb, "Set this to \'true\' to bypass cartridge tests entirely. Its use is NOT RECOMMENDED, but quite convenient on occasion.", 3 );
                append( sb, "Expression: ${maven.test.skip}", 3 );
                append( sb, "", 0 );

                append( sb, "skipTests", 2 );
                append( sb, "Set this to \'true\' to skip running tests, but still compile them. Its use is NOT RECOMMENDED, but quite convenient on occasion.", 3 );
                append( sb, "Expression: ${skipTests}", 3 );
                append( sb, "", 0 );

                append( sb, "testFailureIgnore (Default: false)", 2 );
                append( sb, "Set this to true to ignore a failure during testing. Its use is NOT RECOMMENDED, but quite convenient on occasion.", 3 );
                append( sb, "Expression: ${maven.test.failure.ignore}", 3 );
                append( sb, "", 0 );
            }
        }

        if ( goal == null || goal.length() <= 0 || "update".equals( goal ) )