Klasse ExecuteRtCompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.hypfvieh.java.maven.plugin.rtcompiler.ExecuteRtCompilerMojo
- Alle implementierten Schnittstellen:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="execute",
defaultPhase=NONE,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
configurator="include-project-compile-dependencies")
public class ExecuteRtCompilerMojo
extends org.apache.maven.plugin.AbstractMojo
The execute goal of the Maven plugin compiles the configured list of java sources using the,
runtime-compiler and executes the static main method in an
optionally configured main class.
The run-time environment must be a JDK (Java Development Kit), so source files may be compiled.
The run-time environment must be a JDK (Java Development Kit), so source files may be compiled.
- Seit:
- 1.0.0 - 2024-01-25
- Autor:
- spannm / hypfvieh
-
Feldübersicht
Von Schnittstelle geerbte Felder org.apache.maven.plugin.Mojo
ROLE
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
execute()
Implementation of the plugin's 'execute' goal.Von Klasse geerbte Methoden org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Konstruktordetails
-
ExecuteRtCompilerMojo
public ExecuteRtCompilerMojo()
-
-
Methodendetails
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionImplementation of the plugin's 'execute' goal.- Löst aus:
org.apache.maven.plugin.MojoExecutionException
- if an unexpected problem occurs. Throwing this exception causes a "BUILD ERROR" message to be displayed.org.apache.maven.plugin.MojoFailureException
- if an expected problem (such as a compilation failure) occurs. Throwing this exception causes a "BUILD FAILURE" message to be displayed.- Siehe auch:
-