blob: fe5a295d3e72281885185b64bd9dd6c566304915 [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 Timoney129bbdb2021-03-09 09:43:57 -05008 <version>2.2.0-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 Timoney129bbdb2021-03-09 09:43:57 -050013 <version>2.2.0-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>
38 <include>pom-template.xml</include>
39 </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>
51 <id>create-springboot2-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>../springboot2</outputDirectory>
58 <resources>
59 <resource>
60 <directory>src/main/resources</directory>
61 <includes>
62 <include>pom-template.xml</include>
63 </includes>
64 <filtering>true</filtering>
65 </resource>
66 </resources>
67 <escapeString>\</escapeString>
68 <filters>
69 <filter>${basedir}/src/main/properties/springboot2.properties</filter>
70 </filters>
Michael Dürre2c39a4d2020-07-06 06:22:15 +020071 <encoding>UTF-8</encoding>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050072 </configuration>
73 </execution>
Dan Timoneybc67c402021-08-05 10:46:18 -040074 <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.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>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050098 </executions>
99 </plugin>
100 <plugin>
101 <groupId>com.coderplus.maven.plugins</groupId>
102 <artifactId>copy-rename-maven-plugin</artifactId>
103 <version>1.0.1</version>
104 <executions>
105 <execution>
106 <id>rename-springboot1-parent-pom</id>
107 <phase>validate</phase>
108 <goals>
109 <goal>rename</goal>
110 </goals>
111 <configuration>
112 <sourceFile>../springboot1/pom-template.xml</sourceFile>
113 <destinationFile>../springboot1/pom.xml</destinationFile>
114 </configuration>
115 </execution>
116 <execution>
117 <id>rename-springboot2-parent-pom</id>
118 <phase>validate</phase>
119 <goals>
120 <goal>rename</goal>
121 </goals>
122 <configuration>
123 <sourceFile>../springboot2/pom-template.xml</sourceFile>
124 <destinationFile>../springboot2/pom.xml</destinationFile>
125 </configuration>
126 </execution>
Dan Timoneybc67c402021-08-05 10:46:18 -0400127 <execution>
128 <id>rename-springboot25-parent-pom</id>
129 <phase>validate</phase>
130 <goals>
131 <goal>rename</goal>
132 </goals>
133 <configuration>
134 <sourceFile>../springboot25/pom-template.xml</sourceFile>
135 <destinationFile>../springboot25/pom.xml</destinationFile>
136 </configuration>
137 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500138 </executions>
139 </plugin>
140 </plugins>
141 </build>
142</project>