Add springboot parent 31 for London
https://spring.io/security/cve-2023-20883 by upgrading spring to 3.1.0+
Issue-ID: CCSDK-3921
Change-Id: I5fd8d252982aeea81cad0e31a5fd2fc1befff5b3
Signed-off-by: JohnKeeney <john.keeney@est.tech>
diff --git a/springboot/spring-boot-setup/pom.xml b/springboot/spring-boot-setup/pom.xml
index 017cf69..c22eac8 100644
--- a/springboot/spring-boot-setup/pom.xml
+++ b/springboot/spring-boot-setup/pom.xml
@@ -143,6 +143,30 @@
<encoding>UTF-8</encoding>
</configuration>
</execution>
+ <execution>
+ <id>create-springboot31-parent-pom</id>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals><!-- here the phase you need -->
+ <phase>validate</phase>
+ <configuration>
+ <outputDirectory>../springboot31</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/springboot31.properties</filter>
+ </filters>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -194,6 +218,28 @@
<destinationFile>../springboot26/pom.xml</destinationFile>
</configuration>
</execution>
+ <execution>
+ <id>rename-springboot30-parent-pom</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>rename</goal>
+ </goals>
+ <configuration>
+ <sourceFile>../springboot30/pom-template-jdk17.xml</sourceFile>
+ <destinationFile>../springboot30/pom.xml</destinationFile>
+ </configuration>
+ </execution>
+ <execution>
+ <id>rename-springboot31-parent-pom</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>rename</goal>
+ </goals>
+ <configuration>
+ <sourceFile>../springboot31/pom-template-jdk17.xml</sourceFile>
+ <destinationFile>../springboot31/pom.xml</destinationFile>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>