diff --git a/maven-embedder/src/main/java/org/apache/maven/embedder/MavenEmbedder.java b/maven-embedder/src/main/java/org/apache/maven/embedder/MavenEmbedder.java index 6acc1503ae..6a5fc4ad42 100644 --- a/maven-embedder/src/main/java/org/apache/maven/embedder/MavenEmbedder.java +++ b/maven-embedder/src/main/java/org/apache/maven/embedder/MavenEmbedder.java @@ -206,22 +206,6 @@ public class MavenEmbedder return mavenProjectBuilder.build( mavenProject, localRepository, profileManager ); } - /** @deprecated */ - public MavenProject readProjectWithDependencies( File mavenProject, - TransferListener transferListener ) - throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException - { - return mavenProjectBuilder.buildWithDependencies( mavenProject, localRepository, profileManager, - transferListener ); - } - - /** @deprecated */ - public MavenProject readProjectWithDependencies( File mavenProject ) - throws ProjectBuildingException, ArtifactResolutionException, ArtifactNotFoundException - { - return mavenProjectBuilder.buildWithDependencies( mavenProject, localRepository, profileManager ); - } - /** * This method is used to grab the list of dependencies that belong to a project so that a UI * can be populated. For example, a list of libraries that are used by an Eclipse, Netbeans, or