CPD Results

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

Duplications

File Line
org\andromda\maven\plugin\HelpMojo.java 197
org\andromda\maven\plugin\HelpMojo.java 225
            append( sb, "Provides the ability to start the AndroMDA server.", 1 );
            append( sb, "", 0 );
            if ( detail )
            {
                append( sb, "Available parameters:", 1 );
                append( sb, "", 0 );

                append( sb, "allowMultipleRuns (Default: false)", 2 );
                append( sb, "Do we allow the code generation to run multiple times? Yes for AndroMDA server, no for all other cases unless overridden. This prevents multiple code generation runs while creating site documentation, generate-sources phase can run more than 8 times for each model when initiated by many of the reporting plugins.", 3 );
                append( sb, "Required: Yes", 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:${project.basedir}/conf/andromda.xml", 3 );
                append( sb, "", 0 );

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

        if ( goal == null || goal.length() <= 0 || "stop-server".equals( goal ) )
File Line
org\andromda\maven\plugin\HelpMojo.java 84
org\andromda\maven\plugin\HelpMojo.java 197
org\andromda\maven\plugin\HelpMojo.java 225
            append( sb, "Exports the MagicDraw project file to EMF XMI (requires valid MagicDraw installation in MD_HOME, but only if target files are not up-to-date)", 1 );
            append( sb, "", 0 );
            if ( detail )
            {
                append( sb, "Available parameters:", 1 );
                append( sb, "", 0 );

                append( sb, "allowMultipleRuns (Default: false)", 2 );
                append( sb, "Do we allow the code generation to run multiple times? Yes for AndroMDA server, no for all other cases unless overridden. This prevents multiple code generation runs while creating site documentation, generate-sources phase can run more than 8 times for each model when initiated by many of the reporting plugins.", 3 );
                append( sb, "Required: Yes", 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:${project.basedir}/conf/andromda.xml", 3 );
                append( sb, "", 0 );

                append( sb, "magicDrawHome", 2 );