You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/03/02 17:46:42 UTC

[6/6] camel git commit: CAMEL-10895 Skip compile xmlbeans on Java 9

CAMEL-10895 Skip compile xmlbeans on Java 9


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

Branch: refs/heads/master
Commit: 67522e7a3dafb4952c5d5842632b324a8f1f5f48
Parents: a481a48
Author: jpoth <po...@gmail.com>
Authored: Wed Mar 1 16:32:50 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Mar 2 18:46:27 2017 +0100

----------------------------------------------------------------------
 components/camel-xmlbeans/pom.xml               | 39 ++++++++++++++++++++
 .../camel-xmlbeans-starter/pom.xml              | 28 ++++++++++++++
 2 files changed, 67 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/67522e7a/components/camel-xmlbeans/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-xmlbeans/pom.xml b/components/camel-xmlbeans/pom.xml
index c03bb2f..73f4af9 100644
--- a/components/camel-xmlbeans/pom.xml
+++ b/components/camel-xmlbeans/pom.xml
@@ -134,4 +134,43 @@
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>jdk9-build</id>
+      <activation>
+        <jdk>9</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <!--Skip compile on Java 9 https://issues.apache.org/jira/browse/CAMEL-10895 -->
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>xmlbeans-maven-plugin</artifactId>
+            <version>${xmlbeans-maven-plugin-version}</version>
+            <executions>
+              <execution>
+                <id>generate-sources</id>
+                <phase>none</phase>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>default-compile</id>
+                <phase>none</phase>
+              </execution>
+              <execution>
+                <id>default-testCompile</id>
+                <phase>none</phase>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>

http://git-wip-us.apache.org/repos/asf/camel/blob/67522e7a/platforms/spring-boot/components-starter/camel-xmlbeans-starter/pom.xml
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-xmlbeans-starter/pom.xml b/platforms/spring-boot/components-starter/camel-xmlbeans-starter/pom.xml
index b9e4e86..99a028f 100644
--- a/platforms/spring-boot/components-starter/camel-xmlbeans-starter/pom.xml
+++ b/platforms/spring-boot/components-starter/camel-xmlbeans-starter/pom.xml
@@ -48,4 +48,32 @@
     </dependency>
     <!--END OF GENERATED CODE-->
   </dependencies>
+
+  <profiles>
+    <profile>
+      <id>jdk9-build</id>
+      <activation>
+        <jdk>9</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <!--Skip compile on Java 9 https://issues.apache.org/jira/browse/CAMEL-10895 -->
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>default-compile</id>
+                <phase>none</phase>
+              </execution>
+              <execution>
+                <id>default-testCompile</id>
+                <phase>none</phase>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>