Disable geocoder test by default as it requires online internet and working 
remote host.


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

Branch: refs/heads/camel-2.13.x
Commit: 5854ae018cecf86a5eef5944c986fc5d35b8ab33
Parents: fa6db18
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Dec 10 15:44:21 2014 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Dec 10 18:06:17 2014 +0100

----------------------------------------------------------------------
 components/camel-geocoder/pom.xml | 38 ++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5854ae01/components/camel-geocoder/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-geocoder/pom.xml 
b/components/camel-geocoder/pom.xml
index 3657d10..79b2283 100644
--- a/components/camel-geocoder/pom.xml
+++ b/components/camel-geocoder/pom.xml
@@ -69,4 +69,42 @@
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <childDelegation>false</childDelegation>
+          <useFile>true</useFile>
+          <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+          <excludes>
+            <!-- exclude all tests as they require online internet -->
+            <exclude>**/*Test.java</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <profiles>
+    <profile>
+      <id>geo-test</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <childDelegation>false</childDelegation>
+              <useFile>true</useFile>
+              
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+              <includes>
+                <include>**/*Test.java</include>
+              </includes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>

Reply via email to