blob: d28f0517eb76e96ffb847ae3902f4f7e272ba432 [file] [log] [blame]
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -05001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5
6
7 <modelVersion>4.0.0</modelVersion>
8 <packaging>pom</packaging>
9 <groupId>org.onap.ccsdk.parent</groupId>
10 <artifactId>setup</artifactId>
Timoney, Dan (dt5972)e8e914a2019-04-30 09:39:01 -040011 <version>1.3.0-SNAPSHOT</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050012
13 <parent>
14 <groupId>org.onap.ccsdk.parent</groupId>
Timoney, Dan (dt5972)0d2d7362019-01-07 15:29:18 -050015 <artifactId>odlparent-aggregator</artifactId>
Timoney, Dan (dt5972)e8e914a2019-04-30 09:39:01 -040016 <version>1.3.0-SNAPSHOT</version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050017 </parent>
18
19
20 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
21 <url>http://wiki.onap.org</url>
22 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
23
24 <build>
25 <plugins>
26 <plugin>
27 <artifactId>maven-resources-plugin</artifactId>
28 <version>2.6</version>
29 <executions>
30 <execution>
31 <id>create-binding-parent-pom</id>
32 <goals>
33 <goal>copy-resources</goal>
34 </goals><!-- here the phase you need -->
35 <phase>validate</phase>
36 <configuration>
37 <outputDirectory>../binding-parent</outputDirectory>
38 <resources>
39 <resource>
40 <directory>src/main/resources</directory>
41 <includes>
42 <include>pom-template.xml</include>
43 </includes>
44 <filtering>true</filtering>
45 </resource>
46 </resources>
47 <escapeString>\</escapeString>
48 <filters>
49 <filter>${basedir}/src/main/properties/binding-parent.properties</filter>
50 </filters>
51 </configuration>
52 </execution>
53 <execution>
54 <id>create-bundle-parent-pom</id>
55 <goals>
56 <goal>copy-resources</goal>
57 </goals><!-- here the phase you need -->
58 <phase>validate</phase>
59 <configuration>
60 <outputDirectory>../bundle-parent</outputDirectory>
61 <resources>
62 <resource>
63 <directory>src/main/resources</directory>
64 <includes>
65 <include>pom-template.xml</include>
66 </includes>
67 <filtering>true</filtering>
68 </resource>
69 </resources>
70 <escapeString>\</escapeString>
71 <filters>
72 <filter>${basedir}/src/main/properties/bundle-parent.properties</filter>
73 </filters>
74 </configuration>
75 </execution>
76 <execution>
77 <id>create-feature-repo-parent-pom</id>
78 <goals>
79 <goal>copy-resources</goal>
80 </goals><!-- here the phase you need -->
81 <phase>validate</phase>
82 <configuration>
83 <outputDirectory>../feature-repo-parent</outputDirectory>
84 <resources>
85 <resource>
86 <directory>src/main/resources</directory>
87 <includes>
88 <include>pom-template.xml</include>
89 </includes>
90 <filtering>true</filtering>
91 </resource>
92 </resources>
93 <escapeString>\</escapeString>
94 <filters>
95 <filter>${basedir}/src/main/properties/feature-repo-parent.properties</filter>
96 </filters>
97 </configuration>
98 </execution>
99 <execution>
100 <id>create-mdsal-it-parent-pom</id>
101 <goals>
102 <goal>copy-resources</goal>
103 </goals><!-- here the phase you need -->
104 <phase>validate</phase>
105 <configuration>
106 <outputDirectory>../mdsal-it-parent</outputDirectory>
107 <resources>
108 <resource>
109 <directory>src/main/resources</directory>
110 <includes>
111 <include>pom-template.xml</include>
112 </includes>
113 <filtering>true</filtering>
114 </resource>
115 </resources>
116 <escapeString>\</escapeString>
117 <filters>
118 <filter>${basedir}/src/main/properties/mdsal-it-parent.properties</filter>
119 </filters>
120 </configuration>
121 </execution>
122 <execution>
123 <id>create-odlparent-pom</id>
124 <goals>
125 <goal>copy-resources</goal>
126 </goals><!-- here the phase you need -->
127 <phase>validate</phase>
128 <configuration>
129 <outputDirectory>../odlparent</outputDirectory>
130 <resources>
131 <resource>
132 <directory>src/main/resources</directory>
133 <includes>
134 <include>pom-template.xml</include>
135 </includes>
136 <filtering>true</filtering>
137 </resource>
138 </resources>
139 <escapeString>\</escapeString>
140 <filters>
141 <filter>${basedir}/src/main/properties/odlparent.properties</filter>
142 </filters>
143 </configuration>
144 </execution>
145 <execution>
146 <id>create-odlparent-lite-pom</id>
147 <goals>
148 <goal>copy-resources</goal>
149 </goals><!-- here the phase you need -->
150 <phase>validate</phase>
151 <configuration>
152 <outputDirectory>../odlparent-lite</outputDirectory>
153 <resources>
154 <resource>
155 <directory>src/main/resources</directory>
156 <includes>
157 <include>pom-template.xml</include>
158 </includes>
159 <filtering>true</filtering>
160 </resource>
161 </resources>
162 <escapeString>\</escapeString>
163 <filters>
164 <filter>${basedir}/src/main/properties/odlparent-lite.properties</filter>
165 </filters>
166 </configuration>
167 </execution>
168 <execution>
169 <id>create-single-feature-parent-pom</id>
170 <goals>
171 <goal>copy-resources</goal>
172 </goals><!-- here the phase you need -->
173 <phase>validate</phase>
174 <configuration>
175 <outputDirectory>../single-feature-parent</outputDirectory>
176 <resources>
177 <resource>
178 <directory>src/main/resources</directory>
179 <includes>
180 <include>pom-template.xml</include>
181 </includes>
182 <filtering>true</filtering>
183 </resource>
184 </resources>
185 <escapeString>\</escapeString>
186 <filters>
187 <filter>${basedir}/src/main/properties/single-feature-parent.properties</filter>
188 </filters>
189 </configuration>
190 </execution>
191 </executions>
192 </plugin>
193 <plugin>
194 <groupId>com.coderplus.maven.plugins</groupId>
195 <artifactId>copy-rename-maven-plugin</artifactId>
196 <version>1.0.1</version>
197 <executions>
198 <execution>
199 <id>rename-binding-parent-pom</id>
200 <phase>validate</phase>
201 <goals>
202 <goal>rename</goal>
203 </goals>
204 <configuration>
205 <sourceFile>../binding-parent/pom-template.xml</sourceFile>
206 <destinationFile>../binding-parent/pom.xml</destinationFile>
207 </configuration>
208 </execution>
209 <execution>
210 <id>rename-bundle-parent-pom</id>
211 <phase>validate</phase>
212 <goals>
213 <goal>rename</goal>
214 </goals>
215 <configuration>
216 <sourceFile>../bundle-parent/pom-template.xml</sourceFile>
217 <destinationFile>../bundle-parent/pom.xml</destinationFile>
218 </configuration>
219 </execution>
220 <execution>
221 <id>rename-feature-repo-parent-pom</id>
222 <phase>validate</phase>
223 <goals>
224 <goal>rename</goal>
225 </goals>
226 <configuration>
227 <sourceFile>../feature-repo-parent/pom-template.xml</sourceFile>
228 <destinationFile>../feature-repo-parent/pom.xml</destinationFile>
229 </configuration>
230 </execution>
231 <execution>
232 <id>rename-mdsal-it-parent-pom</id>
233 <phase>validate</phase>
234 <goals>
235 <goal>rename</goal>
236 </goals>
237 <configuration>
238 <sourceFile>../mdsal-it-parent/pom-template.xml</sourceFile>
239 <destinationFile>../mdsal-it-parent/pom.xml</destinationFile>
240 </configuration>
241 </execution>
242 <execution>
243 <id>rename-odlparent-pom</id>
244 <phase>validate</phase>
245 <goals>
246 <goal>rename</goal>
247 </goals>
248 <configuration>
249 <sourceFile>../odlparent/pom-template.xml</sourceFile>
250 <destinationFile>../odlparent/pom.xml</destinationFile>
251 </configuration>
252 </execution>
253 <execution>
254 <id>rename-odlparent-lite-pom</id>
255 <phase>validate</phase>
256 <goals>
257 <goal>rename</goal>
258 </goals>
259 <configuration>
260 <sourceFile>../odlparent-lite/pom-template.xml</sourceFile>
261 <destinationFile>../odlparent-lite/pom.xml</destinationFile>
262 </configuration>
263 </execution>
264 <execution>
265 <id>rename-single-feature-parent-pom</id>
266 <phase>validate</phase>
267 <goals>
268 <goal>rename</goal>
269 </goals>
270 <configuration>
271 <sourceFile>../single-feature-parent/pom-template.xml</sourceFile>
272 <destinationFile>../single-feature-parent/pom.xml</destinationFile>
273 </configuration>
274 </execution>
275 </executions>
276 </plugin>
277 </plugins>
278 </build>
279</project>