Skip to content

Commit

Permalink
CopyDependenciesMojo
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Nov 19, 2024
1 parent 8cfc02c commit 9c42365
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@
import java.io.File;
import java.io.IOException;
import java.util.Collections;
import java.util.Map;
import java.util.Set;

import org.apache.maven.RepositoryUtils;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
Expand Down Expand Up @@ -71,14 +69,10 @@ public class CopyDependenciesMojo extends AbstractFromDependenciesMojo {

private ArtifactInstaller installer;

private Map<String, ArtifactRepositoryLayout> repositoryLayouts;

@Inject
public CopyDependenciesMojo(
CopyUtil copyUtil, ArtifactInstaller installer, Map<String, ArtifactRepositoryLayout> repositoryLayouts) {
public CopyDependenciesMojo(CopyUtil copyUtil, ArtifactInstaller installer) {
this.copyUtil = copyUtil;
this.installer = installer;
this.repositoryLayouts = repositoryLayouts;
}

/**
Expand Down

0 comments on commit 9c42365

Please sign in to comment.