Package org.openjfx

Class 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 Detail

      • executable

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

      • JavaFXRunMojo

        public JavaFXRunMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • createCommandArguments

        private java.util.List<java.lang.String> createCommandArguments​(boolean oldJDK)
                                                                 throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • setExecutable

        void setExecutable​(java.lang.String executable)
      • setBasedir

        void setBasedir​(java.io.File basedir)
      • setCommandlineArgs

        void setCommandlineArgs​(java.lang.String commandlineArgs)