You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2019/03/23 20:10:40 UTC
[maven-jlink-plugin] 01/06: [MJLINK-29] - Upgrade
maven-compiler-plugin to version 3.8.0 in IT's o Introduced a setup-parent
which contains all plugin declarations and removes the duplication in each
IT.
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch MJLINK-29
in repository https://gitbox.apache.org/repos/asf/maven-jlink-plugin.git
commit a065fe1decf66e88d0e7b317655fd46acb638ed9
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Fri Sep 14 17:30:19 2018 +0200
[MJLINK-29] - Upgrade maven-compiler-plugin to version 3.8.0 in IT's
o Introduced a setup-parent which contains all
plugin declarations and removes the duplication
in each IT.
---
src/it/projects/MJLINK-26/pom.xml | 28 +-
.../projects/MJLINK-3_improveVerboseOutput/pom.xml | 22 +-
src/it/projects/cli-options/bind-services/pom.xml | 18 +-
src/it/projects/cli-options/compress-0/pom.xml | 10 +-
src/it/projects/cli-options/compress-1/pom.xml | 10 +-
src/it/projects/cli-options/compress-2/pom.xml | 17 +-
src/it/projects/cli-options/disable-plugin/pom.xml | 10 +-
src/it/projects/cli-options/endian-big/pom.xml | 17 +-
src/it/projects/cli-options/endian/pom.xml | 17 +-
.../cli-options/ignore-signing-information/pom.xml | 17 +-
.../projects/cli-options/no-header-files/pom.xml | 17 +-
src/it/projects/cli-options/no-man-pages/pom.xml | 10 +-
src/it/projects/cli-options/strip-debug/pom.xml | 17 +-
.../projects/cli-options/suggest-providers/pom.xml | 17 +-
src/it/projects/setup-01/invoker.properties | 17 +
src/it/projects/setup-01/pom.xml | 402 +++++++++++++++++++++
src/it/projects/setup-jar-module-info/pom.xml | 13 +-
src/it/projects/setup-jar/pom.xml | 14 +-
18 files changed, 554 insertions(+), 119 deletions(-)
diff --git a/src/it/projects/MJLINK-26/pom.xml b/src/it/projects/MJLINK-26/pom.xml
index c8bf47f..5a099be 100644
--- a/src/it/projects/MJLINK-26/pom.xml
+++ b/src/it/projects/MJLINK-26/pom.xml
@@ -18,35 +18,27 @@
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"
->
+<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>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-mjlink-26</artifactId>
<version>96.0</version>
<packaging>jlink</packaging>
<name>Maven</name>
<url>https://maven.apache.org</url>
- <description>Test JLink create a image from a module without any dependency.</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>
+ <description>Test JLink create an image from a module without any dependency.</description>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.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>
diff --git a/src/it/projects/MJLINK-3_improveVerboseOutput/pom.xml b/src/it/projects/MJLINK-3_improveVerboseOutput/pom.xml
index c3d5618..dbe242f 100644
--- a/src/it/projects/MJLINK-3_improveVerboseOutput/pom.xml
+++ b/src/it/projects/MJLINK-3_improveVerboseOutput/pom.xml
@@ -19,21 +19,22 @@
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/xsd/maven-4.0.0.xsd">
+<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>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
+
<groupId>org.apache.maven.plugins.jlink.its</groupId>
<artifactId>mjlink3</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jlink</packaging>
- <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>
<!-- use a dependency with a module-info.class -->
@@ -71,5 +72,4 @@
</plugins>
</pluginManagement>
</build>
-
-</project>
\ No newline at end of file
+</project>
diff --git a/src/it/projects/cli-options/bind-services/pom.xml b/src/it/projects/cli-options/bind-services/pom.xml
index c67f1c4..2930d1a 100644
--- a/src/it/projects/cli-options/bind-services/pom.xml
+++ b/src/it/projects/cli-options/bind-services/pom.xml
@@ -18,10 +18,17 @@
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"
->
+<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>
+
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-bind-services</artifactId>
<version>99.0</version>
@@ -29,11 +36,6 @@
<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>
diff --git a/src/it/projects/cli-options/compress-0/pom.xml b/src/it/projects/cli-options/compress-0/pom.xml
index 343dca9..a98dd0d 100644
--- a/src/it/projects/cli-options/compress-0/pom.xml
+++ b/src/it/projects/cli-options/compress-0/pom.xml
@@ -22,6 +22,11 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-compress0</artifactId>
<version>99.0</version>
@@ -29,11 +34,6 @@
<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>
diff --git a/src/it/projects/cli-options/compress-1/pom.xml b/src/it/projects/cli-options/compress-1/pom.xml
index 7e6b3e0..eeaee38 100644
--- a/src/it/projects/cli-options/compress-1/pom.xml
+++ b/src/it/projects/cli-options/compress-1/pom.xml
@@ -22,6 +22,11 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-compress1</artifactId>
<version>99.0</version>
@@ -29,11 +34,6 @@
<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>
diff --git a/src/it/projects/cli-options/compress-2/pom.xml b/src/it/projects/cli-options/compress-2/pom.xml
index ceb8c16..033c53d 100644
--- a/src/it/projects/cli-options/compress-2/pom.xml
+++ b/src/it/projects/cli-options/compress-2/pom.xml
@@ -18,10 +18,16 @@
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"
->
+<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>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-compress2</artifactId>
<version>99.0</version>
@@ -29,11 +35,6 @@
<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>
diff --git a/src/it/projects/cli-options/disable-plugin/pom.xml b/src/it/projects/cli-options/disable-plugin/pom.xml
index b41d204..90395dc 100644
--- a/src/it/projects/cli-options/disable-plugin/pom.xml
+++ b/src/it/projects/cli-options/disable-plugin/pom.xml
@@ -22,6 +22,11 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-disable-plugin</artifactId>
<version>99.0</version>
@@ -29,11 +34,6 @@
<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>
diff --git a/src/it/projects/cli-options/endian-big/pom.xml b/src/it/projects/cli-options/endian-big/pom.xml
index dfa5e1e..cf8f993 100644
--- a/src/it/projects/cli-options/endian-big/pom.xml
+++ b/src/it/projects/cli-options/endian-big/pom.xml
@@ -18,10 +18,16 @@
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"
->
+<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>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-endian-big</artifactId>
<version>99.0</version>
@@ -29,11 +35,6 @@
<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>
diff --git a/src/it/projects/cli-options/endian/pom.xml b/src/it/projects/cli-options/endian/pom.xml
index 7d3def4..56ddd52 100644
--- a/src/it/projects/cli-options/endian/pom.xml
+++ b/src/it/projects/cli-options/endian/pom.xml
@@ -18,10 +18,16 @@
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"
->
+<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>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-endian</artifactId>
<version>99.0</version>
@@ -29,11 +35,6 @@
<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>
diff --git a/src/it/projects/cli-options/ignore-signing-information/pom.xml b/src/it/projects/cli-options/ignore-signing-information/pom.xml
index ebe1129..8764ca1 100644
--- a/src/it/projects/cli-options/ignore-signing-information/pom.xml
+++ b/src/it/projects/cli-options/ignore-signing-information/pom.xml
@@ -18,10 +18,16 @@
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"
->
+<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>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-ignore-signing-information</artifactId>
<version>99.0</version>
@@ -29,11 +35,6 @@
<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>
diff --git a/src/it/projects/cli-options/no-header-files/pom.xml b/src/it/projects/cli-options/no-header-files/pom.xml
index 1559f38..14c7c8e 100644
--- a/src/it/projects/cli-options/no-header-files/pom.xml
+++ b/src/it/projects/cli-options/no-header-files/pom.xml
@@ -18,10 +18,16 @@
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"
->
+<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>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-no-header-files</artifactId>
<version>99.0</version>
@@ -29,11 +35,6 @@
<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>
diff --git a/src/it/projects/cli-options/no-man-pages/pom.xml b/src/it/projects/cli-options/no-man-pages/pom.xml
index c2af4a0..1d02427 100644
--- a/src/it/projects/cli-options/no-man-pages/pom.xml
+++ b/src/it/projects/cli-options/no-man-pages/pom.xml
@@ -22,6 +22,11 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-no-man-pages</artifactId>
<version>99.0</version>
@@ -29,11 +34,6 @@
<name>Maven</name>
<url>http://maven.apache.org</url>
<description>Test JLink CLI Options --no-man-pages.</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>
diff --git a/src/it/projects/cli-options/strip-debug/pom.xml b/src/it/projects/cli-options/strip-debug/pom.xml
index 7625065..f986e13 100644
--- a/src/it/projects/cli-options/strip-debug/pom.xml
+++ b/src/it/projects/cli-options/strip-debug/pom.xml
@@ -18,10 +18,16 @@
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"
->
+<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>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-strip-debug</artifactId>
<version>99.0</version>
@@ -29,11 +35,6 @@
<name>Maven</name>
<url>http://maven.apache.org</url>
<description>Test JLink CLI Options --strip-debug.</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>
diff --git a/src/it/projects/cli-options/suggest-providers/pom.xml b/src/it/projects/cli-options/suggest-providers/pom.xml
index fef46aa..26cf37a 100644
--- a/src/it/projects/cli-options/suggest-providers/pom.xml
+++ b/src/it/projects/cli-options/suggest-providers/pom.xml
@@ -18,10 +18,16 @@
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"
->
+<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>
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin-cli-options-suggest-providers</artifactId>
<version>99.0</version>
@@ -29,11 +35,6 @@
<name>Maven</name>
<url>http://maven.apache.org</url>
<description>Test JLink CLI Options --suggest-providers xyz.</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>
diff --git a/src/it/projects/setup-01/invoker.properties b/src/it/projects/setup-01/invoker.properties
new file mode 100644
index 0000000..cecfb8c
--- /dev/null
+++ b/src/it/projects/setup-01/invoker.properties
@@ -0,0 +1,17 @@
+# 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.goals = clean install
diff --git a/src/it/projects/setup-01/pom.xml b/src/it/projects/setup-01/pom.xml
new file mode 100644
index 0000000..dbf9514
--- /dev/null
+++ b/src/it/projects/setup-01/pom.xml
@@ -0,0 +1,402 @@
+<?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.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ <packaging>pom</packaging>
+
+ <description>
+ Parent for integration tests.
+ </description>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <!-- Maven Plugins -->
+ <maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
+ <maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
+ <maven-changes-plugin.version>2.11</maven-changes-plugin.version>
+ <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
+ <maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
+ <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
+ <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
+ <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
+ <maven-ear-plugin.version>3.0.1</maven-ear-plugin.version>
+ <maven-ejb-plugin.version>3.0.1</maven-ejb-plugin.version>
+ <maven-enforcer-plugin.version>3.0.0-M1</maven-enforcer-plugin.version>
+ <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
+ <maven-install-plugin.version>2.5.2</maven-install-plugin.version>
+ <maven-invoker-plugin.version>3.1.0</maven-invoker-plugin.version>
+ <maven-jar-plugin.version>3.1.0</maven-jar-plugin.version>
+ <maven-rar-plugin.version>2.4</maven-rar-plugin.version>
+ <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
+ <maven-jxr-plugin.version>2.5</maven-jxr-plugin.version>
+ <maven-pmd-plugin.version>3.7</maven-pmd-plugin.version>
+ <maven-project-info-reports-plugin.version>3.0.0</maven-project-info-reports-plugin.version>
+ <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
+ <maven-remote-resources-plugin.version>1.5</maven-remote-resources-plugin.version>
+ <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
+ <maven-scm-publish-plugin.version>3.0.0</maven-scm-publish-plugin.version>
+ <maven-shade-plugin.version>3.2.0</maven-shade-plugin.version>
+ <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
+ <maven-war-plugin.version>3.2.2</maven-war-plugin.version>
+ <maven-toolchains-plugin.version>1.1</maven-toolchains-plugin.version>
+
+ <maven-site-plugin.version>3.7.1</maven-site-plugin.version>
+
+ <!-- The following belong together -->
+ <maven-failsafe-plugin.version>2.22.0</maven-failsafe-plugin.version>
+ <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
+ <maven-surefire-report-plugin.version>2.22.0</maven-surefire-report-plugin.version>
+
+
+ <!-- MojoHaus Plugins (formerly Codehaus) -->
+ <appassembler-maven-plugin.version>2.0.0</appassembler-maven-plugin.version>
+ <build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
+ <buildnumber-maven-plugin.version>1.4</buildnumber-maven-plugin.version>
+ <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
+ <findbugs-maven-plugin.version>3.0.4</findbugs-maven-plugin.version>
+ <jdepend-maven-plugin.version>2.0</jdepend-maven-plugin.version>
+ <license-maven-plugin.version>1.8</license-maven-plugin.version>
+ <taglist-maven-plugin.version>2.4</taglist-maven-plugin.version>
+ <templating-maven-plugin.version>1.0.0</templating-maven-plugin.version>
+ <versions-maven-plugin.version>2.5</versions-maven-plugin.version>
+ </properties>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.1.0</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>${maven-deploy-plugin.version}</version>
+ <configuration>
+ <deployAtEnd>true</deployAtEnd>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>${maven-antrun-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <version>${maven-changes-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>${maven-release-plugin.version}</version>
+ <configuration>
+ <arguments>${arguments}</arguments>
+ <goals>deploy site site:stage scm-publish:publish-scm</goals>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>${maven-clean-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>${maven-install-plugin.version}</version>
+ <configuration>
+ <installAtEnd>true</installAtEnd>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>${maven-jar-plugin.version}</version>
+ <configuration>
+ <archive>
+ <addMavenDescriptor>true</addMavenDescriptor>
+ <index>true</index>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ </manifest>
+ <manifestEntries>
+ <artifactId>${project.artifactId}</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <version>${project.version}</version>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>${maven-ear-plugin.version}</version>
+ <configuration>
+ <archive>
+ <addMavenDescriptor>true</addMavenDescriptor>
+ <index>true</index>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ </manifest>
+ <manifestEntries>
+ <artifactId>${project.artifactId}</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <version>${project.version}</version>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>${maven-war-plugin.version}</version>
+ <configuration>
+ <archive>
+ <addMavenDescriptor>true</addMavenDescriptor>
+ <index>true</index>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ </manifest>
+ <manifestEntries>
+ <artifactId>${project.artifactId}</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <version>${project.version}</version>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-rar-plugin</artifactId>
+ <version>${maven-rar-plugin.version}</version>
+ <configuration>
+ <archive>
+ <addMavenDescriptor>true</addMavenDescriptor>
+ <index>true</index>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ </manifest>
+ <manifestEntries>
+ <artifactId>${project.artifactId}</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <version>${project.version}</version>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <version>${maven-ejb-plugin.version}</version>
+ <configuration>
+ <archive>
+ <addMavenDescriptor>true</addMavenDescriptor>
+ <index>true</index>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ </manifest>
+ <manifestEntries>
+ <artifactId>${project.artifactId}</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <version>${project.version}</version>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>${maven-shade-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <version>${maven-invoker-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>${maven-source-plugin.version}</version>
+ <executions>
+ <!--
+ ! here we override the super-pom attach-sources execution id which
+ ! calls sources:jar goal. That goals forks the lifecycle,
+ ! causing the generate-sources phase to be called twice for the install goal.
+ ! See for reference https://issues.apache.org/jira/browse/MNG-5940 will be
+ ! part of the next Maven releases to make this superfluous.
+ -->
+ <execution>
+ <id>attach-sources</id>
+ <phase>DISABLE_FORKED_LIFECYCLE_MSOURCES-13</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>${maven-compiler-plugin.version}</version>
+ <configuration>
+ <release>9</release>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>${maven-resources-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>${maven-surefire-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>${maven-failsafe-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>${maven-assembly-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>${maven-dependency-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>${maven-project-info-reports-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>${maven-site-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>${maven-pmd-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>${maven-javadoc-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>${maven-remote-resources-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>${maven-enforcer-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>${maven-checkstyle-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>${maven-toolchains-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.12</version>
+ </plugin>
+
+ <!-- Codehaus Plugins -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>appassembler-maven-plugin</artifactId>
+ <version>${appassembler-maven-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>${build-helper-maven-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <version>${buildnumber-maven-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <version>${license-maven-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>templating-maven-plugin</artifactId>
+ <version>${templating-maven-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>${exec-maven-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <version>${maven-scm-publish-plugin.version}</version>
+ </plugin>
+ <!-- My Own Plugins -->
+ <plugin>
+ <groupId>com.soebes.maven.plugins</groupId>
+ <artifactId>echo-maven-plugin</artifactId>
+ <version>0.3.0</version>
+ </plugin>
+ <plugin>
+ <groupId>com.soebes.maven.plugins</groupId>
+ <artifactId>multienv-maven-plugin</artifactId>
+ <version>0.3.0</version>
+ </plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.8.1</version>
+ </plugin>
+
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
diff --git a/src/it/projects/setup-jar-module-info/pom.xml b/src/it/projects/setup-jar-module-info/pom.xml
index 2cc1e1b..1d0b070 100644
--- a/src/it/projects/setup-jar-module-info/pom.xml
+++ b/src/it/projects/setup-jar-module-info/pom.xml
@@ -18,10 +18,17 @@
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"
->
+<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>
+
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
<groupId>localhost</groupId>
<artifactId>first-jar-module-info</artifactId>
<version>99.0</version>
diff --git a/src/it/projects/setup-jar/pom.xml b/src/it/projects/setup-jar/pom.xml
index 48c4993..8988fc2 100644
--- a/src/it/projects/setup-jar/pom.xml
+++ b/src/it/projects/setup-jar/pom.xml
@@ -18,10 +18,18 @@
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"
->
+<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>
+
+ <parent>
+ <groupId>org.apache.maven.plugins.jlink.its</groupId>
+ <artifactId>mjlink-parent</artifactId>
+ <version>1.0.0</version>
+ </parent>
+
<groupId>localhost</groupId>
<artifactId>first-jar</artifactId>
<version>99.0</version>