Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.0.5.

Files

org/apache/maven/archetype/DefaultArchetypeManager.java

Violation Line
Avoid empty catch blocks 239241

org/apache/maven/archetype/common/DefaultArchetypeArtifactManager.java

Violation Line
Unnecessary use of fully qualified name 'org.apache.maven.archetype.metadata.ArchetypeDescriptor' due to existing import 'org.apache.maven.archetype.metadata.ArchetypeDescriptor' 320
Unnecessary use of fully qualified name 'org.apache.maven.archetype.metadata.ArchetypeDescriptor' due to existing import 'org.apache.maven.archetype.metadata.ArchetypeDescriptor' 458

org/apache/maven/archetype/common/MavenJDOMWriter.java

Violation Line
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 256
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 384
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 440
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 496
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 552
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 608
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 664
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 720
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 776
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 832
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 888
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 944
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 1000
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 1056
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 1112
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' 1168
Avoid unused local variables such as 'domIndex'. 1233

org/apache/maven/archetype/common/util/Format.java

Violation Line
Avoid empty catch blocks 500502
Avoid empty catch blocks 529531

org/apache/maven/archetype/common/util/XMLOutputter.java

Violation Line
Avoid empty catch blocks 604606
Avoid empty catch blocks 624626
Avoid empty catch blocks 644646
Avoid empty catch blocks 663665
Avoid empty catch blocks 683685
Avoid empty catch blocks 703705
Avoid empty catch blocks 724726
Avoid empty catch blocks 744746
Avoid empty catch blocks 764766
These nested if statements could be combined 12311239
These nested if statements could be combined 12341238

org/apache/maven/archetype/creator/FilesetArchetypeCreator.java

Violation Line
Avoid unused method parameters such as 'directory'. 748
Avoid unused method parameters such as 'keepParent'. 1033
Avoid unused method parameters such as 'directory'. 1237
Avoid unused private methods such as 'removePackage(List,String)'. 1284
Avoid unused method parameters such as 'archetypeDescriptor'. 1303

org/apache/maven/archetype/old/DefaultOldArchetype.java

Violation Line
These nested if statements could be combined 296325