summaryrefslogtreecommitdiffstats
path: root/springboot/spring-boot-setup/pom.xml
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2024-09-23 13:29:42 +0000
committerGerrit Code Review <gerrit@onap.org>2024-09-23 13:29:42 +0000
commit8bd1f626640d452d92926957db39e9eeaa01d96c (patch)
tree69b99af32ec3c79be821de4a6139efebd169f7df /springboot/spring-boot-setup/pom.xml
parent9998f9dc585e50d18cc279e3d103aef079078610 (diff)
parentf2e52deb999b971a1048f303b8ef89111869f97c (diff)
Merge "Upgrade for Java 17 with Kotlin 1.7"
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 7dcadebe..a737b682 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>