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 2015/03/02 15:16:37 UTC

camel git commit: Skip the tests of camel-mustache if running with JDK 7

Repository: camel
Updated Branches:
  refs/heads/master cef078586 -> 2b525b9c5


Skip the tests of camel-mustache if running with JDK 7


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

Branch: refs/heads/master
Commit: 2b525b9c59334afca6aeaf22cd270072a703f115
Parents: cef0785
Author: Willem Jiang <wi...@gmail.com>
Authored: Mon Mar 2 22:13:59 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Mon Mar 2 22:16:08 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/camel/blob/2b525b9c/components/camel-mustache/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-mustache/pom.xml b/components/camel-mustache/pom.xml
index 0e20908..d03937f 100644
--- a/components/camel-mustache/pom.xml
+++ b/components/camel-mustache/pom.xml
@@ -59,4 +59,23 @@
     </dependency>
   </dependencies>
 
+  <profiles>
+    <profile>
+      <id>jdk1.7</id>
+      <activation>
+        <jdk>1.7</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <skipTests>true</skipTests>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>