blob: 7b95c91317bbab062c446334c8114aa379426dd6 [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>
andre.schmidfd3e0e42022-06-24 11:06:35 +010012 <version>1.11.5-SNAPSHOT</version>
vasraze9171112021-11-26 15:57:50 +000013 </parent>
14
15 <dependencies>
16
17 <dependency>
18 <groupId>org.projectlombok</groupId>
19 <artifactId>lombok</artifactId>
20 <version>${lombok.version}</version>
21 </dependency>
22
23 <dependency>
24 <groupId>org.functionaljava</groupId>
25 <artifactId>functionaljava</artifactId>
26 <version>${functionaljava.version}</version>
27 <scope>compile</scope>
28 </dependency>
29 <dependency>
30 <groupId>org.onap.sdc.common</groupId>
31 <artifactId>onap-configuration-management-api</artifactId>
32 <version>${project.version}</version>
33 </dependency>
34 <dependency>
35 <groupId>org.openecomp.sdc</groupId>
36 <artifactId>common-app-api</artifactId>
37 <version>${project.version}</version>
vasraz987fc742021-11-29 17:42:02 +000038 <exclusions>
39 <exclusion>
40 <groupId>org.apache.httpcomponents</groupId>
41 <artifactId>httpcore</artifactId>
42 </exclusion>
43 </exclusions>
vasraze9171112021-11-26 15:57:50 +000044 </dependency>
45
46 <!-- File changes listener -->
47 <dependency>
48 <groupId>ch.qos.logback</groupId>
49 <artifactId>logback-classic</artifactId>
50 <version>${logback.version}</version>
51 <scope>compile</scope>
52 </dependency>
53
54 <dependency>
55 <groupId>org.codehaus.groovy</groupId>
56 <artifactId>groovy</artifactId>
57 <scope>compile</scope>
58 </dependency>
59
60 <dependency>
61 <groupId>org.codehaus.janino</groupId>
62 <artifactId>janino</artifactId>
63 <version>${janino.version}</version>
64 <scope>compile</scope>
65 </dependency>
66
67 <dependency>
68 <groupId>org.yaml</groupId>
69 <artifactId>snakeyaml</artifactId>
70 <version>${snakeyaml.version}</version>
71 <scope>compile</scope>
72 </dependency>
73
74 <dependency>
75 <groupId>org.apache.commons</groupId>
76 <artifactId>commons-jci-core</artifactId>
77 <version>${commons-jci-core.version}</version>
78 <scope>compile</scope>
79 <exclusions>
80 <exclusion>
81 <groupId>commons-io</groupId>
82 <artifactId>commons-io</artifactId>
83 </exclusion>
84 </exclusions>
85 </dependency>
86
87 <dependency>
88 <groupId>com.google.code.gson</groupId>
89 <artifactId>gson</artifactId>
90 <version>${gson.version}</version>
91 <scope>compile</scope>
92 </dependency>
93
94 <dependency>
95 <groupId>org.glassfish.jersey.containers</groupId>
96 <artifactId>jersey-container-servlet</artifactId>
97 <version>${jersey-bom.version}</version>
98 <scope>compile</scope>
99 </dependency>
100
101 <dependency>
102 <groupId>org.glassfish.jersey.media</groupId>
103 <artifactId>jersey-media-multipart</artifactId>
104 <version>${jersey-bom.version}</version>
105 <scope>compile</scope>
106 </dependency>
107
108 <dependency>
109 <groupId>org.glassfish.jersey.media</groupId>
110 <artifactId>jersey-media-moxy</artifactId>
111 <version>${jersey-bom.version}</version>
112 <scope>compile</scope>
113 </dependency>
114
115
116 <dependency>
117 <groupId>org.glassfish.jersey.media</groupId>
118 <artifactId>jersey-media-json-jackson</artifactId>
119 <version>${jersey-bom.version}</version>
120 <scope>compile</scope>
121 </dependency>
122
123 <dependency>
124 <groupId>org.glassfish.jersey.inject</groupId>
125 <artifactId>jersey-hk2</artifactId>
126 <version>${jersey-bom.version}</version>
127 </dependency>
128
129 <dependency>
130 <groupId>com.fasterxml.jackson.core</groupId>
131 <artifactId>jackson-core</artifactId>
132 <version>${jackson.version}</version>
133 <scope>compile</scope>
134 </dependency>
135
136 <dependency>
137 <groupId>com.fasterxml.jackson.core</groupId>
138 <artifactId>jackson-databind</artifactId>
139 <version>${jackson.version}</version>
140 <exclusions>
141 <exclusion>
142 <groupId>com.fasterxml.jackson.core</groupId>
143 <artifactId>jackson-core</artifactId>
144 </exclusion>
145 </exclusions>
146 </dependency>
147
148 <dependency>
149 <groupId>com.fasterxml.jackson.core</groupId>
150 <artifactId>jackson-annotations</artifactId>
151 <version>${jackson-annotations.version}</version>
152 <scope>compile</scope>
153 </dependency>
154
155 <!-- http client -->
156 <dependency>
157 <groupId>org.apache.httpcomponents</groupId>
158 <artifactId>httpclient</artifactId>
159 <version>${httpclient.version}</version>
vasraz987fc742021-11-29 17:42:02 +0000160 <exclusions>
161 <exclusion>
162 <groupId>org.apache.httpcomponents</groupId>
163 <artifactId>httpcore</artifactId>
164 </exclusion>
165 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000166 </dependency>
167
168 <dependency>
169 <groupId>org.apache.httpcomponents</groupId>
170 <artifactId>httpcore</artifactId>
171 <version>${httpcore.version}</version>
172 <scope>compile</scope>
173 </dependency>
174
175 <dependency>
176 <groupId>org.apache.httpcomponents</groupId>
177 <artifactId>httpmime</artifactId>
178 <version>${httpclient.version}</version>
vasraz987fc742021-11-29 17:42:02 +0000179 <exclusions>
180 <exclusion>
181 <groupId>org.apache.httpcomponents</groupId>
182 <artifactId>httpcore</artifactId>
183 </exclusion>
184 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000185 </dependency>
186
187 <dependency>
188 <groupId>commons-logging</groupId>
189 <artifactId>commons-logging</artifactId>
190 <version>${commons-logging}</version>
191 <scope>compile</scope>
192 </dependency>
193
194 <dependency>
195 <groupId>commons-codec</groupId>
196 <artifactId>commons-codec</artifactId>
197 <version>${commons-codec}</version>
198 <scope>compile</scope>
199 </dependency>
200 <!-- http client END -->
201
202 <dependency>
203 <groupId>javax.servlet</groupId>
204 <artifactId>javax.servlet-api</artifactId>
205 <version>${servlet-api.version}</version>
206 <scope>provided</scope>
207 </dependency>
208
209 <!-- JSON and YAML Parsing -->
210 <dependency>
211 <groupId>com.fasterxml.jackson.dataformat</groupId>
212 <artifactId>jackson-dataformat-yaml</artifactId>
213 <version>${jackson.version}</version>
214 <scope>compile</scope>
215 </dependency>
216
217 <!-- Jetty Proxy -->
218 <dependency>
219 <groupId>org.eclipse.jetty</groupId>
220 <artifactId>jetty-proxy</artifactId>
221 <version>${jetty.version}</version>
222 <scope>compile</scope>
223 <exclusions>
224 <exclusion>
225 <groupId>org.eclipse.jetty</groupId>
226 <artifactId>jetty-http</artifactId>
227 </exclusion>
228 </exclusions>
229 </dependency>
230
231 <dependency>
232 <groupId>org.eclipse.jetty</groupId>
233 <artifactId>jetty-servlets</artifactId>
234 <version>${jetty.version}</version>
235 <scope>compile</scope>
236 <exclusions>
237 <exclusion>
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-http</artifactId>
240 </exclusion>
241 </exclusions>
242 </dependency>
243
244 <!-- Proxy servlet -->
245 <dependency>
246 <groupId>com.google.guava</groupId>
247 <artifactId>guava</artifactId>
248 <version>${guava.version}</version>
249 <scope>compile</scope>
250 </dependency>
251
252 <!-- Aspects -->
253 <dependency>
254 <groupId>com.jcabi</groupId>
255 <artifactId>jcabi-aspects</artifactId>
256 <version>${jcabi.version}</version>
257 <scope>compile</scope>
258 </dependency>
259 <dependency>
260 <groupId>org.aspectj</groupId>
261 <artifactId>aspectjrt</artifactId>
262 <version>${aspectjrt.version}</version>
263 <scope>compile</scope>
264 </dependency>
265
266 <dependency>
267 <groupId>org.apache.commons</groupId>
268 <artifactId>commons-lang3</artifactId>
269 <version>${lang3.version}</version>
270 <scope>compile</scope>
271 </dependency>
272
273 <dependency>
274 <groupId>javax.xml.bind</groupId>
275 <artifactId>jaxb-api</artifactId>
276 <version>${jaxb-api.version}</version>
277 <scope>compile</scope>
278 </dependency>
279 <dependency>
280 <groupId>org.hibernate.validator</groupId>
281 <artifactId>hibernate-validator</artifactId>
282 <version>${hibernate.validator.version}</version>
283 </dependency>
284
285 <!-- Inserted for ECOMP Portal Integration -->
286 <dependency>
287 <groupId>org.owasp.esapi</groupId>
288 <artifactId>esapi</artifactId>
289 <version>${org.owasp.esapi.version}</version>
290 <exclusions>
291 <exclusion>
292 <groupId>log4j</groupId>
293 <artifactId>log4j</artifactId>
294 </exclusion>
295 <exclusion>
296 <groupId>commons-io</groupId>
297 <artifactId>commons-io</artifactId>
298 </exclusion>
299 <exclusion>
300 <groupId>commons-fileupload</groupId>
301 <artifactId>commons-fileupload</artifactId>
302 </exclusion>
303 <exclusion>
304 <groupId>org.apache.xmlgraphics</groupId>
305 <artifactId>xmlgraphics-commons</artifactId>
306 </exclusion>
307 <exclusion>
308 <groupId>xml-apis</groupId>
309 <artifactId>xml-apis-ext</artifactId>
310 </exclusion>
311 <exclusion>
312 <groupId>xml-apis</groupId>
313 <artifactId>xml-apis</artifactId>
314 </exclusion>
vasraz584dfd72022-03-03 11:38:39 +0000315 <exclusion>
316 <groupId>xerces</groupId>
317 <artifactId>xercesImpl</artifactId>
318 </exclusion>
vasraz47c04b22022-05-24 09:12:03 +0100319 <exclusion>
320 <groupId>net.sourceforge.nekohtml</groupId>
321 <artifactId>nekohtml</artifactId>
322 </exclusion>
vasraze9171112021-11-26 15:57:50 +0000323 </exclusions>
324 </dependency>
325 <dependency>
326 <groupId>org.onap.portal.sdk</groupId>
327 <artifactId>epsdk-fw</artifactId>
328 <version>${ecomp.version}</version>
329 <scope>compile</scope>
330 <exclusions>
331 <exclusion>
332 <groupId>com.att.nsa</groupId>
333 <artifactId>cambriaClient</artifactId>
334 </exclusion>
335 <exclusion>
336 <artifactId>slf4j-log4j12</artifactId>
337 <groupId>org.slf4j</groupId>
338 </exclusion>
339 <exclusion>
340 <artifactId>log4j</artifactId>
341 <groupId>log4j</groupId>
342 </exclusion>
343 </exclusions>
344 </dependency>
345 <!-- System metrics -->
346 <dependency>
347 <groupId>org.fusesource</groupId>
348 <artifactId>sigar</artifactId>
349 <version>${sigar.version}</version>
350 <scope>compile</scope>
351 <exclusions>
352 <exclusion>
353 <groupId>log4j</groupId>
354 <artifactId>log4j</artifactId>
355 </exclusion>
356 </exclusions>
357 </dependency>
358
359 <!-- TEST -->
360 <dependency>
361 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
362 <artifactId>jersey-test-framework-provider-bundle</artifactId>
363 <version>${jersey-bom.version}</version>
364 <type>pom</type>
365 <scope>test</scope>
366 <exclusions>
367 <exclusion>
368 <groupId>org.eclipse.jetty</groupId>
369 <artifactId>jetty-server</artifactId>
370 </exclusion>
371 <exclusion>
372 <groupId>org.eclipse.jetty</groupId>
373 <artifactId>jetty-continuation</artifactId>
374 </exclusion>
375 </exclusions>
376 </dependency>
377
378 <dependency>
379 <groupId>com.google.code.bean-matchers</groupId>
380 <artifactId>bean-matchers</artifactId>
381 <version>${bean-matchers.version}</version>
382 <scope>test</scope>
383 </dependency>
384
385 <dependency>
386 <groupId>org.eclipse.jetty</groupId>
387 <artifactId>jetty-servlet</artifactId>
388 <version>${jetty.version}</version>
389 <scope>test</scope>
390 <exclusions>
391 <exclusion>
392 <groupId>org.eclipse.jetty</groupId>
393 <artifactId>jetty-server</artifactId>
394 </exclusion>
395 <exclusion>
396 <groupId>org.eclipse.jetty</groupId>
397 <artifactId>jetty-security</artifactId>
398 </exclusion>
399 </exclusions>
400 </dependency>
401
402 <dependency>
403 <groupId>org.eclipse.jetty</groupId>
404 <artifactId>jetty-webapp</artifactId>
405 <version>${jetty.version}</version>
406 <scope>test</scope>
407 <exclusions>
408 <exclusion>
409 <groupId>org.eclipse.jetty</groupId>
410 <artifactId>jetty-servlet</artifactId>
411 </exclusion>
412 </exclusions>
413 </dependency>
414 <dependency>
415 <groupId>org.eclipse.jetty</groupId>
416 <artifactId>jetty-http</artifactId>
417 <version>${jetty.version}</version>
418 </dependency>
419 <dependency>
420 <groupId>javax.ws.rs</groupId>
421 <artifactId>javax.ws.rs-api</artifactId>
422 <version>${ws.rs.version}</version>
423 <scope>compile</scope>
424 </dependency>
425
426 <dependency>
427 <groupId>javax.validation</groupId>
428 <artifactId>validation-api</artifactId>
429 <version>${javax.validation.version}</version>
430 </dependency>
431 </dependencies>
432
vasrazf0d4dd52021-11-15 12:27:54 +0000433 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200434
vasraza36531c2020-04-29 18:39:35 +0100435 <finalName>${project.artifactId}-${project.version}</finalName>
vasrazf0d4dd52021-11-15 12:27:54 +0000436
vasraza36531c2020-04-29 18:39:35 +0100437 <plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000438 <plugin>
vasraze9171112021-11-26 15:57:50 +0000439 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000440 <artifactId>maven-war-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100441 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000442 <archive>
443 <manifest>
444 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
445 </manifest>
446 </archive>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200447
vasrazf0d4dd52021-11-15 12:27:54 +0000448 <webResources>
449 <resource>
450 <directory>src/main/resources</directory>
451 </resource>
452 </webResources>
453 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000454 </plugin>
455
456 <plugin>
vasraze9171112021-11-26 15:57:50 +0000457 <groupId>org.eclipse.jetty</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000458 <artifactId>jetty-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000459 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100460 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000461 <webApp>
462 <contextPath>/</contextPath>
463 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
464 </webApp>
vasraze9171112021-11-26 15:57:50 +0000465 <war>${project.build.directory}/${project.build.finalName}.war</war>
vasraza36531c2020-04-29 18:39:35 +0100466 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000467 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200468
vasrazf0d4dd52021-11-15 12:27:54 +0000469 <plugin>
vasraze9171112021-11-26 15:57:50 +0000470 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000471 <artifactId>maven-deploy-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100472 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000473 <skip>true</skip>
vasraza36531c2020-04-29 18:39:35 +0100474 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000475 </plugin>
476
477 <plugin>
vasraze9171112021-11-26 15:57:50 +0000478 <!-- jcabi (log injection) -->
479 <groupId>com.jcabi</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000480 <artifactId>jcabi-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000481 <version>${jcabi.maven.plugin.version}</version>
vasrazf0d4dd52021-11-15 12:27:54 +0000482 <dependencies>
483 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000484 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000485 <artifactId>aspectjtools</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000486 <version>${aspectj.version}</version>
487 </dependency>
488 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000489 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000490 <artifactId>aspectjweaver</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000491 <version>${aspectj.version}</version>
492 </dependency>
493 </dependencies>
494 <executions>
495 <execution>
496 <goals>
497 <goal>ajc</goal>
498 </goals>
499 </execution>
500 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000501 </plugin>
502 <plugin>
vasraze9171112021-11-26 15:57:50 +0000503 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000504 <artifactId>maven-clean-plugin</artifactId>
505 <executions>
506 <execution>
vasraze9171112021-11-26 15:57:50 +0000507 <id>clean.catalog.fe.folder</id>
508 <phase>clean</phase>
509 <goals>
510 <goal>clean</goal>
511 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000512 <configuration>
513 <filesets>
514 <!-- FE WAR's -->
515 <fileset>
vasraze9171112021-11-26 15:57:50 +0000516 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000517 <followSymlinks>false</followSymlinks>
518 <includes>
519 <include>*.war</include>
520 </includes>
521 </fileset>
522 </filesets>
523 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000524 </execution>
525 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000526 </plugin>
527 <plugin>
vasraze9171112021-11-26 15:57:50 +0000528 <groupId>com.github.sylvainlaurent.maven</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000529 <artifactId>yaml-json-validator-maven-plugin</artifactId>
530 <executions>
531 <execution>
vasraze9171112021-11-26 15:57:50 +0000532 <id>validate</id>
533 <phase>validate</phase>
534 <goals>
535 <goal>validate</goal>
536 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000537 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000538 <validationSets>
539 <validationSet>
540 <includes>
541 <include>src/main/resources/**/*.y*ml</include>
542 <include>src/test/resources/**/*.y*ml</include>
543 </includes>
544 </validationSet>
545 <validationSet>
546 <includes>
547 <include>src/main/resources/**/*.json</include>
548 <include>src/test/resources/**/*.json</include>
549 </includes>
550 </validationSet>
551 </validationSets>
vasraze9171112021-11-26 15:57:50 +0000552 <skip>${skipYamlJsonValidator}</skip>
vasrazf0d4dd52021-11-15 12:27:54 +0000553 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000554 </execution>
555 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000556 </plugin>
557
vasraza36531c2020-04-29 18:39:35 +0100558 </plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000559
vasraze9171112021-11-26 15:57:50 +0000560 <pluginManagement>
561 <plugins>
562 <!--This plugin's configuration is used to store Eclipse m2e settings
563 only. It has no influence on the Maven build itself. -->
564 <plugin>
565 <groupId>org.eclipse.m2e</groupId>
566 <artifactId>lifecycle-mapping</artifactId>
567 <version>1.0.0</version>
568 <configuration>
569 <lifecycleMappingMetadata>
570 <pluginExecutions>
571
572 <pluginExecution>
573 <pluginExecutionFilter>
574 <groupId>com.jcabi</groupId>
575 <artifactId>jcabi-maven-plugin</artifactId>
576 <versionRange>[0.0,)</versionRange>
577 <goals>
578 <goal>ajc</goal>
579 </goals>
580 </pluginExecutionFilter>
581 <action>
582 <execute/>
583 </action>
584 </pluginExecution>
585
586 </pluginExecutions>
587 </lifecycleMappingMetadata>
588 </configuration>
589 </plugin>
590 </plugins>
591 </pluginManagement>
vasrazf0d4dd52021-11-15 12:27:54 +0000592 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000593
594 <profiles>
595 <profile>
vasraze9171112021-11-26 15:57:50 +0000596 <id>catalog</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000597 <activation>
598 <activeByDefault>false</activeByDefault>
599 </activation>
vasraze9171112021-11-26 15:57:50 +0000600
vasrazf0d4dd52021-11-15 12:27:54 +0000601 <build>
602 <finalName>${project.artifactId}-${project.version}</finalName>
603 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000604 </profile>
605 <profile>
vasraze9171112021-11-26 15:57:50 +0000606 <id>docker</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000607 <activation>
608 <activeByDefault>false</activeByDefault>
609 </activation>
610 <build>
611 <plugins>
612 <plugin>
vasraze9171112021-11-26 15:57:50 +0000613 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000614 <artifactId>maven-resources-plugin</artifactId>
615 <executions>
616 <execution>
vasraze9171112021-11-26 15:57:50 +0000617 <id>copy-resources-fe</id>
618 <phase>verify</phase>
619 <goals>
620 <goal>copy-resources</goal>
621 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000622 <configuration>
623 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
624 <resources>
625 <resource>
vasraze9171112021-11-26 15:57:50 +0000626 <directory>${project.parent.basedir}/catalog-fe/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000627 <includes>
628 <include>catalog-fe-${project.version}.war</include>
629 </includes>
630 </resource>
631 <resource>
vasraze9171112021-11-26 15:57:50 +0000632 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000633 <includes>
vasraze9171112021-11-26 15:57:50 +0000634 <include>onboarding-fe-${project.version}.war</include>
vasrazf0d4dd52021-11-15 12:27:54 +0000635 </includes>
636 </resource>
637 </resources>
638 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000639 </execution>
640 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000641 </plugin>
642 <plugin>
vasraze9171112021-11-26 15:57:50 +0000643 <groupId>io.fabric8</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000644 <artifactId>docker-maven-plugin</artifactId>
645 <configuration>
vasraze9171112021-11-26 15:57:50 +0000646 <verbose>${verbose}</verbose>
vasrazf0d4dd52021-11-15 12:27:54 +0000647 <apiVersion>${docker.api.version}</apiVersion>
vasraz8b1002a2021-12-08 22:12:52 +0000648 <registry>${docker.registry}</registry>
vasrazf0d4dd52021-11-15 12:27:54 +0000649 <authConfig>
650 <pull>
vasrazf0d4dd52021-11-15 12:27:54 +0000651 <username>${docker.username}</username>
vasraze9171112021-11-26 15:57:50 +0000652 <password>${docker.password}</password>
vasrazf0d4dd52021-11-15 12:27:54 +0000653 </pull>
654 </authConfig>
655 <images>
656
657 <!-- Build frontend image -->
658 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000659 <name>${docker.namespace}/sdc-frontend</name>
vasrazf0d4dd52021-11-15 12:27:54 +0000660 <alias>sdc-frontend</alias>
661 <build>
662 <cleanup>try</cleanup>
vasraze9171112021-11-26 15:57:50 +0000663 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
vasrazf0d4dd52021-11-15 12:27:54 +0000664 <tags>
665 <tag>latest</tag>
666 <tag>
667 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
668 </tag>
669 <tag>
670 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
671 </tag>
672 </tags>
673 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000674 </image>
675 </images>
vasrazf0d4dd52021-11-15 12:27:54 +0000676 </configuration>
677 <executions>
678 <execution>
vasraze9171112021-11-26 15:57:50 +0000679 <id>clean-images</id>
680 <phase>pre-clean</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000681 <goals>
682 <goal>remove</goal>
683 </goals>
vasraze9171112021-11-26 15:57:50 +0000684 <configuration>
685 <removeAll>true</removeAll>
vasraz8b1002a2021-12-08 22:12:52 +0000686 <image>${docker.namespace}/sdc-frontend</image>
vasraze9171112021-11-26 15:57:50 +0000687 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000688 </execution>
689
690 <execution>
vasraze9171112021-11-26 15:57:50 +0000691 <id>generate-images</id>
692 <phase>install</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000693 <goals>
694 <goal>build</goal>
695 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000696 </execution>
697
698 <execution>
vasraze9171112021-11-26 15:57:50 +0000699 <id>push-images</id>
700 <phase>deploy</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000701 <goals>
702 <goal>push</goal>
703 </goals>
vasraze9171112021-11-26 15:57:50 +0000704 <configuration>
vasraz8b1002a2021-12-08 22:12:52 +0000705 <image>${docker.namespace}/sdc-frontend</image>
vasraze9171112021-11-26 15:57:50 +0000706 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000707 </execution>
708 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000709 </plugin>
710 </plugins>
711 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000712 </profile>
713 </profiles>
vasraze9171112021-11-26 15:57:50 +0000714
Michael Lando451a3402017-02-19 10:28:42 +0200715</project>