You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/09 15:27:52 UTC
[maven-jlink-plugin] 26/38: o Added integation test profile o Fixed
some doc issues.
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jlink-plugin.git
commit c8fa867772ce60fb4aec7548a3c7fcc74a4ea669
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Thu Sep 7 18:52:44 2017 +0000
o Added integation test profile
o Fixed some doc issues.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1807632 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 29 ++++++++++++++++++++++
.../org/apache/maven/plugins/jlink/JLinkMojo.java | 9 +++++--
2 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index d291e12..5ffd7c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -194,4 +194,33 @@
</plugin>
</plugins>
</reporting>
+ <profiles>
+ <profile>
+ <id>run-its</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <goals>
+ <goal>clean</goal>
+ <goal>package</goal>
+ </goals>
+ </configuration>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>install</goal>
+ <goal>integration-test</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
diff --git a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
index 98c7d5a..152ccdc 100644
--- a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
+++ b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
@@ -96,7 +96,7 @@ public class JLinkMojo
/**
* Here you can define the compression of the resources being used. The command line equivalent is:
- * <code>-c, --compress=<0|1|2></code>.
+ * <code>-c, --compress=level></code>. The valid values for the level are: <code>0, 1, 2</code>.
*/
@Parameter
private Integer compression;
@@ -121,8 +121,13 @@ public class JLinkMojo
private List<String> limitModules;
/**
+ * <p>
+ * Usually this is not necessary, cause this is handled automatically by the given dependencies.
+ * </p>
+ * <p>
* By using the --add-modules you can define the root modules to be resolved. The configuration in
* <code>pom.xml</code> file can look like this:
+ * </p>
*
* <pre>
* <addModules>
@@ -185,7 +190,7 @@ public class JLinkMojo
private boolean ignoreSigningInformation;
/**
- * This will suppress to have the <code>includes</code> directory in the resulting Java Run Time Image. The JLink
+ * This will suppress to have an <code>includes</code> directory in the resulting Java Run Time Image. The JLink
* command line equivalent is: <code>--no-header-files</code>
*/
@Parameter( defaultValue = "false" )
--
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.