CPD Results

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

Duplications

File Line
org\apache\maven\plugin\war\packaging\DependenciesAnalysisPackagingTask.java 58
org\apache\maven\plugin\war\packaging\DependenciesAnalysisPackagingTask.java 78
        if ( "war".equals( dependency.getType() ) || "zip".equals( dependency.getType() ) )
        {
            context.getLog().warn( warOrZipMessage );
        }
        else if ( "tld".equals( dependency.getType() ) || "aar".equals( dependency.getType() )
            || "jar".equals( dependency.getType() ) || "ejb".equals( dependency.getType() )
            || "ejb-client".equals( dependency.getType() ) || "test-jar".equals( dependency.getType() )
            || "par".equals( dependency.getType() ) )
        {
            context.getLog().info( standardMessage );
            if ( removeFile )
            {
                removeDependency( context, dependency );
            }
        }
    }