-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
74 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ | |
import org.apache.maven.RepositoryUtils; | ||
import org.apache.maven.artifact.Artifact; | ||
import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager; | ||
import org.apache.maven.execution.MavenSession; | ||
import org.apache.maven.plugin.MojoExecutionException; | ||
import org.apache.maven.plugins.annotations.LifecyclePhase; | ||
import org.apache.maven.plugins.annotations.Mojo; | ||
|
@@ -61,13 +62,11 @@ | |
* @author <a href="mailto:[email protected]">Brian Fox</a> | ||
* @since 1.0 | ||
*/ | ||
// CHECKSTYLE_OFF: LineLength | ||
@Mojo( | ||
name = "copy-dependencies", | ||
requiresDependencyResolution = ResolutionScope.TEST, | ||
defaultPhase = LifecyclePhase.PROCESS_SOURCES, | ||
threadSafe = true) | ||
// CHECKSTYLE_ON: LineLength | ||
public class CopyDependenciesMojo extends AbstractFromDependenciesMojo { | ||
/** | ||
* Also copy the pom of each artifact. | ||
|
@@ -101,8 +100,8 @@ public class CopyDependenciesMojo extends AbstractFromDependenciesMojo { | |
@Inject | ||
// CHECKSTYLE_OFF: ParameterNumber | ||
public CopyDependenciesMojo( | ||
MavenSession session, | ||
BuildContext buildContext, | ||
boolean skipDuringIncrementalBuild, | ||
MavenProject project, | ||
ResolverUtil resolverUtil, | ||
DependencyResolver dependencyResolver, | ||
|
@@ -112,8 +111,8 @@ public CopyDependenciesMojo( | |
CopyUtil copyUtil, | ||
ArtifactInstaller installer) { | ||
super( | ||
session, | ||
buildContext, | ||
skipDuringIncrementalBuild, | ||
project, | ||
resolverUtil, | ||
dependencyResolver, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.