Class RunMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.quarkus.maven.QuarkusBootstrapMojo
io.quarkus.maven.RunMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="run") public class RunMojo extends QuarkusBootstrapMojo
  • Field Details

    • systemProperties

      @Parameter Map<String,String> systemProperties
      The list of system properties defined for the plugin.
    • additionalSystemProperties

      @Parameter(defaultValue="${sysProps}") String additionalSystemProperties
      Additional system properties meant to be passed on the command line in a formal like -DsysProps=prop1=val1,prop2=val2
    • environmentVariables

      @Parameter(defaultValue="${envVars}") String environmentVariables
      The list of environment variables with which the process will be launched. To be specified in a format like -DsysProps=prop1=val1,prop2=val2
    • programArguments

      @Parameter(defaultValue="${args}") String programArguments
      The list of program arguments with which the process will be launched. To be specified in a format like -Dargs=1,2,k=v
  • Constructor Details

    • RunMojo

      public RunMojo()
  • Method Details

    • beforeExecute

      protected boolean beforeExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Description copied from class: QuarkusBootstrapMojo
      This callback allows to evaluate whether this mojo should be executed, skipped or fail.
      Specified by:
      beforeExecute in class QuarkusBootstrapMojo
      Returns:
      false if the execution of the mojo should be skipped, true if the mojo should be executed
      Throws:
      org.apache.maven.plugin.MojoExecutionException - in case of a failure
      org.apache.maven.plugin.MojoFailureException - in case of a failure
    • doExecute

      protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Description copied from class: QuarkusBootstrapMojo
      Main mojo execution code
      Specified by:
      doExecute in class QuarkusBootstrapMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException - in case of a failure
      org.apache.maven.plugin.MojoFailureException - in case of a failure