Skip to content

Commit

Permalink
[MASSEMBLY-1003] Remove unused remoteRepositories
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Nov 7, 2023
1 parent 3cdd641 commit e40f6c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -123,11 +122,6 @@ public interface AssemblerConfigurationSource {
*/
List<MavenProject> getReactorProjects();

/**
* @return The remote repositories.
*/
List<ArtifactRepository> getRemoteRepositories();

/**
* @return Is this a test run.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<ArtifactRepository> remoteRepositories;

/**
* Contains the full list of projects in the reactor.
*/
Expand Down Expand Up @@ -750,11 +743,6 @@ public void setWorkDirectory(final File workDirectory) {
this.workDirectory = workDirectory;
}

@Override
public List<ArtifactRepository> getRemoteRepositories() {
return remoteRepositories;
}

@Override
public boolean isDryRun() {
return dryRun;
Expand Down

0 comments on commit e40f6c3

Please sign in to comment.