run:run

Full name:

com.kerbaya:run-maven-plugin:1.1.0:run

Description:

(no description)

Attributes:

  • The goal is thread-safe and supports parallel builds.
  • Requires that Maven runs in online mode.

Required Parameters

Name Type Since Description
<artifact> String -

The artifact coordinates in the format <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>

Example: org.myorg:myapp:1.0.0


User property is: artifact.

Optional Parameters

Name Type Since Description
<arguments> List -

String arguments to pass to the method. May also be specified using arg.# parameters

Model example:


<arguments>
        <argument>arg0_value</argument>
        <argument>arg1_value</argument>
</arguments>

Command-line example:


-Darg.0=arg0_value -Darg.1=arg1_value

<className> String -

The full class name of the main class. If omitted, artifact will be executed as a runnable JAR.

Example: org.myorg.myapp.Main
User property is: className.
<options> List -

String options to pass to the forked Java runtime environment. May also be specified using opt.# parameters

Model example:


<options>
        <option>-Xms1g</option>
        <option>-DpropName=propValue</option>
</options>

Command-line example:


-Dopt.0=-Xms1g -Dopt.1=-DpropName=propValue

Parameter Details

<arguments>

String arguments to pass to the method. May also be specified using arg.# parameters

Model example:


<arguments>
        <argument>arg0_value</argument>
        <argument>arg1_value</argument>
</arguments>

Command-line example:


-Darg.0=arg0_value -Darg.1=arg1_value
  • Type: java.util.List
  • Required: No

<artifact>

The artifact coordinates in the format <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>

Example: org.myorg:myapp:1.0.0

  • Type: java.lang.String
  • Required: Yes
  • User Property: artifact

<className>

The full class name of the main class. If omitted, artifact will be executed as a runnable JAR.

Example: org.myorg.myapp.Main
  • Type: java.lang.String
  • Required: No
  • User Property: className

<options>

String options to pass to the forked Java runtime environment. May also be specified using opt.# parameters

Model example:


<options>
        <option>-Xms1g</option>
        <option>-DpropName=propValue</option>
</options>

Command-line example:


-Dopt.0=-Xms1g -Dopt.1=-DpropName=propValue
  • Type: java.util.List
  • Required: No