@Mojo(name="package-js",
defaultPhase=PACKAGE)
public class PackageJSMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
debug |
protected File |
outputDirectory |
protected org.apache.maven.project.MavenProject |
project |
| Constructor and Description |
|---|
PackageJSMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
This mojo should only be executed if a JS output was generated
|
@Parameter(defaultValue="${project.build.directory}")
protected File outputDirectory
@Parameter protected boolean debug
@Component protected org.apache.maven.project.MavenProject project
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.