@Mojo(name="check",
threadSafe=true,
requiresProject=true,
requiresDependencyResolution=COMPILE,
defaultPhase=PROCESS_CLASSES)
public final class CheckMojo
extends AbstractCheckMojo
This Mojo exists since version 1.2, replacing the old forbiddenapis:forbiddenapis goal.
In most cases its enough to rename the goal on update, the older v1.0 properties are still available.
| Constructor and Description |
|---|
CheckMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
getClassesDirectory()
provided by the concrete Mojos for compile and test classes processing
|
protected List<String> |
getClassPathElements()
provided by the concrete Mojos for compile and test classes processing
|
execute, getTargetVersionprotected List<String> getClassPathElements()
AbstractCheckMojogetClassPathElements in class AbstractCheckMojoprotected File getClassesDirectory()
AbstractCheckMojogetClassesDirectory in class AbstractCheckMojoCopyright © 2013–2015. All rights reserved.