@Mojo(name="launcher",
defaultPhase=PACKAGE,
threadSafe=true)
public class LauncherMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
inputFiles
One or more input directories/files to generate.
|
protected File |
outputDirectory
Directory to output generated launchers.
|
protected org.apache.maven.project.MavenProject |
project |
| Constructor and Description |
|---|
LauncherMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
@Parameter(property="outputDirectory",
defaultValue="${project.build.directory}/stork",
required=true)
protected File outputDirectory
@Parameter(property="inputFiles",
defaultValue="${basedir}/src/main/launchers")
protected String[] inputFiles
@Parameter(defaultValue="${project}",
readonly=true)
protected org.apache.maven.project.MavenProject project
Copyright © 2016–2021 Fizzed, Inc. All rights reserved.