Exec Maven Plugin

The plugin provides 2 goals to help execute system and Java programs.

Goals Overview

General information about the goals.

  • exec:exec execute programs and Java programs in a separate process.
  • exec:java execute Java programs in the same VM.

Usage

Instructions on how to use the Exec Plugin can be found on the usage page.

Examples

To provide you with better understanding of some usages of the Exec Plugin, you can take a look into the following examples: