@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, getTargetVersion
protected List<String> getClassPathElements()
AbstractCheckMojo
getClassPathElements
in class AbstractCheckMojo
protected File getClassesDirectory()
AbstractCheckMojo
getClassesDirectory
in class AbstractCheckMojo
Copyright © 2013–2015. All rights reserved.