Plugin Documentation

Goals available for this plugin:

Goal Description
jpacktool:help Display help information on jpacktool-maven-plugin.
Call mvn jpacktool:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
jpacktool:jlink The JLink goal is intended to create a Java Run Time Image file based on http://openjdk.java.net/jeps/282, http://openjdk.java.net/jeps/220. This extends the base class by some features for update4j.
jpacktool:jpackager The JPackager goal can create a native installer packages based on http://openjdk.java.net/jeps/343.
jpacktool:jpacktool-generate-jlink Generate pom for packaging a project using a Bootstrap and a Business Application and use JLink as the final step.
jpacktool:jpacktool-generate-jpackage Generate pom for packaging a project using a Bootstrap and a Business Application and use JPackage as the final step - not yet implemented.
jpacktool:jpacktool-invoke-pom Invoke clean install on generated pom.
jpacktool:jpacktool-pack-bootstrap Package a Bootstrap Application which can start a Business Application.
jpacktool:jpacktool-pack-business Package a Business Application started from a Bootstrap Application.
jpacktool:jpacktool-prepare Extended class to prepare execution of the jlink and jpackager goals by analyzing java module dependencies and copying files. This extends the base class by some features for update4j.

System Requirements

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

Maven 3.0
JDK 9
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>net.agilhard.maven.plugins</groupId>
          <artifactId>jpacktool-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>net.agilhard.maven.plugins</groupId>
        <artifactId>jpacktool-maven-plugin</artifactId>
        <version>1.0.0-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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