1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>springboot-aggregator</artifactId>
8 <version>2.5.5</version>
11 <groupId>org.onap.ccsdk.parent</groupId>
12 <artifactId>spring-boot-setup</artifactId>
13 <version>2.5.5</version>
14 <packaging>pom</packaging>
16 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
17 <description>Root POM to be used in place of spring-boot parent for CCSDK based projects</description>
18 <url>http://wiki.onap.org</url>
23 <artifactId>maven-resources-plugin</artifactId>
24 <version>2.6</version>
27 <id>create-springboot1-parent-pom</id>
29 <goal>copy-resources</goal>
30 </goals><!-- here the phase you need -->
31 <phase>validate</phase>
33 <outputDirectory>../springboot1</outputDirectory>
36 <directory>src/main/resources</directory>
38 <include>pom-template-jdk8.xml</include>
40 <filtering>true</filtering>
43 <escapeString>\</escapeString>
45 <filter>${basedir}/src/main/properties/springboot1.properties</filter>
47 <encoding>UTF-8</encoding>
51 <id>create-springboot23-parent-pom</id>
53 <goal>copy-resources</goal>
54 </goals><!-- here the phase you need -->
55 <phase>validate</phase>
57 <outputDirectory>../springboot23</outputDirectory>
60 <directory>src/main/resources</directory>
62 <include>pom-template-jdk8.xml</include>
64 <filtering>true</filtering>
67 <escapeString>\</escapeString>
69 <filter>${basedir}/src/main/properties/springboot23.properties</filter>
71 <encoding>UTF-8</encoding>
75 <id>create-springboot25-parent-pom</id>
77 <goal>copy-resources</goal>
78 </goals><!-- here the phase you need -->
79 <phase>validate</phase>
81 <outputDirectory>../springboot25</outputDirectory>
84 <directory>src/main/resources</directory>
86 <include>pom-template-jdk11.xml</include>
88 <filtering>true</filtering>
91 <escapeString>\</escapeString>
93 <filter>${basedir}/src/main/properties/springboot25.properties</filter>
95 <encoding>UTF-8</encoding>
99 <id>create-springboot26-parent-pom</id>
101 <goal>copy-resources</goal>
102 </goals><!-- here the phase you need -->
103 <phase>validate</phase>
105 <outputDirectory>../springboot26</outputDirectory>
108 <directory>src/main/resources</directory>
110 <include>pom-template-jdk11.xml</include>
112 <filtering>true</filtering>
115 <escapeString>\</escapeString>
117 <filter>${basedir}/src/main/properties/springboot26.properties</filter>
119 <encoding>UTF-8</encoding>
123 <id>create-springboot30-parent-pom</id>
125 <goal>copy-resources</goal>
126 </goals><!-- here the phase you need -->
127 <phase>validate</phase>
129 <outputDirectory>../springboot30</outputDirectory>
132 <directory>src/main/resources</directory>
134 <include>pom-template-jdk17.xml</include>
136 <filtering>true</filtering>
139 <escapeString>\</escapeString>
141 <filter>${basedir}/src/main/properties/springboot30.properties</filter>
143 <encoding>UTF-8</encoding>
149 <groupId>com.coderplus.maven.plugins</groupId>
150 <artifactId>copy-rename-maven-plugin</artifactId>
151 <version>1.0.1</version>
154 <id>rename-springboot1-parent-pom</id>
155 <phase>validate</phase>
160 <sourceFile>../springboot1/pom-template-jdk8.xml</sourceFile>
161 <destinationFile>../springboot1/pom.xml</destinationFile>
165 <id>rename-springboot23-parent-pom</id>
166 <phase>validate</phase>
171 <sourceFile>../springboot23/pom-template-jdk8.xml</sourceFile>
172 <destinationFile>../springboot23/pom.xml</destinationFile>
176 <id>rename-springboot25-parent-pom</id>
177 <phase>validate</phase>
182 <sourceFile>../springboot25/pom-template-jdk11.xml</sourceFile>
183 <destinationFile>../springboot25/pom.xml</destinationFile>
187 <id>rename-springboot26-parent-pom</id>
188 <phase>validate</phase>
193 <sourceFile>../springboot26/pom-template-jdk11.xml</sourceFile>
194 <destinationFile>../springboot26/pom.xml</destinationFile>