You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2016/02/16 16:25:48 UTC
camel git commit: Fix Maven surefire configuration for camel-mustache
as starting from 0.9 it is based only on Java 8
Repository: camel
Updated Branches:
refs/heads/master 72fa34b63 -> 11548e6d6
Fix Maven surefire configuration for camel-mustache as starting from 0.9 it is based only on Java 8
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/11548e6d
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/11548e6d
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/11548e6d
Branch: refs/heads/master
Commit: 11548e6d6eaeb3adc41e0f6c4cac2d8b6ff56790
Parents: 72fa34b
Author: Andrea Cosentino <an...@gmail.com>
Authored: Tue Feb 16 16:19:06 2016 +0100
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Tue Feb 16 16:19:06 2016 +0100
----------------------------------------------------------------------
components/camel-mustache/pom.xml | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/11548e6d/components/camel-mustache/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-mustache/pom.xml b/components/camel-mustache/pom.xml
index c3f681e..4e2bf46 100644
--- a/components/camel-mustache/pom.xml
+++ b/components/camel-mustache/pom.xml
@@ -58,24 +58,24 @@
<scope>test</scope>
</dependency>
</dependencies>
-
+
+ <!-- unit testing requires java 8 -->
<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>false</skipTests>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <id>jdk8-test</id>
+ <activation>
+ <jdk>!1.8</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>