Package org.openjfx
Class JavaFXRunMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.openjfx.JavaFXBaseMojo
org.openjfx.JavaFXRunMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="run",
requiresDependencyResolution=RUNTIME)
@Execute(phase=PROCESS_CLASSES)
public class JavaFXRunMojo
extends JavaFXBaseMojo
-
Field Summary
FieldsFields inherited from class org.openjfx.JavaFXBaseMojo
basedir, builddir, classpathElements, commandlineArgs, JAVAFX_PREFIX, mainClass, moduleDescriptor, modulepathElements, options, outputFile, pathElements, project, skip, workingDirectory
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCommandArguments
(boolean oldJDK) void
execute()
(package private) void
setBasedir
(File basedir) (package private) void
setCommandlineArgs
(String commandlineArgs) (package private) void
setExecutable
(String executable) Methods inherited from class org.openjfx.JavaFXBaseMojo
executeCommandLine, executeCommandLine, getExecutablePath, getParent, handleSystemEnvVariables, handleWorkingDirectory, isMavenUsingJava8, isTargetUsingJava8, preparePaths
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
executable
The executable. Can be a full path or the name of the executable. In the latter case, the executable must be in the PATH for the execution to work.
-
-
Constructor Details
-
JavaFXRunMojo
public JavaFXRunMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
createCommandArguments
private List<String> createCommandArguments(boolean oldJDK) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
setExecutable
-
setBasedir
-
setCommandlineArgs
-