Package io.quarkus.maven
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
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) StringAdditional system properties meant to be passed on the command line in a formal like-DsysProps=prop1=val1,prop2=val2(package private) StringThe list of environment variables with which the process will be launched.(package private) StringThe list of program arguments with which the process will be launched.The list of system properties defined for the plugin.Fields inherited from class io.quarkus.maven.QuarkusBootstrapMojo
BOOTSTRAP_ID_PARAM, bootstrapId, bootstrapProvider, CLOSE_BOOTSTRAPPED_APP_PARAM, closeBootstrappedApp, MODE_PARAM, mojoExecution, NATIVE_PROFILE_NAME, RELOAD_POMS_PARAM, reloadPomsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanThis callback allows to evaluate whether this mojo should be executed, skipped or fail.protected voidMain mojo execution codeMethods inherited from class io.quarkus.maven.QuarkusBootstrapMojo
appArtifactCoords, baseDir, bootstrapApplication, bootstrapApplication, bootstrapApplication, bootstrapId, buildDir, closeApplication, execute, finalName, forcedDependencies, getBuildSystemProperties, getWorkspaceId, ignoredEntries, isNativeProfileEnabled, manifestEntries, manifestSections, mavenProject, mavenSession, projectId, properties, remoteRepositories, remoteRepositoryManager, repositorySystem, repositorySystemSession, setLog, setNativeEnabledIfNativeProfileEnabledMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setPluginContext
-
Field Details
-
systemProperties
The list of system properties defined for the plugin. -
additionalSystemProperties
Additional system properties meant to be passed on the command line in a formal like-DsysProps=prop1=val1,prop2=val2 -
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
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.MojoFailureExceptionDescription copied from class:QuarkusBootstrapMojoThis callback allows to evaluate whether this mojo should be executed, skipped or fail.- Specified by:
beforeExecutein classQuarkusBootstrapMojo- 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 failureorg.apache.maven.plugin.MojoFailureException- in case of a failure
-
doExecute
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionDescription copied from class:QuarkusBootstrapMojoMain mojo execution code- Specified by:
doExecutein classQuarkusBootstrapMojo- Throws:
org.apache.maven.plugin.MojoExecutionException- in case of a failureorg.apache.maven.plugin.MojoFailureException- in case of a failure
-