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 2022/05/23 00:49:30 UTC

[cxf-xjc-utils] branch master updated: Set baseline to JDK-11 (#13)

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-xjc-utils.git


The following commit(s) were added to refs/heads/master by this push:
     new a0f71ed  Set baseline to JDK-11 (#13)
a0f71ed is described below

commit a0f71eda5d95aa9f46f9d08d26d1592320e18bab
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Sun May 22 20:49:25 2022 -0400

    Set baseline to JDK-11 (#13)
---
 pom.xml | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 8d82673..f94bf37 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,7 +45,7 @@
 
     <properties>
         <cxf-buildtools-version>4.0.0-SNAPSHOT</cxf-buildtools-version>
-        <jdk.version>1.8</jdk.version>
+        <jdk.version>11</jdk.version>
         <jaxb-version>3.0.1</jaxb-version>
         <jaxb-runtime-version>3.0.2</jaxb-runtime-version>
 
@@ -421,6 +421,21 @@
                         </execution>
                     </executions>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-enforcer-plugin</artifactId>
+                    <version>3.0.0</version>
+                    <configuration>
+                        <rules>
+                            <requireJavaVersion>
+                                <version>11</version>
+                            </requireJavaVersion>
+                            <requireMavenVersion>
+                                <version>3.5</version>
+                            </requireMavenVersion>
+                        </rules>
+                    </configuration>
+                </plugin>
                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
                 <plugin>
                 	<groupId>org.eclipse.m2e</groupId>