@Mojo(name="prepare-package", defaultPhase=PROCESS_SOURCES, requiresDependencyResolution=TEST, threadSafe=true) public class PreparePackageMojo extends AbstractSlingStartMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
createWebapp
If set to
true creates a WAR artifact in addition to the standalone JAR from the model. |
protected org.apache.maven.plugin.MojoExecution |
mojoExecution |
allowUnresolvedPomDependencies, DEFAULT_MODEL_PATTERN, mavenSession, project, projectHelper, usePomDependencies, usePomVariables
Constructor and Description |
---|
PreparePackageMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
getResolverOptions, getStandaloneOutputDirectory, getTmpDir
@Parameter(defaultValue="false") protected boolean createWebapp
true
creates a WAR artifact in addition to the standalone JAR from the model.@Parameter(defaultValue="${mojoExecution}", readonly=true, required=true) protected org.apache.maven.plugin.MojoExecution mojoExecution
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.