PMD Results
The following document contains the results of PMD 4.2.2.
Files
org/apache/maven/DefaultMaven.java
Violation |
Line |
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-core/src/main/java/org/apache/maven/DefaultMaven.java: Can't use JDK 1.5 for loop syntax when running in JDK 1.4 mode! |
0 |
org/apache/maven/container/ContainerUtils.java
Violation |
Line |
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-core/src/main/java/org/apache/maven/container/ContainerUtils.java: Can't use generics unless running in JDK 1.5 mode! |
0 |
org/apache/maven/execution/MavenSession.java
Violation |
Line |
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java: Can't use generics unless running in JDK 1.5 mode! |
0 |
org/apache/maven/execution/ReactorManager.java
Violation |
Line |
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java: Can't use generics unless running in JDK 1.5 mode! |
0 |
org/apache/maven/extension/DefaultExtensionManager.java
Violation |
Line |
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java: Can't use static imports when running in JDK 1.4 mode! |
0 |
org/apache/maven/extension/ExtensionManager.java
Violation |
Line |
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-core/src/main/java/org/apache/maven/extension/ExtensionManager.java: Can't use generics unless running in JDK 1.5 mode! |
0 |
org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Violation |
Line |
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java: Can't use generics unless running in JDK 1.5 mode! |
0 |
org/apache/maven/plugin/DefaultPluginManager.java
Violation |
Line |
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java: Can't use static imports when running in JDK 1.4 mode! |
0 |
org/apache/maven/plugin/DefaultPluginMappingManager.java
Violation |
Line |
Avoid unused imports such as 'java.util.Collections' |
32 |
org/apache/maven/plugin/version/DefaultPluginVersionManager.java
Violation |
Line |
These nested if statements could be combined |
114 - 122 |
These nested if statements could be combined |
151 - 176 |