blob: d1d1404f2e5121c5a9a77836952501b3613bcb72 [file] [log] [blame]
vasrazf0d4dd52021-11-15 12:27:54 +00001<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xmlns="http://maven.apache.org/POM/4.0.0"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Michael Lando451a3402017-02-19 10:28:42 +02004
vasraze9171112021-11-26 15:57:50 +00005 <modelVersion>4.0.0</modelVersion>
vasrazf0d4dd52021-11-15 12:27:54 +00006 <artifactId>catalog-fe</artifactId>
vasraze9171112021-11-26 15:57:50 +00007 <packaging>war</packaging>
8
9 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
MichaelMorrisb9c62592023-07-10 15:12:09 +010012 <version>1.13.2-SNAPSHOT</version>
vasraze9171112021-11-26 15:57:50 +000013 </parent>
14
15 <dependencies>
vasrazb92a8952023-07-03 12:38:48 +010016 <dependency>
17 <groupId>org.openecomp.sdc</groupId>
18 <artifactId>onboarding-fe</artifactId>
19 <version>${project.version}</version>
20 <type>war</type>
21 </dependency>
vasraze9171112021-11-26 15:57:50 +000022
23 <dependency>
24 <groupId>org.projectlombok</groupId>
25 <artifactId>lombok</artifactId>
26 <version>${lombok.version}</version>
27 </dependency>
28
29 <dependency>
30 <groupId>org.functionaljava</groupId>
31 <artifactId>functionaljava</artifactId>
32 <version>${functionaljava.version}</version>
vasraze9171112021-11-26 15:57:50 +000033 </dependency>
34 <dependency>
35 <groupId>org.onap.sdc.common</groupId>
36 <artifactId>onap-configuration-management-api</artifactId>
37 <version>${project.version}</version>
38 </dependency>
39 <dependency>
vasrazfc768c62022-10-14 10:51:11 +010040 <groupId>org.eclipse.jetty</groupId>
41 <artifactId>jetty-server</artifactId>
42 <version>${jetty.version}</version>
43 <scope>compile</scope>
44 <exclusions>
45 <exclusion>
46 <groupId>org.eclipse.jetty</groupId>
47 <artifactId>jetty-http</artifactId>
48 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +000049 <exclusion>
50 <groupId>javax.servlet</groupId>
51 <artifactId>javax.servlet-api</artifactId>
52 </exclusion>
vasrazfc768c62022-10-14 10:51:11 +010053 </exclusions>
54 </dependency>
55 <dependency>
vasraze9171112021-11-26 15:57:50 +000056 <groupId>org.openecomp.sdc</groupId>
57 <artifactId>common-app-api</artifactId>
58 <version>${project.version}</version>
vasraz987fc742021-11-29 17:42:02 +000059 <exclusions>
60 <exclusion>
61 <groupId>org.apache.httpcomponents</groupId>
62 <artifactId>httpcore</artifactId>
63 </exclusion>
vasraze4055452022-07-13 23:11:18 +010064 <exclusion>
65 <groupId>org.functionaljava</groupId>
66 <artifactId>functionaljava</artifactId>
67 </exclusion>
vasraz987fc742021-11-29 17:42:02 +000068 </exclusions>
vasraze9171112021-11-26 15:57:50 +000069 </dependency>
70
71 <!-- File changes listener -->
72 <dependency>
73 <groupId>ch.qos.logback</groupId>
74 <artifactId>logback-classic</artifactId>
75 <version>${logback.version}</version>
76 <scope>compile</scope>
77 </dependency>
78
79 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +010080 <groupId>org.apache.groovy</groupId>
vasraze9171112021-11-26 15:57:50 +000081 <artifactId>groovy</artifactId>
vasrazdfe98bd2023-07-05 22:22:43 +010082 <version>${groovy.version}</version>
vasraze9171112021-11-26 15:57:50 +000083 </dependency>
84
85 <dependency>
86 <groupId>org.codehaus.janino</groupId>
87 <artifactId>janino</artifactId>
88 <version>${janino.version}</version>
89 <scope>compile</scope>
90 </dependency>
91
92 <dependency>
93 <groupId>org.yaml</groupId>
94 <artifactId>snakeyaml</artifactId>
95 <version>${snakeyaml.version}</version>
96 <scope>compile</scope>
97 </dependency>
98
99 <dependency>
100 <groupId>org.apache.commons</groupId>
101 <artifactId>commons-jci-core</artifactId>
102 <version>${commons-jci-core.version}</version>
103 <scope>compile</scope>
104 <exclusions>
105 <exclusion>
106 <groupId>commons-io</groupId>
107 <artifactId>commons-io</artifactId>
108 </exclusion>
109 </exclusions>
110 </dependency>
111
112 <dependency>
113 <groupId>com.google.code.gson</groupId>
114 <artifactId>gson</artifactId>
115 <version>${gson.version}</version>
116 <scope>compile</scope>
117 </dependency>
118
119 <dependency>
120 <groupId>org.glassfish.jersey.containers</groupId>
121 <artifactId>jersey-container-servlet</artifactId>
122 <version>${jersey-bom.version}</version>
123 <scope>compile</scope>
124 </dependency>
125
126 <dependency>
127 <groupId>org.glassfish.jersey.media</groupId>
128 <artifactId>jersey-media-multipart</artifactId>
129 <version>${jersey-bom.version}</version>
130 <scope>compile</scope>
131 </dependency>
132
133 <dependency>
134 <groupId>org.glassfish.jersey.media</groupId>
135 <artifactId>jersey-media-moxy</artifactId>
136 <version>${jersey-bom.version}</version>
137 <scope>compile</scope>
138 </dependency>
139
140
141 <dependency>
142 <groupId>org.glassfish.jersey.media</groupId>
143 <artifactId>jersey-media-json-jackson</artifactId>
144 <version>${jersey-bom.version}</version>
145 <scope>compile</scope>
vasrazaf63ad92023-06-01 18:37:12 +0100146 <exclusions>
147 <exclusion>
148 <groupId>com.fasterxml.jackson.core</groupId>
149 <artifactId>jackson-core</artifactId>
150 </exclusion>
151 <exclusion>
152 <groupId>com.fasterxml.jackson.module</groupId>
153 <artifactId>jackson-module-jaxb-annotations</artifactId>
154 </exclusion>
155 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000156 </dependency>
157
158 <dependency>
159 <groupId>org.glassfish.jersey.inject</groupId>
160 <artifactId>jersey-hk2</artifactId>
161 <version>${jersey-bom.version}</version>
162 </dependency>
163
164 <dependency>
165 <groupId>com.fasterxml.jackson.core</groupId>
166 <artifactId>jackson-core</artifactId>
167 <version>${jackson.version}</version>
168 <scope>compile</scope>
169 </dependency>
170
171 <dependency>
172 <groupId>com.fasterxml.jackson.core</groupId>
173 <artifactId>jackson-databind</artifactId>
174 <version>${jackson.version}</version>
175 <exclusions>
176 <exclusion>
177 <groupId>com.fasterxml.jackson.core</groupId>
178 <artifactId>jackson-core</artifactId>
179 </exclusion>
180 </exclusions>
181 </dependency>
182
183 <dependency>
184 <groupId>com.fasterxml.jackson.core</groupId>
185 <artifactId>jackson-annotations</artifactId>
186 <version>${jackson-annotations.version}</version>
187 <scope>compile</scope>
188 </dependency>
189
190 <!-- http client -->
191 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100192 <groupId>org.apache.httpcomponents.client5</groupId>
193 <artifactId>httpclient5</artifactId>
vasraze9171112021-11-26 15:57:50 +0000194 <version>${httpclient.version}</version>
vasraz987fc742021-11-29 17:42:02 +0000195 <exclusions>
196 <exclusion>
197 <groupId>org.apache.httpcomponents</groupId>
198 <artifactId>httpcore</artifactId>
199 </exclusion>
200 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000201 </dependency>
202
203 <dependency>
204 <groupId>org.apache.httpcomponents</groupId>
205 <artifactId>httpcore</artifactId>
206 <version>${httpcore.version}</version>
207 <scope>compile</scope>
208 </dependency>
209
210 <dependency>
211 <groupId>org.apache.httpcomponents</groupId>
212 <artifactId>httpmime</artifactId>
vasrazdfe98bd2023-07-05 22:22:43 +0100213 <version>${httpmime.version}</version>
vasraz987fc742021-11-29 17:42:02 +0000214 <exclusions>
215 <exclusion>
216 <groupId>org.apache.httpcomponents</groupId>
217 <artifactId>httpcore</artifactId>
218 </exclusion>
219 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000220 </dependency>
221
222 <dependency>
223 <groupId>commons-logging</groupId>
224 <artifactId>commons-logging</artifactId>
225 <version>${commons-logging}</version>
226 <scope>compile</scope>
227 </dependency>
228
229 <dependency>
230 <groupId>commons-codec</groupId>
231 <artifactId>commons-codec</artifactId>
232 <version>${commons-codec}</version>
233 <scope>compile</scope>
234 </dependency>
235 <!-- http client END -->
236
vasraze9171112021-11-26 15:57:50 +0000237 <!-- JSON and YAML Parsing -->
238 <dependency>
239 <groupId>com.fasterxml.jackson.dataformat</groupId>
240 <artifactId>jackson-dataformat-yaml</artifactId>
241 <version>${jackson.version}</version>
242 <scope>compile</scope>
243 </dependency>
244
245 <!-- Jetty Proxy -->
246 <dependency>
247 <groupId>org.eclipse.jetty</groupId>
248 <artifactId>jetty-proxy</artifactId>
249 <version>${jetty.version}</version>
250 <scope>compile</scope>
vasraze9171112021-11-26 15:57:50 +0000251 </dependency>
252
253 <dependency>
254 <groupId>org.eclipse.jetty</groupId>
255 <artifactId>jetty-servlets</artifactId>
256 <version>${jetty.version}</version>
257 <scope>compile</scope>
258 <exclusions>
259 <exclusion>
260 <groupId>org.eclipse.jetty</groupId>
261 <artifactId>jetty-http</artifactId>
262 </exclusion>
263 </exclusions>
264 </dependency>
265
266 <!-- Proxy servlet -->
267 <dependency>
268 <groupId>com.google.guava</groupId>
269 <artifactId>guava</artifactId>
270 <version>${guava.version}</version>
271 <scope>compile</scope>
272 </dependency>
273
274 <!-- Aspects -->
275 <dependency>
276 <groupId>com.jcabi</groupId>
277 <artifactId>jcabi-aspects</artifactId>
278 <version>${jcabi.version}</version>
279 <scope>compile</scope>
280 </dependency>
281 <dependency>
282 <groupId>org.aspectj</groupId>
283 <artifactId>aspectjrt</artifactId>
284 <version>${aspectjrt.version}</version>
285 <scope>compile</scope>
286 </dependency>
287
288 <dependency>
289 <groupId>org.apache.commons</groupId>
290 <artifactId>commons-lang3</artifactId>
291 <version>${lang3.version}</version>
292 <scope>compile</scope>
293 </dependency>
294
295 <dependency>
296 <groupId>javax.xml.bind</groupId>
297 <artifactId>jaxb-api</artifactId>
298 <version>${jaxb-api.version}</version>
299 <scope>compile</scope>
300 </dependency>
301 <dependency>
302 <groupId>org.hibernate.validator</groupId>
303 <artifactId>hibernate-validator</artifactId>
304 <version>${hibernate.validator.version}</version>
305 </dependency>
306
307 <!-- Inserted for ECOMP Portal Integration -->
308 <dependency>
309 <groupId>org.owasp.esapi</groupId>
310 <artifactId>esapi</artifactId>
311 <version>${org.owasp.esapi.version}</version>
312 <exclusions>
313 <exclusion>
314 <groupId>log4j</groupId>
315 <artifactId>log4j</artifactId>
316 </exclusion>
317 <exclusion>
318 <groupId>commons-io</groupId>
319 <artifactId>commons-io</artifactId>
320 </exclusion>
321 <exclusion>
322 <groupId>commons-fileupload</groupId>
323 <artifactId>commons-fileupload</artifactId>
324 </exclusion>
325 <exclusion>
326 <groupId>org.apache.xmlgraphics</groupId>
327 <artifactId>xmlgraphics-commons</artifactId>
328 </exclusion>
329 <exclusion>
330 <groupId>xml-apis</groupId>
331 <artifactId>xml-apis-ext</artifactId>
332 </exclusion>
333 <exclusion>
334 <groupId>xml-apis</groupId>
335 <artifactId>xml-apis</artifactId>
336 </exclusion>
vasraz584dfd72022-03-03 11:38:39 +0000337 <exclusion>
338 <groupId>xerces</groupId>
339 <artifactId>xercesImpl</artifactId>
340 </exclusion>
vasraz47c04b22022-05-24 09:12:03 +0100341 <exclusion>
342 <groupId>net.sourceforge.nekohtml</groupId>
343 <artifactId>nekohtml</artifactId>
344 </exclusion>
vasraze9171112021-11-26 15:57:50 +0000345 </exclusions>
346 </dependency>
347 <dependency>
348 <groupId>org.onap.portal.sdk</groupId>
349 <artifactId>epsdk-fw</artifactId>
350 <version>${ecomp.version}</version>
351 <scope>compile</scope>
352 <exclusions>
353 <exclusion>
354 <groupId>com.att.nsa</groupId>
355 <artifactId>cambriaClient</artifactId>
356 </exclusion>
357 <exclusion>
358 <artifactId>slf4j-log4j12</artifactId>
359 <groupId>org.slf4j</groupId>
360 </exclusion>
361 <exclusion>
362 <artifactId>log4j</artifactId>
363 <groupId>log4j</groupId>
364 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +0000365 <exclusion>
366 <groupId>javax.servlet</groupId>
367 <artifactId>javax.servlet-api</artifactId>
368 </exclusion>
vasrazdfe98bd2023-07-05 22:22:43 +0100369 <exclusion>
370 <groupId>org.onap.aaf.authz</groupId>
371 <artifactId>aaf-cadi-aaf</artifactId>
372 </exclusion>
373 <exclusion>
374 <groupId>org.onap.aaf.authz</groupId>
375 <artifactId>aaf-cadi-client</artifactId>
376 </exclusion>
377 <exclusion>
378 <groupId>org.onap.aaf.authz</groupId>
379 <artifactId>aaf-cadi-core</artifactId>
380 </exclusion>
vasraze9171112021-11-26 15:57:50 +0000381 </exclusions>
382 </dependency>
383 <!-- System metrics -->
384 <dependency>
385 <groupId>org.fusesource</groupId>
386 <artifactId>sigar</artifactId>
387 <version>${sigar.version}</version>
388 <scope>compile</scope>
389 <exclusions>
390 <exclusion>
391 <groupId>log4j</groupId>
392 <artifactId>log4j</artifactId>
393 </exclusion>
394 </exclusions>
395 </dependency>
396
397 <!-- TEST -->
398 <dependency>
399 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
400 <artifactId>jersey-test-framework-provider-bundle</artifactId>
401 <version>${jersey-bom.version}</version>
402 <type>pom</type>
403 <scope>test</scope>
vasrazdfe98bd2023-07-05 22:22:43 +0100404 <exclusions>
405 <exclusion>
406 <groupId>junit</groupId>
407 <artifactId>junit</artifactId>
408 </exclusion>
409 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000410 </dependency>
411
412 <dependency>
413 <groupId>com.google.code.bean-matchers</groupId>
414 <artifactId>bean-matchers</artifactId>
415 <version>${bean-matchers.version}</version>
416 <scope>test</scope>
417 </dependency>
418
419 <dependency>
420 <groupId>org.eclipse.jetty</groupId>
421 <artifactId>jetty-servlet</artifactId>
422 <version>${jetty.version}</version>
423 <scope>test</scope>
424 <exclusions>
425 <exclusion>
426 <groupId>org.eclipse.jetty</groupId>
vasraze9171112021-11-26 15:57:50 +0000427 <artifactId>jetty-security</artifactId>
428 </exclusion>
429 </exclusions>
430 </dependency>
431
432 <dependency>
433 <groupId>org.eclipse.jetty</groupId>
434 <artifactId>jetty-webapp</artifactId>
435 <version>${jetty.version}</version>
436 <scope>test</scope>
vasraze9171112021-11-26 15:57:50 +0000437 </dependency>
438 <dependency>
439 <groupId>org.eclipse.jetty</groupId>
440 <artifactId>jetty-http</artifactId>
441 <version>${jetty.version}</version>
442 </dependency>
443 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100444 <groupId>jakarta.ws.rs</groupId>
445 <artifactId>jakarta.ws.rs-api</artifactId>
vasraze9171112021-11-26 15:57:50 +0000446 <version>${ws.rs.version}</version>
447 <scope>compile</scope>
448 </dependency>
449
450 <dependency>
451 <groupId>javax.validation</groupId>
452 <artifactId>validation-api</artifactId>
453 <version>${javax.validation.version}</version>
454 </dependency>
455 </dependencies>
456
vasrazf0d4dd52021-11-15 12:27:54 +0000457 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200458
vasraza36531c2020-04-29 18:39:35 +0100459 <finalName>${project.artifactId}-${project.version}</finalName>
vasrazf0d4dd52021-11-15 12:27:54 +0000460
vasraza36531c2020-04-29 18:39:35 +0100461 <plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000462 <plugin>
vasraze9171112021-11-26 15:57:50 +0000463 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000464 <artifactId>maven-war-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100465 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000466 <archive>
467 <manifest>
468 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
469 </manifest>
470 </archive>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200471
vasrazf0d4dd52021-11-15 12:27:54 +0000472 <webResources>
473 <resource>
474 <directory>src/main/resources</directory>
475 </resource>
476 </webResources>
477 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000478 </plugin>
479
480 <plugin>
vasraze9171112021-11-26 15:57:50 +0000481 <groupId>org.eclipse.jetty</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000482 <artifactId>jetty-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000483 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100484 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000485 <webApp>
486 <contextPath>/</contextPath>
487 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
488 </webApp>
vasraze9171112021-11-26 15:57:50 +0000489 <war>${project.build.directory}/${project.build.finalName}.war</war>
vasraza36531c2020-04-29 18:39:35 +0100490 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000491 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200492
vasrazf0d4dd52021-11-15 12:27:54 +0000493 <plugin>
vasraze9171112021-11-26 15:57:50 +0000494 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000495 <artifactId>maven-deploy-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100496 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000497 <skip>true</skip>
vasraza36531c2020-04-29 18:39:35 +0100498 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000499 </plugin>
500
501 <plugin>
vasraze9171112021-11-26 15:57:50 +0000502 <!-- jcabi (log injection) -->
503 <groupId>com.jcabi</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000504 <artifactId>jcabi-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000505 <version>${jcabi.maven.plugin.version}</version>
vasrazf0d4dd52021-11-15 12:27:54 +0000506 <dependencies>
507 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000508 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000509 <artifactId>aspectjtools</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000510 <version>${aspectj.version}</version>
511 </dependency>
512 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000513 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000514 <artifactId>aspectjweaver</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000515 <version>${aspectj.version}</version>
516 </dependency>
517 </dependencies>
518 <executions>
519 <execution>
520 <goals>
521 <goal>ajc</goal>
522 </goals>
523 </execution>
524 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000525 </plugin>
526 <plugin>
vasraze9171112021-11-26 15:57:50 +0000527 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000528 <artifactId>maven-clean-plugin</artifactId>
529 <executions>
530 <execution>
vasraze9171112021-11-26 15:57:50 +0000531 <id>clean.catalog.fe.folder</id>
532 <phase>clean</phase>
533 <goals>
534 <goal>clean</goal>
535 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000536 <configuration>
537 <filesets>
538 <!-- FE WAR's -->
539 <fileset>
vasraze9171112021-11-26 15:57:50 +0000540 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000541 <followSymlinks>false</followSymlinks>
542 <includes>
543 <include>*.war</include>
544 </includes>
545 </fileset>
546 </filesets>
547 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000548 </execution>
549 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000550 </plugin>
551 <plugin>
vasraze9171112021-11-26 15:57:50 +0000552 <groupId>com.github.sylvainlaurent.maven</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000553 <artifactId>yaml-json-validator-maven-plugin</artifactId>
554 <executions>
555 <execution>
vasraze9171112021-11-26 15:57:50 +0000556 <id>validate</id>
557 <phase>validate</phase>
558 <goals>
559 <goal>validate</goal>
560 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000561 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000562 <validationSets>
563 <validationSet>
564 <includes>
565 <include>src/main/resources/**/*.y*ml</include>
566 <include>src/test/resources/**/*.y*ml</include>
567 </includes>
568 </validationSet>
569 <validationSet>
570 <includes>
571 <include>src/main/resources/**/*.json</include>
572 <include>src/test/resources/**/*.json</include>
573 </includes>
574 </validationSet>
575 </validationSets>
vasraze9171112021-11-26 15:57:50 +0000576 <skip>${skipYamlJsonValidator}</skip>
vasrazf0d4dd52021-11-15 12:27:54 +0000577 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000578 </execution>
579 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000580 </plugin>
581
vasraza36531c2020-04-29 18:39:35 +0100582 </plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000583
vasraze9171112021-11-26 15:57:50 +0000584 <pluginManagement>
585 <plugins>
586 <!--This plugin's configuration is used to store Eclipse m2e settings
587 only. It has no influence on the Maven build itself. -->
588 <plugin>
589 <groupId>org.eclipse.m2e</groupId>
590 <artifactId>lifecycle-mapping</artifactId>
591 <version>1.0.0</version>
592 <configuration>
593 <lifecycleMappingMetadata>
594 <pluginExecutions>
595
596 <pluginExecution>
597 <pluginExecutionFilter>
598 <groupId>com.jcabi</groupId>
599 <artifactId>jcabi-maven-plugin</artifactId>
600 <versionRange>[0.0,)</versionRange>
601 <goals>
602 <goal>ajc</goal>
603 </goals>
604 </pluginExecutionFilter>
605 <action>
606 <execute/>
607 </action>
608 </pluginExecution>
609
610 </pluginExecutions>
611 </lifecycleMappingMetadata>
612 </configuration>
613 </plugin>
614 </plugins>
615 </pluginManagement>
vasrazf0d4dd52021-11-15 12:27:54 +0000616 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000617
618 <profiles>
619 <profile>
vasraze9171112021-11-26 15:57:50 +0000620 <id>catalog</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000621 <activation>
622 <activeByDefault>false</activeByDefault>
623 </activation>
vasraze9171112021-11-26 15:57:50 +0000624
vasrazf0d4dd52021-11-15 12:27:54 +0000625 <build>
626 <finalName>${project.artifactId}-${project.version}</finalName>
627 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000628 </profile>
629 <profile>
vasraze9171112021-11-26 15:57:50 +0000630 <id>docker</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000631 <activation>
632 <activeByDefault>false</activeByDefault>
633 </activation>
634 <build>
635 <plugins>
636 <plugin>
vasraze9171112021-11-26 15:57:50 +0000637 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000638 <artifactId>maven-resources-plugin</artifactId>
639 <executions>
640 <execution>
vasraze9171112021-11-26 15:57:50 +0000641 <id>copy-resources-fe</id>
642 <phase>verify</phase>
643 <goals>
644 <goal>copy-resources</goal>
645 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000646 <configuration>
647 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
648 <resources>
649 <resource>
vasraze9171112021-11-26 15:57:50 +0000650 <directory>${project.parent.basedir}/catalog-fe/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000651 <includes>
652 <include>catalog-fe-${project.version}.war</include>
653 </includes>
654 </resource>
655 <resource>
vasraze9171112021-11-26 15:57:50 +0000656 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000657 <includes>
vasraze9171112021-11-26 15:57:50 +0000658 <include>onboarding-fe-${project.version}.war</include>
vasrazf0d4dd52021-11-15 12:27:54 +0000659 </includes>
660 </resource>
661 </resources>
662 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000663 </execution>
664 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000665 </plugin>
666 <plugin>
vasraze9171112021-11-26 15:57:50 +0000667 <groupId>io.fabric8</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000668 <artifactId>docker-maven-plugin</artifactId>
669 <configuration>
vasraze9171112021-11-26 15:57:50 +0000670 <verbose>${verbose}</verbose>
vasrazf0d4dd52021-11-15 12:27:54 +0000671 <apiVersion>${docker.api.version}</apiVersion>
vasraz8b1002a2021-12-08 22:12:52 +0000672 <registry>${docker.registry}</registry>
vasrazf0d4dd52021-11-15 12:27:54 +0000673 <authConfig>
674 <pull>
vasrazf0d4dd52021-11-15 12:27:54 +0000675 <username>${docker.username}</username>
vasraze9171112021-11-26 15:57:50 +0000676 <password>${docker.password}</password>
vasrazf0d4dd52021-11-15 12:27:54 +0000677 </pull>
678 </authConfig>
679 <images>
680
681 <!-- Build frontend image -->
682 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000683 <name>${docker.namespace}/sdc-frontend</name>
vasrazf0d4dd52021-11-15 12:27:54 +0000684 <alias>sdc-frontend</alias>
685 <build>
686 <cleanup>try</cleanup>
vasraze9171112021-11-26 15:57:50 +0000687 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
vasrazf0d4dd52021-11-15 12:27:54 +0000688 <tags>
689 <tag>latest</tag>
690 <tag>
691 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
692 </tag>
693 <tag>
694 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
695 </tag>
696 </tags>
697 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000698 </image>
699 </images>
vasrazf0d4dd52021-11-15 12:27:54 +0000700 </configuration>
701 <executions>
702 <execution>
vasraze9171112021-11-26 15:57:50 +0000703 <id>clean-images</id>
704 <phase>pre-clean</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000705 <goals>
706 <goal>remove</goal>
707 </goals>
vasraze9171112021-11-26 15:57:50 +0000708 <configuration>
709 <removeAll>true</removeAll>
vasraz8b1002a2021-12-08 22:12:52 +0000710 <image>${docker.namespace}/sdc-frontend</image>
vasraze9171112021-11-26 15:57:50 +0000711 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000712 </execution>
713
714 <execution>
vasraze9171112021-11-26 15:57:50 +0000715 <id>generate-images</id>
716 <phase>install</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000717 <goals>
718 <goal>build</goal>
719 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000720 </execution>
721
722 <execution>
vasraze9171112021-11-26 15:57:50 +0000723 <id>push-images</id>
724 <phase>deploy</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000725 <goals>
726 <goal>push</goal>
727 </goals>
vasraze9171112021-11-26 15:57:50 +0000728 <configuration>
vasraz8b1002a2021-12-08 22:12:52 +0000729 <image>${docker.namespace}/sdc-frontend</image>
vasraze9171112021-11-26 15:57:50 +0000730 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000731 </execution>
732 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000733 </plugin>
734 </plugins>
735 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000736 </profile>
737 </profiles>
vasraze9171112021-11-26 15:57:50 +0000738
Michael Lando451a3402017-02-19 10:28:42 +0200739</project>