blob: c22eac8f6d24cd6f657c5c99a725997485cfba67 [file] [log] [blame]
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001<?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>
4
5 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>springboot-aggregator</artifactId>
Dan Timoney7e727142023-06-13 15:55:53 -04008 <version>2.5.6-SNAPSHOT</version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05009 </parent>
10
11 <groupId>org.onap.ccsdk.parent</groupId>
12 <artifactId>spring-boot-setup</artifactId>
Dan Timoney7e727142023-06-13 15:55:53 -040013 <version>2.5.6-SNAPSHOT</version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050014 <packaging>pom</packaging>
15
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>
19
20 <build>
21 <plugins>
22 <plugin>
23 <artifactId>maven-resources-plugin</artifactId>
24 <version>2.6</version>
25 <executions>
26 <execution>
27 <id>create-springboot1-parent-pom</id>
28 <goals>
29 <goal>copy-resources</goal>
30 </goals><!-- here the phase you need -->
31 <phase>validate</phase>
32 <configuration>
33 <outputDirectory>../springboot1</outputDirectory>
34 <resources>
35 <resource>
36 <directory>src/main/resources</directory>
37 <includes>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040038 <include>pom-template-jdk8.xml</include>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050039 </includes>
40 <filtering>true</filtering>
41 </resource>
42 </resources>
43 <escapeString>\</escapeString>
44 <filters>
45 <filter>${basedir}/src/main/properties/springboot1.properties</filter>
46 </filters>
Michael Dürre2c39a4d2020-07-06 06:22:15 +020047 <encoding>UTF-8</encoding>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050048 </configuration>
49 </execution>
50 <execution>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040051 <id>create-springboot23-parent-pom</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050052 <goals>
53 <goal>copy-resources</goal>
54 </goals><!-- here the phase you need -->
55 <phase>validate</phase>
56 <configuration>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040057 <outputDirectory>../springboot23</outputDirectory>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050058 <resources>
59 <resource>
60 <directory>src/main/resources</directory>
61 <includes>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040062 <include>pom-template-jdk8.xml</include>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050063 </includes>
64 <filtering>true</filtering>
65 </resource>
66 </resources>
67 <escapeString>\</escapeString>
68 <filters>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040069 <filter>${basedir}/src/main/properties/springboot23.properties</filter>
70 </filters>
71 <encoding>UTF-8</encoding>
72 </configuration>
73 </execution>
74 <execution>
75 <id>create-springboot25-parent-pom</id>
76 <goals>
77 <goal>copy-resources</goal>
78 </goals><!-- here the phase you need -->
79 <phase>validate</phase>
80 <configuration>
81 <outputDirectory>../springboot25</outputDirectory>
82 <resources>
83 <resource>
84 <directory>src/main/resources</directory>
85 <includes>
86 <include>pom-template-jdk11.xml</include>
87 </includes>
88 <filtering>true</filtering>
89 </resource>
90 </resources>
91 <escapeString>\</escapeString>
92 <filters>
93 <filter>${basedir}/src/main/properties/springboot25.properties</filter>
94 </filters>
95 <encoding>UTF-8</encoding>
96 </configuration>
97 </execution>
98 <execution>
99 <id>create-springboot26-parent-pom</id>
100 <goals>
101 <goal>copy-resources</goal>
102 </goals><!-- here the phase you need -->
103 <phase>validate</phase>
104 <configuration>
105 <outputDirectory>../springboot26</outputDirectory>
106 <resources>
107 <resource>
108 <directory>src/main/resources</directory>
109 <includes>
110 <include>pom-template-jdk11.xml</include>
111 </includes>
112 <filtering>true</filtering>
113 </resource>
114 </resources>
115 <escapeString>\</escapeString>
116 <filters>
117 <filter>${basedir}/src/main/properties/springboot26.properties</filter>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500118 </filters>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200119 <encoding>UTF-8</encoding>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500120 </configuration>
121 </execution>
JohnKeeneyf51026a2023-03-01 19:15:13 +0000122 <execution>
123 <id>create-springboot30-parent-pom</id>
124 <goals>
125 <goal>copy-resources</goal>
126 </goals><!-- here the phase you need -->
127 <phase>validate</phase>
128 <configuration>
129 <outputDirectory>../springboot30</outputDirectory>
130 <resources>
131 <resource>
132 <directory>src/main/resources</directory>
133 <includes>
134 <include>pom-template-jdk17.xml</include>
135 </includes>
136 <filtering>true</filtering>
137 </resource>
138 </resources>
139 <escapeString>\</escapeString>
140 <filters>
141 <filter>${basedir}/src/main/properties/springboot30.properties</filter>
142 </filters>
143 <encoding>UTF-8</encoding>
144 </configuration>
145 </execution>
JohnKeeney7d5874d2023-08-28 15:51:42 +0100146 <execution>
147 <id>create-springboot31-parent-pom</id>
148 <goals>
149 <goal>copy-resources</goal>
150 </goals><!-- here the phase you need -->
151 <phase>validate</phase>
152 <configuration>
153 <outputDirectory>../springboot31</outputDirectory>
154 <resources>
155 <resource>
156 <directory>src/main/resources</directory>
157 <includes>
158 <include>pom-template-jdk17.xml</include>
159 </includes>
160 <filtering>true</filtering>
161 </resource>
162 </resources>
163 <escapeString>\</escapeString>
164 <filters>
165 <filter>${basedir}/src/main/properties/springboot31.properties</filter>
166 </filters>
167 <encoding>UTF-8</encoding>
168 </configuration>
169 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500170 </executions>
171 </plugin>
172 <plugin>
173 <groupId>com.coderplus.maven.plugins</groupId>
174 <artifactId>copy-rename-maven-plugin</artifactId>
175 <version>1.0.1</version>
176 <executions>
177 <execution>
178 <id>rename-springboot1-parent-pom</id>
179 <phase>validate</phase>
180 <goals>
181 <goal>rename</goal>
182 </goals>
183 <configuration>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -0400184 <sourceFile>../springboot1/pom-template-jdk8.xml</sourceFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500185 <destinationFile>../springboot1/pom.xml</destinationFile>
186 </configuration>
187 </execution>
188 <execution>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -0400189 <id>rename-springboot23-parent-pom</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500190 <phase>validate</phase>
191 <goals>
192 <goal>rename</goal>
193 </goals>
194 <configuration>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -0400195 <sourceFile>../springboot23/pom-template-jdk8.xml</sourceFile>
196 <destinationFile>../springboot23/pom.xml</destinationFile>
197 </configuration>
198 </execution>
199 <execution>
200 <id>rename-springboot25-parent-pom</id>
201 <phase>validate</phase>
202 <goals>
203 <goal>rename</goal>
204 </goals>
205 <configuration>
206 <sourceFile>../springboot25/pom-template-jdk11.xml</sourceFile>
207 <destinationFile>../springboot25/pom.xml</destinationFile>
208 </configuration>
209 </execution>
210 <execution>
211 <id>rename-springboot26-parent-pom</id>
212 <phase>validate</phase>
213 <goals>
214 <goal>rename</goal>
215 </goals>
216 <configuration>
217 <sourceFile>../springboot26/pom-template-jdk11.xml</sourceFile>
218 <destinationFile>../springboot26/pom.xml</destinationFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500219 </configuration>
220 </execution>
JohnKeeney7d5874d2023-08-28 15:51:42 +0100221 <execution>
222 <id>rename-springboot30-parent-pom</id>
223 <phase>validate</phase>
224 <goals>
225 <goal>rename</goal>
226 </goals>
227 <configuration>
228 <sourceFile>../springboot30/pom-template-jdk17.xml</sourceFile>
229 <destinationFile>../springboot30/pom.xml</destinationFile>
230 </configuration>
231 </execution>
232 <execution>
233 <id>rename-springboot31-parent-pom</id>
234 <phase>validate</phase>
235 <goals>
236 <goal>rename</goal>
237 </goals>
238 <configuration>
239 <sourceFile>../springboot31/pom-template-jdk17.xml</sourceFile>
240 <destinationFile>../springboot31/pom.xml</destinationFile>
241 </configuration>
242 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500243 </executions>
244 </plugin>
245 </plugins>
246 </build>
247</project>