public abstract class BaseMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected File |
basedir |
File |
haxelibExecutable
Optionally specify a custom path to the Haxelib executable.
|
protected org.apache.maven.project.MavenProject |
project |
File |
projectFile
Optionally specify a custom path to a Lime project.xml file.
|
String |
target
Specify the Lime build target, such as "html5", "hl", "neko", "ios",
"android", "windows", "mac", or "linux".
|
Constructor and Description |
---|
BaseMojo() |
Modifier and Type | Method and Description |
---|---|
protected String |
getHaxelibPath() |
getLog, getPluginContext, setLog, setPluginContext
@Parameter(property="lime.haxelib") public File haxelibExecutable
@Parameter(defaultValue="project.xml", property="lime.projectFile") public File projectFile
If using GenerateProjectXmlMojo
, this field will be populated
with the path to the generated project.xml file.
@Parameter(defaultValue="html5", property="lime.target") public String target
@Parameter(defaultValue="${basedir}", required=true, readonly=true) protected File basedir
@Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
protected String getHaxelibPath()
Copyright © 2023. All rights reserved.