This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e0f584  CAMEL-10895: xmlbeans-maven-plugin fails on JAVA9
6e0f584 is described below

commit 6e0f5846f9dae61c4be833fa306f6db1ed625f40
Author: Pascal Schumacher <pascalschumac...@gmx.net>
AuthorDate: Mon Apr 9 19:07:09 2018 +0200

    CAMEL-10895: xmlbeans-maven-plugin fails on JAVA9
    
    Fix build on Java 9 by setting javaSource parameter of xmlbeans-maven-plugin
---
 components/camel-xmlbeans/pom.xml | 40 +--------------------------------------
 1 file changed, 1 insertion(+), 39 deletions(-)

diff --git a/components/camel-xmlbeans/pom.xml 
b/components/camel-xmlbeans/pom.xml
index fca66e7..235c2ae 100644
--- a/components/camel-xmlbeans/pom.xml
+++ b/components/camel-xmlbeans/pom.xml
@@ -132,47 +132,9 @@
         <inherited>true</inherited>
         <configuration>
           <schemaDirectory>src/test/resources/xsd</schemaDirectory>
+          <javaSource>${jdk.version}</javaSource>
         </configuration>
       </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>

-- 
To stop receiving notification emails like this one, please contact
pascalschumac...@apache.org.

Reply via email to