You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2013/09/11 13:20:49 UTC

[08/11] git commit: Skip weather test by default as it requires online access to remote service.

Skip weather test by default as it requires online access to remote service.


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

Branch: refs/heads/camel-2.12.x
Commit: 779995af557bfa776a9c35f33ed37834aeadba0e
Parents: d43fe60
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Sep 11 13:16:36 2013 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Sep 11 13:16:50 2013 +0200

----------------------------------------------------------------------
 components/camel-weather/pom.xml | 40 ++++++++++++++++++++++++++++++-----
 1 file changed, 35 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/779995af/components/camel-weather/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-weather/pom.xml b/components/camel-weather/pom.xml
index 6e831ba..7a49bfd 100644
--- a/components/camel-weather/pom.xml
+++ b/components/camel-weather/pom.xml
@@ -15,7 +15,8 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -29,12 +30,12 @@
   <packaging>bundle</packaging>
   <name>Camel :: Weather</name>
   <description>Camel Weather support</description>
-  
+
   <properties>
     <camel.osgi.export.pkg>org.apache.camel.component.weather.*</camel.osgi.export.pkg>
     <camel.osgi.export.service>org.apache.camel.spi.ComponentResolver;component=weather</camel.osgi.export.service>
   </properties>
- 
+
   <dependencies>
     <dependency>
       <groupId>org.apache.camel</groupId>
@@ -45,11 +46,11 @@
       <artifactId>jackson-mapper-asl</artifactId>
       <version>${jackson-version}</version>
     </dependency>
-    
+
     <!-- test dependencies -->
     <dependency>
       <groupId>org.apache.camel</groupId>
-      <artifactId>camel-test</artifactId>      
+      <artifactId>camel-test</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
@@ -59,4 +60,33 @@
     </dependency>
   </dependencies>
 
+  <profiles>
+    <profile>
+      <id>weather-test</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <skipTests>false</skipTests>
+              <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <skipTests>true</skipTests>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+
 </project>