diff --git a/src/main/java/org/apache/maven/plugins/assembly/AssemblerConfigurationSource.java b/src/main/java/org/apache/maven/plugins/assembly/AssemblerConfigurationSource.java index 49a14279..e80ffc83 100644 --- a/src/main/java/org/apache/maven/plugins/assembly/AssemblerConfigurationSource.java +++ b/src/main/java/org/apache/maven/plugins/assembly/AssemblerConfigurationSource.java @@ -23,7 +23,6 @@ import java.util.Properties; import org.apache.maven.archiver.MavenArchiveConfiguration; -import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.execution.MavenSession; import org.apache.maven.project.MavenProject; import org.apache.maven.shared.filtering.MavenReaderFilter; @@ -123,11 +122,6 @@ public interface AssemblerConfigurationSource { */ List getReactorProjects(); - /** - * @return The remote repositories. - */ - List getRemoteRepositories(); - /** * @return Is this a test run. */ diff --git a/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java b/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java index d5eeea79..57bf066a 100644 --- a/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java +++ b/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java @@ -26,7 +26,6 @@ import org.apache.maven.archiver.MavenArchiveConfiguration; import org.apache.maven.archiver.MavenArchiver; -import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.execution.MavenSession; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; @@ -111,12 +110,6 @@ public abstract class AbstractAssemblyMojo extends AbstractMojo implements Assem @Parameter(defaultValue = "true") private boolean ignoreDirFormatExtensions; - /** - * - */ - @Parameter(defaultValue = "${project.remoteArtifactRepositories}", required = true, readonly = true) - private List remoteRepositories; - /** * Contains the full list of projects in the reactor. */ @@ -750,11 +743,6 @@ public void setWorkDirectory(final File workDirectory) { this.workDirectory = workDirectory; } - @Override - public List getRemoteRepositories() { - return remoteRepositories; - } - @Override public boolean isDryRun() { return dryRun;