Moved two dependendent modules into a single
aggregator build to make sure the order is being
kept.
diff --git a/pom.xml b/pom.xml
index 75c1b56..8bb3c4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -274,15 +274,17 @@
<pomInclude>extras/*/pom.xml</pomInclude>
</pomIncludes>
<!--
- ! Define explicit the order
+ ! Unfortunately we can't define an execution order.
! https://issues.apache.org/jira/browse/MINVOKER-174
-->
<setupIncludes>
- <setupInclude>setup_jar_automodule/pom.xml</setupInclude>
- <setupInclude>setup_jar_classic/pom.xml</setupInclude>
<setupInclude>setup_jar_module/pom.xml</setupInclude>
- <setupInclude>setup_module-transitive/pom.xml</setupInclude>
+ <setupInclude>setup_jar_automodule/pom.xml</setupInclude>
+ <setupInclude>setup_x/pom.xml</setupInclude>
</setupIncludes>
+ <setupExcludes>
+ <setupExclude>setup_x/**</setupExclude>
+ </setupExcludes>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<settingsFile>src/it/settings.xml</settingsFile>
diff --git a/src/it/setup_module-transitive/invoker.properties b/src/it/setup_module-transitive/invoker.properties
deleted file mode 100644
index 4b40d10..0000000
--- a/src/it/setup_module-transitive/invoker.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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 = install
diff --git a/src/it/setup_jar_classic/invoker.properties b/src/it/setup_x/invoker.properties
similarity index 100%
rename from src/it/setup_jar_classic/invoker.properties
rename to src/it/setup_x/invoker.properties
diff --git a/src/it/setup_x/pom.xml b/src/it/setup_x/pom.xml
new file mode 100644
index 0000000..85c40d9
--- /dev/null
+++ b/src/it/setup_x/pom.xml
@@ -0,0 +1,39 @@
+<?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.compiler.it.setup</groupId>
+ <artifactId>setup</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <modules>
+ <module>setup_jar_classic</module>
+ <module>setup_module-transitive</module>
+ </modules>
+</project>
diff --git a/src/it/setup_jar_classic/pom.xml b/src/it/setup_x/setup_jar_classic/pom.xml
similarity index 100%
rename from src/it/setup_jar_classic/pom.xml
rename to src/it/setup_x/setup_jar_classic/pom.xml
diff --git a/src/it/setup_jar_classic/src/main/java/com/ta2/MyClass.java b/src/it/setup_x/setup_jar_classic/src/main/java/com/ta2/MyClass.java
similarity index 100%
rename from src/it/setup_jar_classic/src/main/java/com/ta2/MyClass.java
rename to src/it/setup_x/setup_jar_classic/src/main/java/com/ta2/MyClass.java
diff --git a/src/it/setup_module-transitive/pom.xml b/src/it/setup_x/setup_module-transitive/pom.xml
similarity index 100%
rename from src/it/setup_module-transitive/pom.xml
rename to src/it/setup_x/setup_module-transitive/pom.xml
diff --git a/src/it/setup_module-transitive/src/main/java/com/ta2/plus/MyClass.java b/src/it/setup_x/setup_module-transitive/src/main/java/com/ta2/plus/MyClass.java
similarity index 100%
rename from src/it/setup_module-transitive/src/main/java/com/ta2/plus/MyClass.java
rename to src/it/setup_x/setup_module-transitive/src/main/java/com/ta2/plus/MyClass.java
diff --git a/src/it/setup_module-transitive/src/main/java/module-info.java b/src/it/setup_x/setup_module-transitive/src/main/java/module-info.java
similarity index 100%
rename from src/it/setup_module-transitive/src/main/java/module-info.java
rename to src/it/setup_x/setup_module-transitive/src/main/java/module-info.java