camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/5] camel git commit: CAMEL-10141 Lets build camel-core and have some unit tests pass
Date Tue, 14 Feb 2017 11:39:14 GMT
CAMEL-10141 Lets build camel-core and have some unit tests pass


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

Branch: refs/heads/master
Commit: 2fb88ea8310382dc5aee805ae29850df7daedd16
Parents: 86ae3e7
Author: jpoth <poth.john@gmail.com>
Authored: Fri Feb 10 18:44:51 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Feb 14 11:54:24 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/camel/blob/2fb88ea8/camel-core/pom.xml
----------------------------------------------------------------------
diff --git a/camel-core/pom.xml b/camel-core/pom.xml
index e8bbbf4..f211165 100644
--- a/camel-core/pom.xml
+++ b/camel-core/pom.xml
@@ -639,6 +639,80 @@
         </dependency>
       </dependencies>
     </profile>
-  </profiles>
 
+    <profile>
+      <id>jdk9-build</id>
+      <activation>
+        <jdk>9</jdk>
+      </activation>
+      <dependencies>
+
+        <!-- enable the APT processor -->
+        <dependency>
+          <groupId>org.apache.camel</groupId>
+          <artifactId>apt</artifactId>
+          <scope>provided</scope>
+        </dependency>
+        <!-- enable Spring Boot configuration APT processor -->
+        <dependency>
+          <groupId>org.springframework.boot</groupId>
+          <artifactId>spring-boot-configuration-processor</artifactId>
+          <version>${spring-boot-version}</version>
+          <scope>provided</scope>
+        </dependency>
+      </dependencies>
+      <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 -->
+              <excludes>
+              <exclude>org/apache/camel/component/file/stress/**.java</exclude>
+              <exclude>**/DistributedCompletionIntervalTest.java</exclude>
+              <exclude>**/DistributedConcurrentPerCorrelationKeyTest.java</exclude>
+              <exclude>${platform.skip.tests}</exclude>
+              </excludes>
+              <forkedProcessTimeoutInSeconds>3000</forkedProcessTimeoutInSeconds>
+              <!-- needed for testing the properties component -->
+              <environmentVariables>
+              <FOO_SERVICE_HOST>myserver</FOO_SERVICE_HOST>
+              <FOO_SERVICE_PORT>8081</FOO_SERVICE_PORT>
+              </environmentVariables>
+              <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
+            </configuration>
+            <dependencies>
+              <dependency>
+                <groupId>com.sun.xml.bind</groupId>
+                <artifactId>jaxb-core</artifactId>
+                <version>2.2.11</version>
+              </dependency>
+              <dependency>
+                <groupId>com.sun.xml.bind</groupId>
+                <artifactId>jaxb-impl</artifactId>
+                <version>2.2.11</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
 </project>

http://git-wip-us.apache.org/repos/asf/camel/blob/2fb88ea8/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f9609dc..f800ee5 100755
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,7 @@
     <jdk.version>1.8</jdk.version>
     <compiler.fork>false</compiler.fork>
 
-    <maven-compiler-plugin-version>3.6.0</maven-compiler-plugin-version>
+    <maven-compiler-plugin-version>3.6.1</maven-compiler-plugin-version>
     <maven-surefire-plugin-version>2.19.1</maven-surefire-plugin-version>
 
     <!-- eclipse plugin need the jaxb in this pom.xml file -->


Mime
View raw message