From 9cc2caeb9f54e44587e7642bb43592de7e177f4f Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Sat, 5 Jul 2014 08:18:38 -0400 Subject: [PATCH] Deprecate unused version of the project dependencies resovler in the core --- .../org/apache/maven/DefaultProjectDependenciesResolver.java | 1 + .../main/java/org/apache/maven/ProjectDependenciesResolver.java | 1 + 2 files changed, 2 insertions(+) diff --git a/maven-core/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java b/maven-core/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java index d511d1d04e..3511d9017c 100644 --- a/maven-core/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java +++ b/maven-core/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java @@ -42,6 +42,7 @@ import org.apache.maven.repository.RepositorySystem; import org.codehaus.plexus.component.annotations.Component; import org.codehaus.plexus.component.annotations.Requirement; +@Deprecated @Component( role = ProjectDependenciesResolver.class ) public class DefaultProjectDependenciesResolver implements ProjectDependenciesResolver diff --git a/maven-core/src/main/java/org/apache/maven/ProjectDependenciesResolver.java b/maven-core/src/main/java/org/apache/maven/ProjectDependenciesResolver.java index 7ae86fd0c4..5a14b6f2d9 100644 --- a/maven-core/src/main/java/org/apache/maven/ProjectDependenciesResolver.java +++ b/maven-core/src/main/java/org/apache/maven/ProjectDependenciesResolver.java @@ -28,6 +28,7 @@ import org.apache.maven.artifact.resolver.ArtifactResolutionException; import org.apache.maven.execution.MavenSession; import org.apache.maven.project.MavenProject; +@Deprecated public interface ProjectDependenciesResolver {