summaryrefslogtreecommitdiffstats
path: root/springboot/spring-boot-setup/pom.xml
diff options
context:
space:
mode:
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 4c89f90d..1b649eab 100644
--- a/springboot/spring-boot-setup/pom.xml
+++ b/springboot/spring-boot-setup/pom.xml
@@ -239,6 +239,30 @@
<encoding>UTF-8</encoding>
</configuration>
</execution>
+ <execution>
+ <id>create-springboot34-parent-pom</id>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals><!-- here the phase you need -->
+ <phase>validate</phase>
+ <configuration>
+ <outputDirectory>../springboot34</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/springboot34.properties</filter>
+ </filters>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -345,6 +369,17 @@
<destinationFile>../springboot33/pom.xml</destinationFile>
</configuration>
</execution>
+ <execution>
+ <id>rename-springboot34-parent-pom</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>rename</goal>
+ </goals>
+ <configuration>
+ <sourceFile>../springboot34/pom-template-jdk17.xml</sourceFile>
+ <destinationFile>../springboot34/pom.xml</destinationFile>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>