camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: Try to fix the camel-jgroups CI test errors with JDK8
Date Tue, 02 Sep 2014 03:06:53 GMT
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 <willem.jiang@gmail.com>
Authored: Tue Sep 2 11:06:32 2014 +0800
Committer: Willem Jiang <willem.jiang@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>


Mime
View raw message