[MJLINK-49] documentation update
- remove alpha release text.
- Do not tell the user they need a multi-module project.
- remove superfluous '}'.
diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm
index b862366..c62645e 100644
--- a/src/site/apt/index.apt.vm
+++ b/src/site/apt/index.apt.vm
@@ -31,9 +31,6 @@
The JLink Plugin is intended to create a {{{http://openjdk.java.net/jeps/220}Modular Java Run-Time Images}}
via {{{http://openjdk.java.net/jeps/282}jlink}}.
- NOTE: This is an alpha release which means everything can change until we reach the first
- milestone release.
-
* Goals Overview
The JLink Plugin has two goals:
diff --git a/src/site/apt/usage.apt.vm b/src/site/apt/usage.apt.vm
index ff42dc7..750a7e5 100644
--- a/src/site/apt/usage.apt.vm
+++ b/src/site/apt/usage.apt.vm
@@ -60,7 +60,7 @@
+-----
The configuration element contains the configuration for the plugin
- {{{https://maven.apache.org/guides/mini/guide-configuring-plugins.html}}like any other Maven plugin}}.
+ {{{https://maven.apache.org/guides/mini/guide-configuring-plugins.html}like any other Maven plugin}}.
The different elements which can be configured for this plugin can identified by the
{{{./plugin-info.html}goals documentation}}.
@@ -76,11 +76,15 @@
* Usage of the Maven JLink Plugin
- Usually you will use the Maven JLink Plugin to create a Run Time Image from one or more modules within
- a multi module build.
- In other words it is not possible to create a Run Time Image from a single Maven
- Project within the same single Maven Project.
- Let us assume you have a multi module structure which contains two modules <<mod-1>> and <<mod-2>>
+ You can use the maven-jlink-plugin the same way you use the maven-jar-plugin, maven-war-plugin,
+ maven-assembly-plugin or any other artifact-generating plugin.
+ Create a separate module for the artifact generation and specify
+ <<< <packaging>jlink</packaging> >>>.
+
+ Another way to use this plugin is to add it to an existing project.
+ In this case you want to add an explicit execution in the <<<package>>> phase.
+
+ Let’s assume you have a multi module structure that contains two modules <<mod-1>> and <<mod-2>>
which you like to put into the resulting Run Time Image.
The parent of the multi module looks similar like this: