This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/master by this push:
new 5cf33a3 disable RunMojoTest with jdk11
5cf33a3 is described below
commit 5cf33a3a69069b0df5d5428577f1b9ce9ebced89
Author: Freeman Fang <[email protected]>
AuthorDate: Thu Jul 5 19:55:02 2018 +0800
disable RunMojoTest with jdk11
---
tooling/karaf-maven-plugin/pom.xml | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/tooling/karaf-maven-plugin/pom.xml
b/tooling/karaf-maven-plugin/pom.xml
index cea70c3..53b6c17 100644
--- a/tooling/karaf-maven-plugin/pom.xml
+++ b/tooling/karaf-maven-plugin/pom.xml
@@ -414,7 +414,24 @@
</property>
</activation>
</profile>
+ <profile>
+ <id>java11</id>
+ <activation>
+ <jdk>[11,)</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>**/*RunMojoTest.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
-
-
</project>