@Mojo(name="repackage",
defaultPhase=PACKAGE,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
public class RepackageMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
boolean |
includeSystemScope
Include system scoped dependencies.
|
static PluginType |
PLUGIN_TYPE |
| Constructor and Description |
|---|
RepackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected Set<org.apache.maven.artifact.Artifact> |
filterDependencies(Set<org.apache.maven.artifact.Artifact> dependencies,
org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter... additionalFilters) |
@Parameter(defaultValue="true") public boolean includeSystemScope
public static PluginType PLUGIN_TYPE
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected final Set<org.apache.maven.artifact.Artifact> filterDependencies(Set<org.apache.maven.artifact.Artifact> dependencies, org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter... additionalFilters) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2025. All rights reserved.