blob: 5124a7be0c91d480a1ef5cc60c3b851bc40a21f4 [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 Timoneye718a162023-07-31 15:15:00 -04008 <version>2.6.1-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 Timoneye718a162023-07-31 15:15:00 -040013 <version>2.6.1-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>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040027 <id>create-springboot23-parent-pom</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050028 <goals>
29 <goal>copy-resources</goal>
30 </goals><!-- here the phase you need -->
31 <phase>validate</phase>
32 <configuration>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040033 <outputDirectory>../springboot23</outputDirectory>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050034 <resources>
35 <resource>
36 <directory>src/main/resources</directory>
37 <includes>
Dan Timoney43836a92023-06-22 16:04:02 -040038 <include>pom-template-jdk17.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>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040045 <filter>${basedir}/src/main/properties/springboot23.properties</filter>
46 </filters>
47 <encoding>UTF-8</encoding>
48 </configuration>
49 </execution>
50 <execution>
51 <id>create-springboot25-parent-pom</id>
52 <goals>
53 <goal>copy-resources</goal>
54 </goals><!-- here the phase you need -->
55 <phase>validate</phase>
56 <configuration>
57 <outputDirectory>../springboot25</outputDirectory>
58 <resources>
59 <resource>
60 <directory>src/main/resources</directory>
61 <includes>
Dan Timoney43836a92023-06-22 16:04:02 -040062 <include>pom-template-jdk17.xml</include>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040063 </includes>
64 <filtering>true</filtering>
65 </resource>
66 </resources>
67 <escapeString>\</escapeString>
68 <filters>
69 <filter>${basedir}/src/main/properties/springboot25.properties</filter>
70 </filters>
71 <encoding>UTF-8</encoding>
72 </configuration>
73 </execution>
74 <execution>
75 <id>create-springboot26-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>../springboot26</outputDirectory>
82 <resources>
83 <resource>
84 <directory>src/main/resources</directory>
85 <includes>
Dan Timoney43836a92023-06-22 16:04:02 -040086 <include>pom-template-jdk17.xml</include>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -040087 </includes>
88 <filtering>true</filtering>
89 </resource>
90 </resources>
91 <escapeString>\</escapeString>
92 <filters>
93 <filter>${basedir}/src/main/properties/springboot26.properties</filter>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050094 </filters>
Michael Dürre2c39a4d2020-07-06 06:22:15 +020095 <encoding>UTF-8</encoding>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050096 </configuration>
97 </execution>
JohnKeeneyf51026a2023-03-01 19:15:13 +000098 <execution>
Dan Timoney43836a92023-06-22 16:04:02 -040099 <id>create-springboot27-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>../springboot27</outputDirectory>
106 <resources>
107 <resource>
108 <directory>src/main/resources</directory>
109 <includes>
110 <include>pom-template-jdk17.xml</include>
111 </includes>
112 <filtering>true</filtering>
113 </resource>
114 </resources>
115 <escapeString>\</escapeString>
116 <filters>
117 <filter>${basedir}/src/main/properties/springboot27.properties</filter>
118 </filters>
119 <encoding>UTF-8</encoding>
120 </configuration>
121 </execution>
122 <execution>
JohnKeeneyf51026a2023-03-01 19:15:13 +0000123 <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>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500146 </executions>
147 </plugin>
148 <plugin>
149 <groupId>com.coderplus.maven.plugins</groupId>
150 <artifactId>copy-rename-maven-plugin</artifactId>
151 <version>1.0.1</version>
152 <executions>
153 <execution>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -0400154 <id>rename-springboot23-parent-pom</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500155 <phase>validate</phase>
156 <goals>
157 <goal>rename</goal>
158 </goals>
159 <configuration>
Dan Timoney43836a92023-06-22 16:04:02 -0400160 <sourceFile>../springboot23/pom-template-jdk17.xml</sourceFile>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -0400161 <destinationFile>../springboot23/pom.xml</destinationFile>
162 </configuration>
163 </execution>
164 <execution>
165 <id>rename-springboot25-parent-pom</id>
166 <phase>validate</phase>
167 <goals>
168 <goal>rename</goal>
169 </goals>
170 <configuration>
Dan Timoney43836a92023-06-22 16:04:02 -0400171 <sourceFile>../springboot25/pom-template-jdk17.xml</sourceFile>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -0400172 <destinationFile>../springboot25/pom.xml</destinationFile>
173 </configuration>
174 </execution>
175 <execution>
176 <id>rename-springboot26-parent-pom</id>
177 <phase>validate</phase>
178 <goals>
179 <goal>rename</goal>
180 </goals>
181 <configuration>
Dan Timoney43836a92023-06-22 16:04:02 -0400182 <sourceFile>../springboot26/pom-template-jdk17.xml</sourceFile>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -0400183 <destinationFile>../springboot26/pom.xml</destinationFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500184 </configuration>
185 </execution>
Dan Timoney43836a92023-06-22 16:04:02 -0400186 <execution>
187 <id>rename-springboot27-parent-pom</id>
188 <phase>validate</phase>
189 <goals>
190 <goal>rename</goal>
191 </goals>
192 <configuration>
193 <sourceFile>../springboot27/pom-template-jdk17.xml</sourceFile>
194 <destinationFile>../springboot27/pom.xml</destinationFile>
195 </configuration>
196 </execution>
197 <execution>
198 <id>rename-springboot30-parent-pom</id>
199 <phase>validate</phase>
200 <goals>
201 <goal>rename</goal>
202 </goals>
203 <configuration>
204 <sourceFile>../springboot30/pom-template-jdk17.xml</sourceFile>
205 <destinationFile>../springboot30/pom.xml</destinationFile>
206 </configuration>
207 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500208 </executions>
209 </plugin>
210 </plugins>
211 </build>
212</project>