summaryrefslogtreecommitdiffstats
path: root/springboot/spring-boot-setup/pom.xml
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-08-05 10:46:18 -0400
committerDan Timoney <dtimoney@att.com>2021-08-17 07:40:45 -0400
commitbc67c407c4dc21e023f56ba17e4fd1f66d0bf8a9 (patch)
treefd4515713c78b3e86212ead89a3b55b80bcfc7ec /springboot/spring-boot-setup/pom.xml
parent2a577ea5da129f9458b51baeb6720306d28a2442 (diff)
Package upgrades
Upgrade third party packages to address security vulnerabilities. Provide new parent pom for spring boot 2.5, which is not backward compatible with spring boot 2.3 Issue-ID: CCSDK-3415 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iffbfffb6709aeec48c35dd604b9293fb3af34a10
Diffstat (limited to 'springboot/spring-boot-setup/pom.xml')
-rw-r--r--springboot/spring-boot-setup/pom.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/springboot/spring-boot-setup/pom.xml b/springboot/spring-boot-setup/pom.xml
index d41913b0..fe5a295d 100644
--- a/springboot/spring-boot-setup/pom.xml
+++ b/springboot/spring-boot-setup/pom.xml
@@ -71,6 +71,30 @@
<encoding>UTF-8</encoding>
</configuration>
</execution>
+ <execution>
+ <id>create-springboot25-parent-pom</id>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals><!-- here the phase you need -->
+ <phase>validate</phase>
+ <configuration>
+ <outputDirectory>../springboot25</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>pom-template.xml</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ <escapeString>\</escapeString>
+ <filters>
+ <filter>${basedir}/src/main/properties/springboot25.properties</filter>
+ </filters>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -100,6 +124,17 @@
<destinationFile>../springboot2/pom.xml</destinationFile>
</configuration>
</execution>
+ <execution>
+ <id>rename-springboot25-parent-pom</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>rename</goal>
+ </goals>
+ <configuration>
+ <sourceFile>../springboot25/pom-template.xml</sourceFile>
+ <destinationFile>../springboot25/pom.xml</destinationFile>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>