@Mojo(name="Watcher") public class WatcherMojo extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
File |
basedir
This is typically the root folder for the project, holding the pom.xml file.
|
File |
directory
Typically, this is the target directory.
|
File |
finalName
Typically, this is the target directory.
|
File |
resourcesDirectory
Location of the resources.
|
File |
sourceDirectory
Location of the Java sources.
|
List<Task> |
tasks |
boolean |
terminate
Defaults to false.
|
| Constructor and Description |
|---|
WatcherMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
createTargetDirectoryIfNotExists() |
void |
execute() |
List<Task> |
getDefaultTasks(Path base) |
public File sourceDirectory
public File resourcesDirectory
public File basedir
public boolean terminate
public WatcherMojo()
public void createTargetDirectoryIfNotExists()
public List<Task> getDefaultTasks(Path base)
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2015. All rights reserved.