From fafde7f65ab38e29d842370bcccad98a7f60c7d5 Mon Sep 17 00:00:00 2001 From: venkatsagi <92774658+Venkatsagi1@users.noreply.github.com> Date: Wed, 19 Nov 2025 16:05:31 +0530 Subject: [PATCH] Add maven-compiler-plugin with --add-opens for JDK17 Added maven-compiler-plugin configuration to support JDK 17. --- pom.xml | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 97f486c..b0c7831 100644 --- a/pom.xml +++ b/pom.xml @@ -2,13 +2,16 @@ + 4.0.0 + org.springframework.boot spring-boot-starter-parent 2.1.3.RELEASE + com.demo BankApplicationBackend 0.0.1-SNAPSHOT @@ -31,19 +34,18 @@ org.springframework.boot spring-boot-starter-hateoas - - - - + org.springframework.boot spring-boot-starter-security + org.springframework.security spring-security-jwt 1.0.7.RELEASE + com.auth0 java-jwt @@ -60,11 +62,13 @@ h2 runtime + org.projectlombok lombok true + org.springframework.boot spring-boot-starter-test @@ -74,10 +78,13 @@ + + org.springframework.boot spring-boot-maven-plugin + org.jacoco jacoco-maven-plugin @@ -91,12 +98,29 @@ + org.eluder.coveralls coveralls-maven-plugin 4.3.0 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.10.1 + + true + + --add-opens + jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED + + 1.8 + 1.8 + + +