You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2023/05/24 10:50:39 UTC
[maven] branch master updated: [MNG-7789] Cleanup
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new 6f136ef4d [MNG-7789] Cleanup
6f136ef4d is described below
commit 6f136ef4d2b4938e939189e9d2e3e0faa11a20e9
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Wed May 24 12:50:23 2023 +0200
[MNG-7789] Cleanup
PR had a leftover (unused but injected member). Removed.
---
https://issues.apache.org/jira/browse/MNG-7789
---
.../maven/plugin/internal/DefaultPluginDependenciesResolver.java | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java b/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
index a86dc8c09..f5a0e3aba 100644
--- a/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
+++ b/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
@@ -32,7 +32,6 @@ import org.apache.maven.RepositoryUtils;
import org.apache.maven.model.Dependency;
import org.apache.maven.model.Plugin;
import org.apache.maven.plugin.PluginResolutionException;
-import org.apache.maven.plugin.PluginValidationManager;
import org.codehaus.plexus.util.StringUtils;
import org.eclipse.aether.DefaultRepositorySystemSession;
import org.eclipse.aether.RepositorySystem;
@@ -78,17 +77,12 @@ public class DefaultPluginDependenciesResolver implements PluginDependenciesReso
private final RepositorySystem repoSystem;
- private final PluginValidationManager pluginValidationManager;
-
private final List<MavenPluginDependenciesValidator> dependenciesValidators;
@Inject
public DefaultPluginDependenciesResolver(
- RepositorySystem repoSystem,
- PluginValidationManager pluginValidationManager,
- List<MavenPluginDependenciesValidator> dependenciesValidators) {
+ RepositorySystem repoSystem, List<MavenPluginDependenciesValidator> dependenciesValidators) {
this.repoSystem = repoSystem;
- this.pluginValidationManager = pluginValidationManager;
this.dependenciesValidators = dependenciesValidators;
}