diff --git a/src/main/java/org/jenkinsci/maven/plugins/hpi/TestDependencyMojo.java b/src/main/java/org/jenkinsci/maven/plugins/hpi/TestDependencyMojo.java index 1097d78a87..7a4e2191cd 100644 --- a/src/main/java/org/jenkinsci/maven/plugins/hpi/TestDependencyMojo.java +++ b/src/main/java/org/jenkinsci/maven/plugins/hpi/TestDependencyMojo.java @@ -63,7 +63,6 @@ import org.apache.maven.shared.dependency.graph.DependencyNode; import org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor; import org.eclipse.aether.DefaultRepositorySystemSession; -import org.eclipse.aether.RepositorySystem; import org.eclipse.aether.repository.RemoteRepository; import org.eclipse.aether.resolution.ArtifactDescriptorException; import org.eclipse.aether.resolution.ArtifactDescriptorRequest; @@ -100,9 +99,6 @@ public class TestDependencyMojo extends AbstractHpiMojo { @Component private ProjectDependenciesResolver dependenciesResolver; - @Component - private RepositorySystem repositorySystem; - /** * List of dependency version overrides in the form {@code groupId:artifactId:version} to apply * during testing. Must correspond to dependencies already present in the project model or their