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 f33620a7930e603de146b36e6154ca7bc3351d6b Author: Karl Heinz Marbaise <khmarba...@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 | 33 +- src/it/projects/cli-options/bind-services/pom.xml | 27 +- src/it/projects/cli-options/compress-0/pom.xml | 19 +- src/it/projects/cli-options/compress-1/pom.xml | 19 +- src/it/projects/cli-options/compress-2/pom.xml | 26 +- src/it/projects/cli-options/disable-plugin/pom.xml | 19 +- src/it/projects/cli-options/endian-big/pom.xml | 26 +- src/it/projects/cli-options/endian/pom.xml | 26 +- .../cli-options/ignore-signing-information/pom.xml | 26 +- .../projects/cli-options/no-header-files/pom.xml | 26 +- src/it/projects/cli-options/no-man-pages/pom.xml | 19 +- src/it/projects/cli-options/strip-debug/pom.xml | 26 +- .../projects/cli-options/suggest-providers/pom.xml | 26 +- 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 | 33 +- src/it/projects/setup-jar/pom.xml | 34 +- 18 files changed, 553 insertions(+), 279 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 46e9d79..dd34cd2 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 --> @@ -57,19 +58,5 @@ </configuration> </plugin> </plugins> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.7.0</version> - <configuration> - <source>${maven.compiler.source}</source> - <target>${maven.compiler.target}</target> - </configuration> - </plugin> - </plugins> - </pluginManagement> </build> - </project> \ No newline at end of file diff --git a/src/it/projects/cli-options/bind-services/pom.xml b/src/it/projects/cli-options/bind-services/pom.xml index 9fa2593..ac73743 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> @@ -45,15 +47,6 @@ <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> diff --git a/src/it/projects/cli-options/compress-0/pom.xml b/src/it/projects/cli-options/compress-0/pom.xml index b96fda3..764183c 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> @@ -45,15 +45,6 @@ <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> diff --git a/src/it/projects/cli-options/compress-1/pom.xml b/src/it/projects/cli-options/compress-1/pom.xml index ac2bf5a..1b2942a 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> @@ -45,15 +45,6 @@ <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> diff --git a/src/it/projects/cli-options/compress-2/pom.xml b/src/it/projects/cli-options/compress-2/pom.xml index 35e3688..ee1c86d 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> @@ -45,15 +46,6 @@ <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> diff --git a/src/it/projects/cli-options/disable-plugin/pom.xml b/src/it/projects/cli-options/disable-plugin/pom.xml index 9b6dd5e..ced72fa 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> @@ -45,15 +45,6 @@ <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> diff --git a/src/it/projects/cli-options/endian-big/pom.xml b/src/it/projects/cli-options/endian-big/pom.xml index 6d6f8ba..0790826 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> @@ -45,15 +46,6 @@ <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> diff --git a/src/it/projects/cli-options/endian/pom.xml b/src/it/projects/cli-options/endian/pom.xml index 9805377..230b43c 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> @@ -45,15 +46,6 @@ <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> 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 252a54b..153d5ad 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> @@ -45,15 +46,6 @@ <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> 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 4cda5ba..f7d0d92 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> @@ -45,15 +46,6 @@ <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> 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 c4ded3d..46d277c 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> @@ -45,15 +45,6 @@ <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> diff --git a/src/it/projects/cli-options/strip-debug/pom.xml b/src/it/projects/cli-options/strip-debug/pom.xml index 5c83e57..47c2e4a 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> @@ -45,15 +46,6 @@ <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> diff --git a/src/it/projects/cli-options/suggest-providers/pom.xml b/src/it/projects/cli-options/suggest-providers/pom.xml index 3af8bfd..6e52272 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> @@ -45,15 +46,6 @@ <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> 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 ae65465..0976f94 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> @@ -30,24 +37,4 @@ Test Project to prepare a jar file which contains module-info.class file. </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> - <build> - <pluginManagement> - <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> - </plugins> - </pluginManagement> - </build> </project> diff --git a/src/it/projects/setup-jar/pom.xml b/src/it/projects/setup-jar/pom.xml index 0fbcdc0..f883281 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> @@ -30,24 +38,4 @@ Test Project to prepare a jar file which does not contain module-info.class file. </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> - <build> - <pluginManagement> - <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> - </plugins> - </pluginManagement> - </build> </project>