You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2014/09/02 05:06:53 UTC

git commit: Try to fix the camel-jgroups CI test errors with JDK8

Repository: camel
Updated Branches:
  refs/heads/master 96801b3ae -> 4c58bcdc5


Try to fix the camel-jgroups CI test errors with JDK8


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

Branch: refs/heads/master
Commit: 4c58bcdc5a1c6bb175f86a9e3a23defdb6f5b619
Parents: 96801b3
Author: Willem Jiang <wi...@gmail.com>
Authored: Tue Sep 2 11:06:32 2014 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Tue Sep 2 11:06:32 2014 +0800

----------------------------------------------------------------------
 components/camel-jgroups/pom.xml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4c58bcdc/components/camel-jgroups/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/pom.xml b/components/camel-jgroups/pom.xml
index 57ba447..ab99939 100644
--- a/components/camel-jgroups/pom.xml
+++ b/components/camel-jgroups/pom.xml
@@ -68,5 +68,18 @@
           <scope>test</scope>
         </dependency>
     </dependencies>
-
+    
+    <build>
+       <plugins>
+          <plugin>
+             <artifactId>maven-surefire-plugin</artifactId>
+             <configuration>
+                <systemPropertyVariables>
+                    <!-- force jgroup to use loopback interface to fix the CI build -->
+                    <jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
+                </systemPropertyVariables>
+             </configuration>
+          </plugin>
+       </plugins>
+    </build>
 </project>