Plugin Documentation
This report describes goals, parameters details, requirements and sample usage of this plugin.
Goals
Goals available for this plugin:
Goal | Description |
---|---|
rtcompile:execute | 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. |
rtcompile:help | Display help information on java-runtime-compiler-maven-plugin.
Call mvn rtcompile:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. |
System Requirements
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.5.0 |
JDK | 11 |
Usage
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>com.github.hypfvieh.java</groupId> <artifactId>java-runtime-compiler-maven-plugin</artifactId> <version>1.0.0-SNAPSHOT</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>com.github.hypfvieh.java</groupId> <artifactId>java-runtime-compiler-maven-plugin</artifactId> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"