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 Details

    • executable

      @Parameter(property="javafx.executable", defaultValue="java") private String 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

      void setExecutable(String executable)
    • setBasedir

      void setBasedir(File basedir)
    • setCommandlineArgs

      void setCommandlineArgs(String commandlineArgs)