@Mojo(name="repackage",
defaultPhase=PACKAGE,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
public class RepackageMojo
extends org.apache.maven.plugin.AbstractMojo
限定符和类型 | 字段和说明 |
---|---|
boolean |
includeSystemScope
Include system scoped dependencies.
|
static PluginType |
PLUGIN_TYPE |
构造器和说明 |
---|
RepackageMojo() |
限定符和类型 | 方法和说明 |
---|---|
void |
execute() |
protected java.util.Set<org.apache.maven.artifact.Artifact> |
filterDependencies(java.util.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.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected final java.util.Set<org.apache.maven.artifact.Artifact> filterDependencies(java.util.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.MojoExecutionException