@Mojo(name="detect",
defaultPhase=VALIDATE)
public class DetectMojo
extends org.apache.maven.plugin.AbstractMojo
os.detected.name
- normalized os.name
(e.g. linux
, osx
)os.detected.arch
- normalized os.arch
(e.g. x86_64
, x86_32
)os.detected.classifier
- a shortcut for 'os.detectedName'.'os.detectedArch'
(e.g. linux-x86_64
)Modifier and Type | Field and Description |
---|---|
private Detector |
detector |
private org.apache.maven.project.MavenProject |
project |
private static java.lang.String |
UNKNOWN |
Constructor and Description |
---|
DetectMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
private static final java.lang.String UNKNOWN
@Parameter(defaultValue="${project}", readonly=true) private org.apache.maven.project.MavenProject project
private final Detector detector