diff options
author | 2024-09-19 19:55:48 +0530 | |
---|---|---|
committer | 2024-09-19 20:09:21 +0530 | |
commit | f2e52deb999b971a1048f303b8ef89111869f97c (patch) | |
tree | 4dd3141b177f0507218a6d2dce2c45489fdd1dd4 /springboot/spring-boot-setup/pom.xml | |
parent | 67493a6cc75140a6df20fca9c593d02f14ed78ea (diff) |
Upgrade for Java 17 with Kotlin 1.7
- Generated a new module for CDS with Java 17, Kotlin 1.7 & Spring Boot 2.7.18.
Issue-ID: CCSDK-4054
Change-Id: Ifd4f9c35953d0c7fd297f56043eec37e8bcba18d
Signed-off-by: avinash.akkera <avinash.akkera@accenture.com>
Diffstat (limited to 'springboot/spring-boot-setup/pom.xml')
-rw-r--r-- | springboot/spring-boot-setup/pom.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/springboot/spring-boot-setup/pom.xml b/springboot/spring-boot-setup/pom.xml index d3e95f73..f61cf5d8 100644 --- a/springboot/spring-boot-setup/pom.xml +++ b/springboot/spring-boot-setup/pom.xml @@ -120,6 +120,30 @@ </configuration> </execution> <execution> + <id>create-springboot27-jdk17-parent-pom</id> + <goals> + <goal>copy-resources</goal> + </goals><!-- here the phase you need --> + <phase>validate</phase> + <configuration> + <outputDirectory>../springboot27-jdk17</outputDirectory> + <resources> + <resource> + <directory>src/main/resources</directory> + <includes> + <include>pom-template-jdk17.xml</include> + </includes> + <filtering>true</filtering> + </resource> + </resources> + <escapeString>\</escapeString> + <filters> + <filter>${basedir}/src/main/properties/springboot27-jdk17.properties</filter> + </filters> + <encoding>UTF-8</encoding> + </configuration> + </execution> + <execution> <id>create-springboot30-parent-pom</id> <goals> <goal>copy-resources</goal> @@ -267,6 +291,17 @@ </configuration> </execution> <execution> + <id>rename-springboot27-jdk17-parent-pom</id> + <phase>validate</phase> + <goals> + <goal>rename</goal> + </goals> + <configuration> + <sourceFile>../springboot27-jdk17/pom-template-jdk17.xml</sourceFile> + <destinationFile>../springboot27-jdk17/pom.xml</destinationFile> + </configuration> + </execution> + <execution> <id>rename-springboot30-parent-pom</id> <phase>validate</phase> <goals> |