Class PreparePackageMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.sling.maven.slingstart.AbstractSlingStartMojo
-
- org.apache.sling.maven.slingstart.PreparePackageMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="prepare-package", defaultPhase=PROCESS_SOURCES, requiresDependencyResolution=TEST, threadSafe=true) public class PreparePackageMojo extends AbstractSlingStartMojoPrepare the packaging of the Sling quickstart artifact (either JAR or WAR).
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancreateWebappIf set totruecreates a WAR artifact in addition to the standalone JAR from the model.protected org.apache.maven.plugin.MojoExecutionmojoExecution-
Fields inherited from class org.apache.sling.maven.slingstart.AbstractSlingStartMojo
allowUnresolvedPomDependencies, DEFAULT_MODEL_PATTERN, mavenSession, project, projectHelper, usePomDependencies, usePomVariables
-
-
Constructor Summary
Constructors Constructor Description PreparePackageMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class org.apache.sling.maven.slingstart.AbstractSlingStartMojo
getResolverOptions, getStandaloneOutputDirectory, getTmpDir
-
-
-
-
Field Detail
-
createWebapp
@Parameter(defaultValue="false") protected boolean createWebapp
If set totruecreates a WAR artifact in addition to the standalone JAR from the model.
-
mojoExecution
@Parameter(defaultValue="${mojoExecution}", readonly=true, required=true) protected org.apache.maven.plugin.MojoExecution mojoExecution
-
-