CAMEL-10141: move compile settings for Java 9 to camel-parent

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/16a62442
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/16a62442
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/16a62442

Branch: refs/heads/master
Commit: 16a62442542f5706f4830d90caca3034dbe67847
Parents: e9aec2b
Author: jpoth <poth.j...@gmail.com>
Authored: Tue Mar 14 14:36:56 2017 +0100
Committer: jpoth <poth.j...@gmail.com>
Committed: Tue Mar 14 17:49:05 2017 +0100

----------------------------------------------------------------------
 camel-core/pom.xml | 16 ----------------
 parent/pom.xml     | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/16a62442/camel-core/pom.xml
----------------------------------------------------------------------
diff --git a/camel-core/pom.xml b/camel-core/pom.xml
index 7f4b8e1..b9f6430 100644
--- a/camel-core/pom.xml
+++ b/camel-core/pom.xml
@@ -648,22 +648,6 @@
       <build>
         <plugins>
           <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <version>${maven-compiler-plugin-version}</version>
-            <configuration>
-              <source>${jdk.version}</source>
-              <target>${jdk.version}</target>
-              <maxmem>512M</maxmem>
-              <fork>true</fork>
-              <compilerArgs>
-                <arg>-J--add-modules</arg>
-                <arg>-Jjava.xml.bind</arg>
-              </compilerArgs>
-            </configuration>
-          </plugin>
-
-          <plugin>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
               <!-- skip file stress tests as they are intended to run manually 
-->

http://git-wip-us.apache.org/repos/asf/camel/blob/16a62442/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 0b7a154..fb6136a 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -5154,6 +5154,21 @@
                 </dependency>
               </dependencies>
             </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-compiler-plugin</artifactId>
+              <version>${maven-compiler-plugin-version}</version>
+              <configuration>
+                <source>${jdk.version}</source>
+                <target>${jdk.version}</target>
+                <maxmem>512M</maxmem>
+                <fork>true</fork>
+                <compilerArgs>
+                  <arg>-J--add-modules</arg>
+                  <arg>-Jjava.xml.bind</arg>
+                </compilerArgs>
+              </configuration>
+            </plugin>
           </plugins>
         </pluginManagement>
       </build>

Reply via email to