Plugin Documentation

Goals available for this plugin:

Goal Description
install4j:compile Compile installers (via install4jc). Execution will skip if install4j.home location is invalid.
install4j:help Display help information on install4j-maven-plugin.
Call mvn install4j:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
install4j:install-license Update the install4j license key (via install4jc --license). Execution will skip if licenseKey parameter is not configured, or the install4j.home location is invalid.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 1.5
Memory No minimum requirement.
Disk Space No minimum requirement.

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>org.sonatype.install4j</groupId>
          <artifactId>install4j-maven-plugin</artifactId>
          <version>1.1.2</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.sonatype.install4j</groupId>
        <artifactId>install4j-maven-plugin</artifactId>
        <version>1.1.2</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"