类 RepackageMojo
- java.lang.Object
 - org.apache.maven.plugin.AbstractMojo
 - org.springframework.boot.maven.AbstractDependencyFilterMojo
 - org.springframework.boot.maven.RepackageMojo
 
- 所有已实现的接口:
 org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="repackage", defaultPhase=PACKAGE, requiresProject=true, threadSafe=true, requiresDependencyResolution=COMPILE_PLUS_RUNTIME, requiresDependencyCollection=COMPILE_PLUS_RUNTIME) public class RepackageMojo extends AbstractDependencyFilterMojoRepackages existing JAR and WAR archives so that they can be executed from the command line using java -jar. Withlayout=NONEcan also be used simply to package a JAR with nested dependencies (and no main class, so not executable).
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classRepackageMojo.LayoutTypeArchive layout types.
字段概要
字段 修饰符和类型 字段 说明 booleanincludeSystemScopeInclude system scoped dependencies.
构造器概要
构造器 构造器 说明 RepackageMojo()
方法概要
从类继承的方法 org.springframework.boot.maven.AbstractDependencyFilterMojo
filterDependencies, getFilters, setExcludeArtifactIds, setExcludeGroupIds, setExcludes, setIncludes
字段详细资料
includeSystemScope
@Parameter(defaultValue="false") public boolean includeSystemScope
Include system scoped dependencies.- 从以下版本开始:
 - 1.4
 
构造器详细资料
RepackageMojo
public RepackageMojo()
方法详细资料
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- 抛出:
 org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException