PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/apache/maven/DefaultMaven.java
org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
org/apache/maven/bridge/MavenRepositorySystem.java
org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
org/apache/maven/execution/MavenSession.java
org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
org/apache/maven/internal/impl/DefaultArtifactDeployer.java
org/apache/maven/internal/impl/DefaultArtifactInstaller.java
org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
org/apache/maven/lifecycle/DefaultLifecycles.java
org/apache/maven/lifecycle/LifecycleExecutionException.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/PluginParameterExpressionEvaluatorV4.java
org/apache/maven/project/MavenProject.java
org/apache/maven/toolchain/java/DefaultJavaToolChain.java
Priority 4
org/apache/maven/ReactorReader.java
org/apache/maven/RepositoryUtils.java
org/apache/maven/bridge/MavenRepositorySystem.java
org/apache/maven/classrealm/DefaultClassRealmManager.java
org/apache/maven/exception/DefaultExceptionHandler.java
org/apache/maven/graph/DefaultGraphBuilder.java
org/apache/maven/internal/impl/AbstractNode.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
34 |
org/apache/maven/internal/impl/DefaultDependencyResolver.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
88 |
org/apache/maven/internal/impl/DefaultNode.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
38 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
42 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
87 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
91 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
92 |
UselessParentheses |
Useless parentheses. |
94 |
org/apache/maven/internal/impl/DefaultRepositoryFactory.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' |
65 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' |
79 |
org/apache/maven/internal/impl/DefaultToolchainManager.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' |
80 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' |
81 |
org/apache/maven/internal/impl/DefaultTransportProvider.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.spi.connector.transport.TransporterProvider' due to existing import 'org.eclipse.aether.spi.connector.transport.TransporterProvider' |
41 |
org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
org/apache/maven/lifecycle/internal/DependencyContext.java
org/apache/maven/plugin/PluginParameterException.java
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' |
250 |
org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java
org/apache/maven/project/DefaultProjectBuilder.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.RepositorySystem' due to existing import 'org.eclipse.aether.RepositorySystem' |
98 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' |
910 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' |
911 |
org/apache/maven/project/MavenProject.java
org/apache/maven/project/ProjectModelResolver.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.Parent' due to existing import 'org.apache.maven.api.model.Parent' |
277 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' |
287 |
org/apache/maven/project/ProjectSorter.java
org/apache/maven/project/collector/DefaultProjectsSelector.java
org/apache/maven/settings/SettingsUtilsV4.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.ActivationFile' due to existing import 'org.apache.maven.api.model.ActivationFile' |
116 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputLocation' due to existing import 'org.apache.maven.api.model.InputLocation' |
321 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputLocation' due to existing import 'org.apache.maven.api.model.InputLocation' |
327 |
Files
org/apache/maven/DefaultMaven.java
org/apache/maven/ReactorReader.java
org/apache/maven/RepositoryUtils.java
org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
Rule |
Violation |
Priority |
Line |
UnusedPrivateField |
Avoid unused private fields such as 'exclusions'. |
3 |
37 |
org/apache/maven/bridge/MavenRepositorySystem.java
org/apache/maven/classrealm/DefaultClassRealmManager.java
org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
org/apache/maven/exception/DefaultExceptionHandler.java
org/apache/maven/execution/MavenSession.java
org/apache/maven/graph/DefaultGraphBuilder.java
org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
org/apache/maven/internal/impl/AbstractNode.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
4 |
34 |
org/apache/maven/internal/impl/DefaultArtifactDeployer.java
org/apache/maven/internal/impl/DefaultArtifactInstaller.java
org/apache/maven/internal/impl/DefaultDependencyResolver.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
4 |
88 |
org/apache/maven/internal/impl/DefaultNode.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
4 |
38 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
4 |
42 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
4 |
87 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
4 |
91 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' |
4 |
92 |
UselessParentheses |
Useless parentheses. |
4 |
94 |
org/apache/maven/internal/impl/DefaultRepositoryFactory.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' |
4 |
65 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' |
4 |
79 |
org/apache/maven/internal/impl/DefaultToolchainManager.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' |
4 |
80 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' |
4 |
81 |
org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
org/apache/maven/internal/impl/DefaultTransportProvider.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.spi.connector.transport.TransporterProvider' due to existing import 'org.eclipse.aether.spi.connector.transport.TransporterProvider' |
4 |
41 |
org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
Rule |
Violation |
Priority |
Line |
UnusedPrivateMethod |
Avoid unused private methods such as 'doDeleteFiles()'. |
3 |
126 |
org/apache/maven/lifecycle/DefaultLifecycles.java
org/apache/maven/lifecycle/LifecycleExecutionException.java
org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
org/apache/maven/lifecycle/internal/DependencyContext.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/PluginParameterException.java
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' |
4 |
250 |
org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java
org/apache/maven/project/DefaultProjectBuilder.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.eclipse.aether.RepositorySystem' due to existing import 'org.eclipse.aether.RepositorySystem' |
4 |
98 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' |
4 |
910 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' |
4 |
911 |
org/apache/maven/project/MavenProject.java
org/apache/maven/project/ProjectModelResolver.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.Parent' due to existing import 'org.apache.maven.api.model.Parent' |
4 |
277 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' |
4 |
287 |
org/apache/maven/project/ProjectSorter.java
org/apache/maven/project/collector/DefaultProjectsSelector.java
org/apache/maven/settings/SettingsUtilsV4.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.ActivationFile' due to existing import 'org.apache.maven.api.model.ActivationFile' |
4 |
116 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputLocation' due to existing import 'org.apache.maven.api.model.InputLocation' |
4 |
321 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputLocation' due to existing import 'org.apache.maven.api.model.InputLocation' |
4 |
327 |
org/apache/maven/toolchain/java/DefaultJavaToolChain.java