PMD Results

The following document contains the results of PMD 4.1.

Files

org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java

Violation Line
Avoid unused private fields such as 'defaultEncoding'. 98
Avoid unused private fields such as 'outputDirectory'. 143
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 174
Avoid empty if statements 217 - 227

org/apache/maven/archetype/mojos/IntegrationTestMojo.java

Violation Line
Avoid unused local variables such as 'testProperties'. 229

org/apache/maven/archetype/mojos/UpdateLocalCatalogMojo.java

Violation Line
Avoid unused private fields such as 'archetypeSources'. 51
Avoid unused private fields such as 'localRepository'. 69
Avoid unused private fields such as 'settings'. 78
Avoid unused private methods such as 'getArchetypeSourceProperties(String,Properties)'. 133

org/apache/maven/archetype/ui/ArchetypeGenerationConfigurator.java

Violation Line
Avoid unused imports such as 'java.util.List' 30

org/apache/maven/archetype/ui/DefaultArchetypeCreationConfigurator.java

Violation Line
Avoid unused method parameters such as 'commandLineProperties'. 384 - 406

org/apache/maven/archetype/ui/DefaultArchetypeSelector.java

Violation Line
These nested if statements could be combined 189 - 200
Avoid unused private methods such as 'getArchetypeDataSourceProperties(String,Properties)'. 261 - 262