Package io.joshworks.snappy.maven
Class RepackageMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.joshworks.snappy.maven.AbstractDependencyFilterMojo
-
- io.joshworks.snappy.maven.RepackageMojo
-
- All Implemented Interfaces:
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).- Author:
- Phillip Webb, Dave Syer, Stephane Nicoll
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepackageMojo.LayoutTypeArchive layout types.
-
Constructor Summary
Constructors Constructor Description RepackageMojo()
-
Method Summary
Modifier and Type Method Description voidexecute()-
Methods inherited from class io.joshworks.snappy.maven.AbstractDependencyFilterMojo
filterDependencies, getFilters, setExcludeArtifactIds, setExcludeGroupIds, setExcludes, setIncludes
-
-