public abstract class BaseBuildMojo extends BaseMojo
| Modifier and Type | Field and Description |
|---|---|
String[] |
additionalDependencies
Specify additional
<dependency/> values using the
--dependency command line option. |
String[] |
additionalHaxedefs
Specify additional
<haxedef/> values using the --haxedef
command line option. |
String[] |
additionalHaxelibs
Specify additional
<haxelib/> values using the --haxelib
command line option. |
String[] |
additionalSources
Specify additional
<source/> values using the --source
command line option. |
boolean |
isDebug
Specify if the build is debug instead of release using the
-debug
command line option. |
boolean |
isFinal
Specify if the build is final instead of release using the
-final
command line option. |
basedir, haxelibExecutable, project, projectFile, target| Constructor and Description |
|---|
BaseBuildMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
build() |
protected void |
checkHaxelib(String name,
String requiredVersion) |
protected void |
checkHaxelibs() |
void |
execute()
Builds the Lime project.
|
protected void |
installHaxelib(String name,
String requiredVersion) |
getHaxelibPath@Parameter(defaultValue="false",
property="lime.debug")
public boolean isDebug
-debug
command line option.@Parameter(defaultValue="false",
property="lime.final")
public boolean isFinal
-final
command line option.@Parameter public String[] additionalHaxedefs
<haxedef/> values using the --haxedef
command line option.@Parameter public String[] additionalHaxelibs
<haxelib/> values using the --haxelib
command line option.@Parameter public String[] additionalSources
<source/> values using the --source
command line option.@Parameter public String[] additionalDependencies
<dependency/> values using the
--dependency command line option.public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected abstract void build()
throws org.codehaus.plexus.util.cli.CommandLineException,
org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.codehaus.plexus.util.cli.CommandLineExceptionorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void checkHaxelib(String name, String requiredVersion) throws org.codehaus.plexus.util.cli.CommandLineException, org.apache.maven.plugin.MojoFailureException
org.codehaus.plexus.util.cli.CommandLineExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2023. All rights reserved.