PMD Results
The following document contains the results of PMD 7.0.0.
Violations By Priority
Priority 3
org/apache/maven/DefaultMaven.java
org/apache/maven/ReactorReader.java
Rule |
Violation |
Line |
UnusedPrivateMethod |
Avoid unused private methods such as 'determinePreviouslyPackagedArtifactFile(MavenProject, Artifact)'. |
161 |
org/apache/maven/bridge/MavenRepositorySystem.java
org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
org/apache/maven/execution/MavenSession.java
org/apache/maven/execution/SettingsAdapter.java
org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
org/apache/maven/lifecycle/LifecycleExecutionException.java
org/apache/maven/lifecycle/internal/MojoExecutor.java
org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
org/apache/maven/plugin/PluginConfigurationException.java
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
org/apache/maven/project/MavenProject.java
org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
org/apache/maven/toolchain/java/DefaultJavaToolChain.java
Priority 4
org/apache/maven/ReactorReader.java
org/apache/maven/artifact/metadata/AbstractArtifactMetadata.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'org.apache.maven.artifact.metadata': 'ArtifactMetadata' is already in scope because it is declared in the same package |
29 |
org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RepositoryMetadata': 'RELEASE_OR_SNAPSHOT' is already in scope because it is inherited by an enclosing type |
179 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RepositoryMetadata': 'RELEASE_OR_SNAPSHOT' is already in scope because it is inherited by an enclosing type |
179 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RepositoryMetadata': 'SNAPSHOT' is already in scope because it is inherited by an enclosing type |
183 |
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
org/apache/maven/plugin/internal/DefaultLegacySupport.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DefaultLegacySupport': 'SESSION' is already in scope because it is declared in an enclosing type |
42 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DefaultLegacySupport': 'SESSION' is already in scope because it is declared in an enclosing type |
48 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DefaultLegacySupport': 'SESSION' is already in scope because it is declared in an enclosing type |
50 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DefaultLegacySupport': 'SESSION' is already in scope because it is declared in an enclosing type |
55 |
org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'org.eclipse.aether.artifact': 'Artifact' is already in scope because it is imported in this file |
250 |
org/apache/maven/project/DefaultProjectBuilder.java
org/apache/maven/project/MavenProject.java
org/apache/maven/settings/DefaultMavenSettingsBuilder.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'MavenSettingsBuilder': 'ALT_USER_SETTINGS_XML_LOCATION' is already in scope because it is inherited by an enclosing type |
47 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'MavenSettingsBuilder': 'ALT_GLOBAL_SETTINGS_XML_LOCATION' is already in scope because it is inherited by an enclosing type |
58 |
Files
org/apache/maven/DefaultMaven.java
org/apache/maven/ReactorReader.java
org/apache/maven/artifact/metadata/AbstractArtifactMetadata.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'org.apache.maven.artifact.metadata': 'ArtifactMetadata' is already in scope because it is declared in the same package |
4 |
29 |
org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RepositoryMetadata': 'RELEASE_OR_SNAPSHOT' is already in scope because it is inherited by an enclosing type |
4 |
179 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RepositoryMetadata': 'RELEASE_OR_SNAPSHOT' is already in scope because it is inherited by an enclosing type |
4 |
179 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RepositoryMetadata': 'SNAPSHOT' is already in scope because it is inherited by an enclosing type |
4 |
183 |
org/apache/maven/bridge/MavenRepositorySystem.java
org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
org/apache/maven/execution/MavenSession.java
org/apache/maven/execution/SettingsAdapter.java
Rule |
Violation |
Priority |
Line |
UnusedPrivateField |
Avoid unused private fields such as 'runtimeInfo'. |
3 |
45 |
org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
org/apache/maven/lifecycle/LifecycleExecutionException.java
org/apache/maven/lifecycle/internal/MojoExecutor.java
org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
org/apache/maven/plugin/PluginConfigurationException.java
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
org/apache/maven/plugin/internal/DefaultLegacySupport.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DefaultLegacySupport': 'SESSION' is already in scope because it is declared in an enclosing type |
4 |
42 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DefaultLegacySupport': 'SESSION' is already in scope because it is declared in an enclosing type |
4 |
48 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DefaultLegacySupport': 'SESSION' is already in scope because it is declared in an enclosing type |
4 |
50 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'DefaultLegacySupport': 'SESSION' is already in scope because it is declared in an enclosing type |
4 |
55 |
org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
org/apache/maven/project/DefaultProjectBuilder.java
org/apache/maven/project/MavenProject.java
org/apache/maven/settings/DefaultMavenSettingsBuilder.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'MavenSettingsBuilder': 'ALT_USER_SETTINGS_XML_LOCATION' is already in scope because it is inherited by an enclosing type |
4 |
47 |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'MavenSettingsBuilder': 'ALT_GLOBAL_SETTINGS_XML_LOCATION' is already in scope because it is inherited by an enclosing type |
4 |
58 |
org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
org/apache/maven/toolchain/java/DefaultJavaToolChain.java