You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2021/01/08 00:29:35 UTC

[cxf] branch master updated: Added Maven profile to run tests using latest JDK

This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b67b6f  Added Maven profile to run tests using latest JDK
8b67b6f is described below

commit 8b67b6f672d25f1128924e8aac58a6f395fe3511
Author: reta <dr...@gmail.com>
AuthorDate: Thu Jan 7 19:28:58 2021 -0500

    Added Maven profile to run tests using latest JDK
---
 parent/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/parent/pom.xml b/parent/pom.xml
index b26fa35..f82639e 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -2386,5 +2386,26 @@
                 <cxf.surefire.fork.vmargs>-ea --add-opens java.base/java.lang=ALL-UNNAMED</cxf.surefire.fork.vmargs>
             </properties>
         </profile>
+        <profile>
+            <id>test-on-latest</id>
+            <activation>
+                <property>
+                    <name>test-on-latest</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <jdkToolchain>
+                                <version>15</version>
+                            </jdkToolchain>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>