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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

reta
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 <[hidden email]>
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>