summaryrefslogtreecommitdiffstats
path: root/springboot/spring-boot-setup/pom.xml
diff options
context:
space:
mode:
authorJohnKeeney <john.keeney@est.tech>2022-05-09 16:46:08 +0100
committerJohnKeeney <john.keeney@est.tech>2022-05-09 16:54:45 +0100
commit5286b7a9e0ed03bab57a93471e87c2f9d8492211 (patch)
treef6b0bea2abd9b615ace2f3d2bfecf2f59d02a031 /springboot/spring-boot-setup/pom.xml
parent2d071d42b8c333ffadd084960f85a3822e414815 (diff)
Update Spring 3PP versions - Cherrypicking & adapting from master
https://gerrit.onap.org/r/c/ccsdk/parent/+/129038 https://gerrit.onap.org/r/c/ccsdk/oran/+/129004 Issue-ID: CCSDK-3629 Change-Id: I9e0e015e200cafc6171c91b93b196be505c17c76 Signed-off-by: JohnKeeney <john.keeney@est.tech>
Diffstat (limited to 'springboot/spring-boot-setup/pom.xml')
-rw-r--r--springboot/spring-boot-setup/pom.xml88
1 files changed, 79 insertions, 9 deletions
diff --git a/springboot/spring-boot-setup/pom.xml b/springboot/spring-boot-setup/pom.xml
index bd4cbca3..f2f694d1 100644
--- a/springboot/spring-boot-setup/pom.xml
+++ b/springboot/spring-boot-setup/pom.xml
@@ -35,7 +35,7 @@
<resource>
<directory>src/main/resources</directory>
<includes>
- <include>pom-template.xml</include>
+ <include>pom-template-jdk8.xml</include>
</includes>
<filtering>true</filtering>
</resource>
@@ -48,25 +48,73 @@
</configuration>
</execution>
<execution>
- <id>create-springboot2-parent-pom</id>
+ <id>create-springboot23-parent-pom</id>
<goals>
<goal>copy-resources</goal>
</goals><!-- here the phase you need -->
<phase>validate</phase>
<configuration>
- <outputDirectory>../springboot2</outputDirectory>
+ <outputDirectory>../springboot23</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
- <include>pom-template.xml</include>
+ <include>pom-template-jdk8.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
<escapeString>\</escapeString>
<filters>
- <filter>${basedir}/src/main/properties/springboot2.properties</filter>
+ <filter>${basedir}/src/main/properties/springboot23.properties</filter>
+ </filters>
+ <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-jdk11.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>
+ <execution>
+ <id>create-springboot26-parent-pom</id>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals><!-- here the phase you need -->
+ <phase>validate</phase>
+ <configuration>
+ <outputDirectory>../springboot26</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>pom-template-jdk11.xml</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ <escapeString>\</escapeString>
+ <filters>
+ <filter>${basedir}/src/main/properties/springboot26.properties</filter>
</filters>
<encoding>UTF-8</encoding>
</configuration>
@@ -85,19 +133,41 @@
<goal>rename</goal>
</goals>
<configuration>
- <sourceFile>../springboot1/pom-template.xml</sourceFile>
+ <sourceFile>../springboot1/pom-template-jdk8.xml</sourceFile>
<destinationFile>../springboot1/pom.xml</destinationFile>
</configuration>
</execution>
<execution>
- <id>rename-springboot2-parent-pom</id>
+ <id>rename-springboot23-parent-pom</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>rename</goal>
+ </goals>
+ <configuration>
+ <sourceFile>../springboot23/pom-template-jdk8.xml</sourceFile>
+ <destinationFile>../springboot23/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-jdk11.xml</sourceFile>
+ <destinationFile>../springboot25/pom.xml</destinationFile>
+ </configuration>
+ </execution>
+ <execution>
+ <id>rename-springboot26-parent-pom</id>
<phase>validate</phase>
<goals>
<goal>rename</goal>
</goals>
<configuration>
- <sourceFile>../springboot2/pom-template.xml</sourceFile>
- <destinationFile>../springboot2/pom.xml</destinationFile>
+ <sourceFile>../springboot26/pom-template-jdk11.xml</sourceFile>
+ <destinationFile>../springboot26/pom.xml</destinationFile>
</configuration>
</execution>
</executions>