svn commit: r1814611 [1/2] - in /maven/plugins/trunk/maven-jlink-plugin: ./ src/it/mrm/repository/ src/it/mrm/repository/localhost/ src/it/mrm/repository/localhost/com.soebes.nine.jar/ src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/ s...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1814611 [1/2] - in /maven/plugins/trunk/maven-jlink-plugin: ./ src/it/mrm/repository/ src/it/mrm/repository/localhost/ src/it/mrm/repository/localhost/com.soebes.nine.jar/ src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/ s...

khmarbaise
Author: khmarbaise
Date: Wed Nov  8 18:21:35 2017
New Revision: 1814611

URL: http://svn.apache.org/viewvc?rev=1814611&view=rev
Log:
Added serveral integration tests.
Upgraded maven-compiler-plugin to 3.7.0
Upgraded maven-invoker-plugin to 3.0.1
Enhanced maven-invoker-plugin configuration

Added:
    maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/
    maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/
    maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/
    maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/
    maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/com.soebes.nine.jar-1.0-SNAPSHOT.jar   (with props)
    maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/com.soebes.nine.jar-1.0-SNAPSHOT.pom
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-man-pages/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-man-pages/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-man-pages/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-man-pages/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-man-pages/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-man-pages/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-man-pages/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-man-pages/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/strip-debug/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/strip-debug/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/strip-debug/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/strip-debug/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/strip-debug/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/strip-debug/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/strip-debug/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/strip-debug/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/suggest-providers/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/suggest-providers/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/suggest-providers/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/suggest-providers/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/suggest-providers/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/suggest-providers/src/main/configs/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/suggest-providers/src/main/configs/config.test
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/suggest-providers/verify.groovy
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar-module-info/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar-module-info/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar-module-info/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar-module-info/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar-module-info/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar-module-info/src/main/java/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar-module-info/src/main/java/module-info.java
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar-module-info/src/main/java/myproject/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar-module-info/src/main/java/myproject/HelloWorld.java
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar/invoker.properties
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar/src/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar/src/main/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar/src/main/java/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar/src/main/java/myproject/
    maven/plugins/trunk/maven-jlink-plugin/src/it/projects/setup-jar/src/main/java/myproject/HelloWorld.java
Modified:
    maven/plugins/trunk/maven-jlink-plugin/pom.xml
    maven/plugins/trunk/maven-jlink-plugin/src/main/filtered-resources/META-INF/plexus/components.xml
    maven/plugins/trunk/maven-jlink-plugin/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java

Modified: maven/plugins/trunk/maven-jlink-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/pom.xml?rev=1814611&r1=1814610&r2=1814611&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-jlink-plugin/pom.xml Wed Nov  8 18:21:35 2017
@@ -96,7 +96,7 @@
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-java</artifactId>
-      <version>0.9.3</version>
+      <version>0.9.4-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.commons</groupId>
@@ -129,8 +129,13 @@
       <plugins>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.7.0</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-invoker-plugin</artifactId>
-          <version>3.0.0</version>
+          <version>3.0.1</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -188,7 +193,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-invoker-plugin</artifactId>
-        <version>3.0.0</version>
+        <version>3.0.1</version>
       </plugin>
     </plugins>
   </reporting>
@@ -198,32 +203,55 @@
       <build>
         <plugins>
           <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>mrm-maven-plugin</artifactId>
-          <version>1.1.0</version>
-          <executions>
-            <execution>
-              <goals>
-                <goal>start</goal>
-                <goal>stop</goal>
-              </goals>
-            </execution>
-          </executions>
-          <configuration>
-            <repositories>
-              <mockRepo>
-                <source>src/it/mrm/repository</source>
-              </mockRepo>
-              <proxyRepo/>
-            </repositories>
-          </configuration>
-        </plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>mrm-maven-plugin</artifactId>
+            <version>1.1.0</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>start</goal>
+                  <goal>stop</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <propertyName>mrm.repository.url</propertyName>
+              <repositories>
+                <mockRepo>
+                  <source>src/it/mrm/repository</source>
+                </mockRepo>
+                <proxyRepo />
+              </repositories>
+            </configuration>
+          </plugin>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-invoker-plugin</artifactId>
             <configuration>
               <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+              <environmentVariables>
+                <!--
+                  ! Prevent reading the .mavenrc or maven_pre.bat on Windows
+                  ! in integration tests.
+                -->
+                <MAVEN_SKIP_RC>1</MAVEN_SKIP_RC>
+              </environmentVariables>
+              <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
               <projectsDirectory>src/it/projects</projectsDirectory>
+              <pomIncludes>
+                <pomInclude>**/pom.xml</pomInclude>
+                <!--
+                <pomInclude>cli-options/**/pom.xml</pomInclude>
+                -->
+              </pomIncludes>
+              <pomExcludes>
+                <!--
+                  ! Currently this Test does not work correctly either based
+                  ! on wrong implementation or my limited knowledge of suggest-providers
+                  ! and how the work.
+                -->
+                <pomExclude>cli-options/suggest-providers/pom.xml</pomExclude>
+              </pomExcludes>
               <settingsFile>src/it/mrm/settings.xml</settingsFile>
               <filterProperties>
                 <mrm.repository.url>${mrm.repository.url}</mrm.repository.url>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/com.soebes.nine.jar-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/com.soebes.nine.jar-1.0-SNAPSHOT.jar?rev=1814611&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/com.soebes.nine.jar-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/com.soebes.nine.jar-1.0-SNAPSHOT.pom
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/com.soebes.nine.jar-1.0-SNAPSHOT.pom?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/com.soebes.nine.jar-1.0-SNAPSHOT.pom (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/mrm/repository/localhost/com.soebes.nine.jar/1.0-SNAPSHOT/com.soebes.nine.jar-1.0-SNAPSHOT.pom Wed Nov  8 18:21:35 2017
@@ -0,0 +1,9 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>localhost</groupId>
+  <artifactId>com.soebes.nine.jar</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+</project>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/invoker.properties?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/invoker.properties (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/invoker.properties Wed Nov  8 18:21:35 2017
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.java.version = 1.9+
+invoker.goals = clean package

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/pom.xml?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/pom.xml (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/pom.xml Wed Nov  8 18:21:35 2017
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-jlink-plugin-cli-options-bind-services</artifactId>
+  <version>99.0</version>
+  <packaging>jlink</packaging>
+  <name>Maven</name>
+  <url>http://maven.apache.org</url>
+  <description>Test JLink CLI Options --bind-services.</description>
+  <properties>
+    <maven.compiler.source>1.9</maven.compiler.source>
+    <maven.compiler.target>1.9</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>localhost</groupId>
+      <artifactId>first-jar-module-info</artifactId>
+      <version>99.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.7.0</version>
+        <configuration>
+          <source>1.9</source>
+          <target>1.9</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jlink-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <bindServices>true</bindServices>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/src/main/configs/config.test
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/src/main/configs/config.test?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/src/main/configs/config.test (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/src/main/configs/config.test Wed Nov  8 18:21:35 2017
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+Test configuration file which should be located in config/config.test in
+resulting jmod file.
\ No newline at end of file

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/verify.groovy?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/verify.groovy (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/bind-services/verify.groovy Wed Nov  8 18:21:35 2017
@@ -0,0 +1,50 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+import org.codehaus.plexus.util.*;
+
+boolean result = true;
+
+try
+{
+    File target = new File( basedir, "target" );
+    if ( !target.exists() || !target.isDirectory() )
+    {
+        System.err.println( "target file is missing or not a directory." );
+        return false;
+    }
+    File artifact = new File( target, "maven-jlink-plugin-cli-options-bind-services-99.0.zip" );
+    if ( !artifact.exists() || artifact.isDirectory() )
+    {
+        System.err.println( "maven-jlink-plugin-cli-options-bind-services-99.0.zip file is missing or is a directory." );
+        return false;
+    }
+
+}
+catch( Throwable e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/invoker.properties?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/invoker.properties (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/invoker.properties Wed Nov  8 18:21:35 2017
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.java.version = 1.9+
+invoker.goals = clean package

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/pom.xml?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/pom.xml (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/pom.xml Wed Nov  8 18:21:35 2017
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-jlink-plugin-cli-options-compress0</artifactId>
+  <version>99.0</version>
+  <packaging>jlink</packaging>
+  <name>Maven</name>
+  <url>http://maven.apache.org</url>
+  <description>Test JLink CLI Options --compress 0.</description>
+  <properties>
+    <maven.compiler.source>1.9</maven.compiler.source>
+    <maven.compiler.target>1.9</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>localhost</groupId>
+      <artifactId>first-jar-module-info</artifactId>
+      <version>99.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.7.0</version>
+        <configuration>
+          <source>1.9</source>
+          <target>1.9</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jlink-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <compress>0</compress>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/src/main/configs/config.test
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/src/main/configs/config.test?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/src/main/configs/config.test (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/src/main/configs/config.test Wed Nov  8 18:21:35 2017
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+Test configuration file which should be located in config/config.test in
+resulting jmod file.
\ No newline at end of file

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/verify.groovy?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/verify.groovy (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-0/verify.groovy Wed Nov  8 18:21:35 2017
@@ -0,0 +1,50 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+import org.codehaus.plexus.util.*;
+
+boolean result = true;
+
+try
+{
+    File target = new File( basedir, "target" );
+    if ( !target.exists() || !target.isDirectory() )
+    {
+        System.err.println( "target file is missing or not a directory." );
+        return false;
+    }
+    File artifact = new File( target, "maven-jlink-plugin-cli-options-compress0-99.0.zip" );
+    if ( !artifact.exists() || artifact.isDirectory() )
+    {
+        System.err.println( "maven-jlink-plugin-cli-options-compress0-99.0.zip file is missing or is a directory." );
+        return false;
+    }
+
+}
+catch( Throwable e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/invoker.properties?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/invoker.properties (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/invoker.properties Wed Nov  8 18:21:35 2017
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.java.version = 1.9+
+invoker.goals = clean package

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/pom.xml?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/pom.xml (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/pom.xml Wed Nov  8 18:21:35 2017
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-jlink-plugin-cli-options-compress1</artifactId>
+  <version>99.0</version>
+  <packaging>jlink</packaging>
+  <name>Maven</name>
+  <url>http://maven.apache.org</url>
+  <description>Test JLink CLI Options --compress 1.</description>
+  <properties>
+    <maven.compiler.source>1.9</maven.compiler.source>
+    <maven.compiler.target>1.9</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>localhost</groupId>
+      <artifactId>first-jar-module-info</artifactId>
+      <version>99.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.7.0</version>
+        <configuration>
+          <source>1.9</source>
+          <target>1.9</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jlink-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <compress>1</compress>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/src/main/configs/config.test
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/src/main/configs/config.test?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/src/main/configs/config.test (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/src/main/configs/config.test Wed Nov  8 18:21:35 2017
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+Test configuration file which should be located in config/config.test in
+resulting jmod file.
\ No newline at end of file

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/verify.groovy?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/verify.groovy (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-1/verify.groovy Wed Nov  8 18:21:35 2017
@@ -0,0 +1,50 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+import org.codehaus.plexus.util.*;
+
+boolean result = true;
+
+try
+{
+    File target = new File( basedir, "target" );
+    if ( !target.exists() || !target.isDirectory() )
+    {
+        System.err.println( "target file is missing or not a directory." );
+        return false;
+    }
+    File artifact = new File( target, "maven-jlink-plugin-cli-options-compress1-99.0.zip" );
+    if ( !artifact.exists() || artifact.isDirectory() )
+    {
+        System.err.println( "maven-jlink-plugin-cli-options-compress1-99.0.zip file is missing or is a directory." );
+        return false;
+    }
+
+}
+catch( Throwable e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/invoker.properties?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/invoker.properties (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/invoker.properties Wed Nov  8 18:21:35 2017
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.java.version = 1.9+
+invoker.goals = clean package

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/pom.xml?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/pom.xml (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/pom.xml Wed Nov  8 18:21:35 2017
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-jlink-plugin-cli-options-compress2</artifactId>
+  <version>99.0</version>
+  <packaging>jlink</packaging>
+  <name>Maven</name>
+  <url>http://maven.apache.org</url>
+  <description>Test JLink CLI Options --compress 2.</description>
+  <properties>
+    <maven.compiler.source>1.9</maven.compiler.source>
+    <maven.compiler.target>1.9</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>localhost</groupId>
+      <artifactId>first-jar-module-info</artifactId>
+      <version>99.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.7.0</version>
+        <configuration>
+          <source>1.9</source>
+          <target>1.9</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jlink-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <compress>2</compress>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/src/main/configs/config.test
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/src/main/configs/config.test?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/src/main/configs/config.test (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/src/main/configs/config.test Wed Nov  8 18:21:35 2017
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+Test configuration file which should be located in config/config.test in
+resulting jmod file.
\ No newline at end of file

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/verify.groovy?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/verify.groovy (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/compress-2/verify.groovy Wed Nov  8 18:21:35 2017
@@ -0,0 +1,50 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+import org.codehaus.plexus.util.*;
+
+boolean result = true;
+
+try
+{
+    File target = new File( basedir, "target" );
+    if ( !target.exists() || !target.isDirectory() )
+    {
+        System.err.println( "target file is missing or not a directory." );
+        return false;
+    }
+    File artifact = new File( target, "maven-jlink-plugin-cli-options-compress2-99.0.zip" );
+    if ( !artifact.exists() || artifact.isDirectory() )
+    {
+        System.err.println( "maven-jlink-plugin-cli-options-compress2-99.0.zip file is missing or is a directory." );
+        return false;
+    }
+
+}
+catch( Throwable e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/invoker.properties?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/invoker.properties (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/invoker.properties Wed Nov  8 18:21:35 2017
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.java.version = 1.9+
+invoker.goals = clean package

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/pom.xml?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/pom.xml (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/pom.xml Wed Nov  8 18:21:35 2017
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-jlink-plugin-cli-options-disable-plugin</artifactId>
+  <version>99.0</version>
+  <packaging>jlink</packaging>
+  <name>Maven</name>
+  <url>http://maven.apache.org</url>
+  <description>Test JLink CLI Options --disable-plugin compress.</description>
+  <properties>
+    <maven.compiler.source>1.9</maven.compiler.source>
+    <maven.compiler.target>1.9</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>localhost</groupId>
+      <artifactId>first-jar-module-info</artifactId>
+      <version>99.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.7.0</version>
+        <configuration>
+          <source>1.9</source>
+          <target>1.9</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jlink-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <disablePlugin>compress</disablePlugin>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/src/main/configs/config.test
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/src/main/configs/config.test?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/src/main/configs/config.test (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/src/main/configs/config.test Wed Nov  8 18:21:35 2017
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+Test configuration file which should be located in config/config.test in
+resulting jmod file.
\ No newline at end of file

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/verify.groovy?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/verify.groovy (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/disable-plugin/verify.groovy Wed Nov  8 18:21:35 2017
@@ -0,0 +1,50 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+import org.codehaus.plexus.util.*;
+
+boolean result = true;
+
+try
+{
+    File target = new File( basedir, "target" );
+    if ( !target.exists() || !target.isDirectory() )
+    {
+        System.err.println( "target file is missing or not a directory." );
+        return false;
+    }
+    File artifact = new File( target, "maven-jlink-plugin-cli-options-disable-plugin-99.0.zip" );
+    if ( !artifact.exists() || artifact.isDirectory() )
+    {
+        System.err.println( "maven-jlink-plugin-cli-options-disable-plugin-99.0.zip file is missing or is a directory." );
+        return false;
+    }
+
+}
+catch( Throwable e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/invoker.properties?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/invoker.properties (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/invoker.properties Wed Nov  8 18:21:35 2017
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.java.version = 1.9+
+invoker.goals = clean package

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/pom.xml?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/pom.xml (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/pom.xml Wed Nov  8 18:21:35 2017
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-jlink-plugin-cli-options-endian-big</artifactId>
+  <version>99.0</version>
+  <packaging>jlink</packaging>
+  <name>Maven</name>
+  <url>http://maven.apache.org</url>
+  <description>Test JLink CLI Options --endian big.</description>
+  <properties>
+    <maven.compiler.source>1.9</maven.compiler.source>
+    <maven.compiler.target>1.9</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>localhost</groupId>
+      <artifactId>first-jar-module-info</artifactId>
+      <version>99.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.7.0</version>
+        <configuration>
+          <source>1.9</source>
+          <target>1.9</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jlink-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <endian>big</endian>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/src/main/configs/config.test
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/src/main/configs/config.test?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/src/main/configs/config.test (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/src/main/configs/config.test Wed Nov  8 18:21:35 2017
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+Test configuration file which should be located in config/config.test in
+resulting jmod file.
\ No newline at end of file

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/verify.groovy?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/verify.groovy (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian-big/verify.groovy Wed Nov  8 18:21:35 2017
@@ -0,0 +1,50 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+import org.codehaus.plexus.util.*;
+
+boolean result = true;
+
+try
+{
+    File target = new File( basedir, "target" );
+    if ( !target.exists() || !target.isDirectory() )
+    {
+        System.err.println( "target file is missing or not a directory." );
+        return false;
+    }
+    File artifact = new File( target, "maven-jlink-plugin-cli-options-endian-big-99.0.zip" );
+    if ( !artifact.exists() || artifact.isDirectory() )
+    {
+        System.err.println( "maven-jlink-plugin-cli-options-endian-big-99.0.zip file is missing or is a directory." );
+        return false;
+    }
+
+}
+catch( Throwable e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/invoker.properties?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/invoker.properties (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/invoker.properties Wed Nov  8 18:21:35 2017
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.java.version = 1.9+
+invoker.goals = clean package

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/pom.xml?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/pom.xml (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/pom.xml Wed Nov  8 18:21:35 2017
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-jlink-plugin-cli-options-endian</artifactId>
+  <version>99.0</version>
+  <packaging>jlink</packaging>
+  <name>Maven</name>
+  <url>http://maven.apache.org</url>
+  <description>Test JLink CLI Options --endian little.</description>
+  <properties>
+    <maven.compiler.source>1.9</maven.compiler.source>
+    <maven.compiler.target>1.9</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>localhost</groupId>
+      <artifactId>first-jar-module-info</artifactId>
+      <version>99.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.7.0</version>
+        <configuration>
+          <source>1.9</source>
+          <target>1.9</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jlink-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <endian>little</endian>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/src/main/configs/config.test
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/src/main/configs/config.test?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/src/main/configs/config.test (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/src/main/configs/config.test Wed Nov  8 18:21:35 2017
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+Test configuration file which should be located in config/config.test in
+resulting jmod file.
\ No newline at end of file

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/verify.groovy?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/verify.groovy (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/endian/verify.groovy Wed Nov  8 18:21:35 2017
@@ -0,0 +1,50 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+import org.codehaus.plexus.util.*;
+
+boolean result = true;
+
+try
+{
+    File target = new File( basedir, "target" );
+    if ( !target.exists() || !target.isDirectory() )
+    {
+        System.err.println( "target file is missing or not a directory." );
+        return false;
+    }
+    File artifact = new File( target, "maven-jlink-plugin-cli-options-endian-99.0.zip" );
+    if ( !artifact.exists() || artifact.isDirectory() )
+    {
+        System.err.println( "maven-jlink-plugin-cli-options-endian-99.0.zip file is missing or is a directory." );
+        return false;
+    }
+
+}
+catch( Throwable e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/invoker.properties?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/invoker.properties (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/invoker.properties Wed Nov  8 18:21:35 2017
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.java.version = 1.9+
+invoker.goals = clean package

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/pom.xml?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/pom.xml (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/pom.xml Wed Nov  8 18:21:35 2017
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-jlink-plugin-cli-options-ignore-signing-information</artifactId>
+  <version>99.0</version>
+  <packaging>jlink</packaging>
+  <name>Maven</name>
+  <url>http://maven.apache.org</url>
+  <description>Test JLink CLI Options --ignore-signing-information.</description>
+  <properties>
+    <maven.compiler.source>1.9</maven.compiler.source>
+    <maven.compiler.target>1.9</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>localhost</groupId>
+      <artifactId>first-jar-module-info</artifactId>
+      <version>99.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.7.0</version>
+        <configuration>
+          <source>1.9</source>
+          <target>1.9</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jlink-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <ignoreSigningInformation>true</ignoreSigningInformation>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/src/main/configs/config.test
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/src/main/configs/config.test?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/src/main/configs/config.test (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/src/main/configs/config.test Wed Nov  8 18:21:35 2017
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+Test configuration file which should be located in config/config.test in
+resulting jmod file.
\ No newline at end of file

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/verify.groovy?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/verify.groovy (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/ignore-signing-information/verify.groovy Wed Nov  8 18:21:35 2017
@@ -0,0 +1,50 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+import org.codehaus.plexus.util.*;
+
+boolean result = true;
+
+try
+{
+    File target = new File( basedir, "target" );
+    if ( !target.exists() || !target.isDirectory() )
+    {
+        System.err.println( "target file is missing or not a directory." );
+        return false;
+    }
+    File artifact = new File( target, "maven-jlink-plugin-cli-options-ignore-signing-information-99.0.zip" );
+    if ( !artifact.exists() || artifact.isDirectory() )
+    {
+        System.err.println( "maven-jlink-plugin-cli-options-ignore-signing-information-99.0.zip file is missing or is a directory." );
+        return false;
+    }
+
+}
+catch( Throwable e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/invoker.properties?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/invoker.properties (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/invoker.properties Wed Nov  8 18:21:35 2017
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+invoker.java.version = 1.9+
+invoker.goals = clean package

Added: maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/pom.xml?rev=1814611&view=auto
==============================================================================
--- maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/pom.xml (added)
+++ maven/plugins/trunk/maven-jlink-plugin/src/it/projects/cli-options/no-header-files/pom.xml Wed Nov  8 18:21:35 2017
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-jlink-plugin-cli-options-no-header-files</artifactId>
+  <version>99.0</version>
+  <packaging>jlink</packaging>
+  <name>Maven</name>
+  <url>http://maven.apache.org</url>
+  <description>Test JLink CLI Options --no-header-files.</description>
+  <properties>
+    <maven.compiler.source>1.9</maven.compiler.source>
+    <maven.compiler.target>1.9</maven.compiler.target>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>localhost</groupId>
+      <artifactId>first-jar-module-info</artifactId>
+      <version>99.0</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.7.0</version>
+        <configuration>
+          <source>1.9</source>
+          <target>1.9</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jlink-plugin</artifactId>
+        <version>@project.version@</version>
+        <extensions>true</extensions>
+        <configuration>
+          <noHeaderFiles>true</noHeaderFiles>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>