summaryrefslogtreecommitdiffstats
path: root/springboot/spring-boot-setup
diff options
context:
space:
mode:
authorJohnKeeney <john.keeney@est.tech>2023-08-28 16:25:14 +0100
committerJohnKeeney <john.keeney@est.tech>2023-08-28 16:25:29 +0100
commitfd59f6bb47ee6e9a401ce271ce21663dff7dc871 (patch)
tree38f59aba0181d9fa2102ee3fb1732e5714b42db9 /springboot/spring-boot-setup
parente718a166dadeca3e606386da1720313d8d71119f (diff)
Add springboot parent 31 for Montreal
https://spring.io/security/cve-2023-20883 by upgrading spring to 3.1.0+ Issue-ID: CCSDK-3921 Change-Id: Ie75aa4ebb26c29e05ce66a46e9be3a88534d033d Signed-off-by: JohnKeeney <john.keeney@est.tech>
Diffstat (limited to 'springboot/spring-boot-setup')
-rw-r--r--springboot/spring-boot-setup/pom.xml35
-rw-r--r--springboot/spring-boot-setup/src/main/properties/springboot31.properties11
2 files changed, 46 insertions, 0 deletions
diff --git a/springboot/spring-boot-setup/pom.xml b/springboot/spring-boot-setup/pom.xml
index 5124a7be..c4ae6b47 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>
@@ -205,6 +229,17 @@
<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>
diff --git a/springboot/spring-boot-setup/src/main/properties/springboot31.properties b/springboot/spring-boot-setup/src/main/properties/springboot31.properties
new file mode 100644
index 00000000..ec6957f2
--- /dev/null
+++ b/springboot/spring-boot-setup/src/main/properties/springboot31.properties
@@ -0,0 +1,11 @@
+springbootparent.artifactId=spring-boot-starter-parent
+springbootparent.groupId=org.springframework.boot
+springbootparent.version=3.1.0
+springboot.project.artifactId=spring-boot-31-starter-parent
+spring.version=6.0.9
+springboot.httpcomponents.core.version=4.5.16
+springboot.httpcomponents.client.version=4.5.14
+springboot.jackson.version=2.15.0
+springboot.logback.version=1.4.7
+springboot.slf4j.version=2.19.0
+springboot.antlr.version=4.12.0