blob: a9672101cfddc8daf6c25c22817f0b1494f6d873 [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>
MichaelMorrisef496e12022-09-29 11:13:09 +010012 <version>1.12.0-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>
vasraze9171112021-11-26 15:57:50 +000027 </dependency>
28 <dependency>
29 <groupId>org.onap.sdc.common</groupId>
30 <artifactId>onap-configuration-management-api</artifactId>
31 <version>${project.version}</version>
32 </dependency>
33 <dependency>
vasrazfc768c62022-10-14 10:51:11 +010034 <groupId>org.eclipse.jetty</groupId>
35 <artifactId>jetty-server</artifactId>
36 <version>${jetty.version}</version>
37 <scope>compile</scope>
38 <exclusions>
39 <exclusion>
40 <groupId>org.eclipse.jetty</groupId>
41 <artifactId>jetty-http</artifactId>
42 </exclusion>
43 </exclusions>
44 </dependency>
45 <dependency>
vasraze9171112021-11-26 15:57:50 +000046 <groupId>org.openecomp.sdc</groupId>
47 <artifactId>common-app-api</artifactId>
48 <version>${project.version}</version>
vasraz987fc742021-11-29 17:42:02 +000049 <exclusions>
50 <exclusion>
51 <groupId>org.apache.httpcomponents</groupId>
52 <artifactId>httpcore</artifactId>
53 </exclusion>
vasraze4055452022-07-13 23:11:18 +010054 <exclusion>
55 <groupId>org.functionaljava</groupId>
56 <artifactId>functionaljava</artifactId>
57 </exclusion>
vasraz987fc742021-11-29 17:42:02 +000058 </exclusions>
vasraze9171112021-11-26 15:57:50 +000059 </dependency>
60
61 <!-- File changes listener -->
62 <dependency>
63 <groupId>ch.qos.logback</groupId>
64 <artifactId>logback-classic</artifactId>
65 <version>${logback.version}</version>
66 <scope>compile</scope>
67 </dependency>
68
69 <dependency>
70 <groupId>org.codehaus.groovy</groupId>
71 <artifactId>groovy</artifactId>
72 <scope>compile</scope>
73 </dependency>
74
75 <dependency>
76 <groupId>org.codehaus.janino</groupId>
77 <artifactId>janino</artifactId>
78 <version>${janino.version}</version>
79 <scope>compile</scope>
80 </dependency>
81
82 <dependency>
83 <groupId>org.yaml</groupId>
84 <artifactId>snakeyaml</artifactId>
85 <version>${snakeyaml.version}</version>
86 <scope>compile</scope>
87 </dependency>
88
89 <dependency>
90 <groupId>org.apache.commons</groupId>
91 <artifactId>commons-jci-core</artifactId>
92 <version>${commons-jci-core.version}</version>
93 <scope>compile</scope>
94 <exclusions>
95 <exclusion>
96 <groupId>commons-io</groupId>
97 <artifactId>commons-io</artifactId>
98 </exclusion>
99 </exclusions>
100 </dependency>
101
102 <dependency>
103 <groupId>com.google.code.gson</groupId>
104 <artifactId>gson</artifactId>
105 <version>${gson.version}</version>
106 <scope>compile</scope>
107 </dependency>
108
109 <dependency>
110 <groupId>org.glassfish.jersey.containers</groupId>
111 <artifactId>jersey-container-servlet</artifactId>
112 <version>${jersey-bom.version}</version>
113 <scope>compile</scope>
114 </dependency>
115
116 <dependency>
117 <groupId>org.glassfish.jersey.media</groupId>
118 <artifactId>jersey-media-multipart</artifactId>
119 <version>${jersey-bom.version}</version>
120 <scope>compile</scope>
121 </dependency>
122
123 <dependency>
124 <groupId>org.glassfish.jersey.media</groupId>
125 <artifactId>jersey-media-moxy</artifactId>
126 <version>${jersey-bom.version}</version>
127 <scope>compile</scope>
128 </dependency>
129
130
131 <dependency>
132 <groupId>org.glassfish.jersey.media</groupId>
133 <artifactId>jersey-media-json-jackson</artifactId>
134 <version>${jersey-bom.version}</version>
135 <scope>compile</scope>
136 </dependency>
137
138 <dependency>
139 <groupId>org.glassfish.jersey.inject</groupId>
140 <artifactId>jersey-hk2</artifactId>
141 <version>${jersey-bom.version}</version>
142 </dependency>
143
144 <dependency>
145 <groupId>com.fasterxml.jackson.core</groupId>
146 <artifactId>jackson-core</artifactId>
147 <version>${jackson.version}</version>
148 <scope>compile</scope>
149 </dependency>
150
151 <dependency>
152 <groupId>com.fasterxml.jackson.core</groupId>
153 <artifactId>jackson-databind</artifactId>
154 <version>${jackson.version}</version>
155 <exclusions>
156 <exclusion>
157 <groupId>com.fasterxml.jackson.core</groupId>
158 <artifactId>jackson-core</artifactId>
159 </exclusion>
160 </exclusions>
161 </dependency>
162
163 <dependency>
164 <groupId>com.fasterxml.jackson.core</groupId>
165 <artifactId>jackson-annotations</artifactId>
166 <version>${jackson-annotations.version}</version>
167 <scope>compile</scope>
168 </dependency>
169
170 <!-- http client -->
171 <dependency>
172 <groupId>org.apache.httpcomponents</groupId>
173 <artifactId>httpclient</artifactId>
174 <version>${httpclient.version}</version>
vasraz987fc742021-11-29 17:42:02 +0000175 <exclusions>
176 <exclusion>
177 <groupId>org.apache.httpcomponents</groupId>
178 <artifactId>httpcore</artifactId>
179 </exclusion>
180 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000181 </dependency>
182
183 <dependency>
184 <groupId>org.apache.httpcomponents</groupId>
185 <artifactId>httpcore</artifactId>
186 <version>${httpcore.version}</version>
187 <scope>compile</scope>
188 </dependency>
189
190 <dependency>
191 <groupId>org.apache.httpcomponents</groupId>
192 <artifactId>httpmime</artifactId>
193 <version>${httpclient.version}</version>
vasraz987fc742021-11-29 17:42:02 +0000194 <exclusions>
195 <exclusion>
196 <groupId>org.apache.httpcomponents</groupId>
197 <artifactId>httpcore</artifactId>
198 </exclusion>
199 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000200 </dependency>
201
202 <dependency>
203 <groupId>commons-logging</groupId>
204 <artifactId>commons-logging</artifactId>
205 <version>${commons-logging}</version>
206 <scope>compile</scope>
207 </dependency>
208
209 <dependency>
210 <groupId>commons-codec</groupId>
211 <artifactId>commons-codec</artifactId>
212 <version>${commons-codec}</version>
213 <scope>compile</scope>
214 </dependency>
215 <!-- http client END -->
216
217 <dependency>
218 <groupId>javax.servlet</groupId>
219 <artifactId>javax.servlet-api</artifactId>
220 <version>${servlet-api.version}</version>
221 <scope>provided</scope>
222 </dependency>
223
224 <!-- JSON and YAML Parsing -->
225 <dependency>
226 <groupId>com.fasterxml.jackson.dataformat</groupId>
227 <artifactId>jackson-dataformat-yaml</artifactId>
228 <version>${jackson.version}</version>
229 <scope>compile</scope>
230 </dependency>
231
232 <!-- Jetty Proxy -->
233 <dependency>
234 <groupId>org.eclipse.jetty</groupId>
235 <artifactId>jetty-proxy</artifactId>
236 <version>${jetty.version}</version>
237 <scope>compile</scope>
vasraze9171112021-11-26 15:57:50 +0000238 </dependency>
239
240 <dependency>
241 <groupId>org.eclipse.jetty</groupId>
242 <artifactId>jetty-servlets</artifactId>
243 <version>${jetty.version}</version>
244 <scope>compile</scope>
245 <exclusions>
246 <exclusion>
247 <groupId>org.eclipse.jetty</groupId>
248 <artifactId>jetty-http</artifactId>
249 </exclusion>
250 </exclusions>
251 </dependency>
252
253 <!-- Proxy servlet -->
254 <dependency>
255 <groupId>com.google.guava</groupId>
256 <artifactId>guava</artifactId>
257 <version>${guava.version}</version>
258 <scope>compile</scope>
259 </dependency>
260
261 <!-- Aspects -->
262 <dependency>
263 <groupId>com.jcabi</groupId>
264 <artifactId>jcabi-aspects</artifactId>
265 <version>${jcabi.version}</version>
266 <scope>compile</scope>
267 </dependency>
268 <dependency>
269 <groupId>org.aspectj</groupId>
270 <artifactId>aspectjrt</artifactId>
271 <version>${aspectjrt.version}</version>
272 <scope>compile</scope>
273 </dependency>
274
275 <dependency>
276 <groupId>org.apache.commons</groupId>
277 <artifactId>commons-lang3</artifactId>
278 <version>${lang3.version}</version>
279 <scope>compile</scope>
280 </dependency>
281
282 <dependency>
283 <groupId>javax.xml.bind</groupId>
284 <artifactId>jaxb-api</artifactId>
285 <version>${jaxb-api.version}</version>
286 <scope>compile</scope>
287 </dependency>
288 <dependency>
289 <groupId>org.hibernate.validator</groupId>
290 <artifactId>hibernate-validator</artifactId>
291 <version>${hibernate.validator.version}</version>
292 </dependency>
293
294 <!-- Inserted for ECOMP Portal Integration -->
295 <dependency>
296 <groupId>org.owasp.esapi</groupId>
297 <artifactId>esapi</artifactId>
298 <version>${org.owasp.esapi.version}</version>
299 <exclusions>
300 <exclusion>
301 <groupId>log4j</groupId>
302 <artifactId>log4j</artifactId>
303 </exclusion>
304 <exclusion>
305 <groupId>commons-io</groupId>
306 <artifactId>commons-io</artifactId>
307 </exclusion>
308 <exclusion>
309 <groupId>commons-fileupload</groupId>
310 <artifactId>commons-fileupload</artifactId>
311 </exclusion>
312 <exclusion>
313 <groupId>org.apache.xmlgraphics</groupId>
314 <artifactId>xmlgraphics-commons</artifactId>
315 </exclusion>
316 <exclusion>
317 <groupId>xml-apis</groupId>
318 <artifactId>xml-apis-ext</artifactId>
319 </exclusion>
320 <exclusion>
321 <groupId>xml-apis</groupId>
322 <artifactId>xml-apis</artifactId>
323 </exclusion>
vasraz584dfd72022-03-03 11:38:39 +0000324 <exclusion>
325 <groupId>xerces</groupId>
326 <artifactId>xercesImpl</artifactId>
327 </exclusion>
vasraz47c04b22022-05-24 09:12:03 +0100328 <exclusion>
329 <groupId>net.sourceforge.nekohtml</groupId>
330 <artifactId>nekohtml</artifactId>
331 </exclusion>
vasraze9171112021-11-26 15:57:50 +0000332 </exclusions>
333 </dependency>
334 <dependency>
335 <groupId>org.onap.portal.sdk</groupId>
336 <artifactId>epsdk-fw</artifactId>
337 <version>${ecomp.version}</version>
338 <scope>compile</scope>
339 <exclusions>
340 <exclusion>
341 <groupId>com.att.nsa</groupId>
342 <artifactId>cambriaClient</artifactId>
343 </exclusion>
344 <exclusion>
345 <artifactId>slf4j-log4j12</artifactId>
346 <groupId>org.slf4j</groupId>
347 </exclusion>
348 <exclusion>
349 <artifactId>log4j</artifactId>
350 <groupId>log4j</groupId>
351 </exclusion>
352 </exclusions>
353 </dependency>
354 <!-- System metrics -->
355 <dependency>
356 <groupId>org.fusesource</groupId>
357 <artifactId>sigar</artifactId>
358 <version>${sigar.version}</version>
359 <scope>compile</scope>
360 <exclusions>
361 <exclusion>
362 <groupId>log4j</groupId>
363 <artifactId>log4j</artifactId>
364 </exclusion>
365 </exclusions>
366 </dependency>
367
368 <!-- TEST -->
369 <dependency>
370 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
371 <artifactId>jersey-test-framework-provider-bundle</artifactId>
372 <version>${jersey-bom.version}</version>
373 <type>pom</type>
374 <scope>test</scope>
vasraze9171112021-11-26 15:57:50 +0000375 </dependency>
376
377 <dependency>
378 <groupId>com.google.code.bean-matchers</groupId>
379 <artifactId>bean-matchers</artifactId>
380 <version>${bean-matchers.version}</version>
381 <scope>test</scope>
382 </dependency>
383
384 <dependency>
385 <groupId>org.eclipse.jetty</groupId>
386 <artifactId>jetty-servlet</artifactId>
387 <version>${jetty.version}</version>
388 <scope>test</scope>
389 <exclusions>
390 <exclusion>
391 <groupId>org.eclipse.jetty</groupId>
vasraze9171112021-11-26 15:57:50 +0000392 <artifactId>jetty-security</artifactId>
393 </exclusion>
394 </exclusions>
395 </dependency>
396
397 <dependency>
398 <groupId>org.eclipse.jetty</groupId>
399 <artifactId>jetty-webapp</artifactId>
400 <version>${jetty.version}</version>
401 <scope>test</scope>
vasraze9171112021-11-26 15:57:50 +0000402 </dependency>
403 <dependency>
404 <groupId>org.eclipse.jetty</groupId>
405 <artifactId>jetty-http</artifactId>
406 <version>${jetty.version}</version>
407 </dependency>
408 <dependency>
409 <groupId>javax.ws.rs</groupId>
410 <artifactId>javax.ws.rs-api</artifactId>
411 <version>${ws.rs.version}</version>
412 <scope>compile</scope>
413 </dependency>
414
415 <dependency>
416 <groupId>javax.validation</groupId>
417 <artifactId>validation-api</artifactId>
418 <version>${javax.validation.version}</version>
419 </dependency>
420 </dependencies>
421
vasrazf0d4dd52021-11-15 12:27:54 +0000422 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200423
vasraza36531c2020-04-29 18:39:35 +0100424 <finalName>${project.artifactId}-${project.version}</finalName>
vasrazf0d4dd52021-11-15 12:27:54 +0000425
vasraza36531c2020-04-29 18:39:35 +0100426 <plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000427 <plugin>
vasraze9171112021-11-26 15:57:50 +0000428 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000429 <artifactId>maven-war-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100430 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000431 <archive>
432 <manifest>
433 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
434 </manifest>
435 </archive>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200436
vasrazf0d4dd52021-11-15 12:27:54 +0000437 <webResources>
438 <resource>
439 <directory>src/main/resources</directory>
440 </resource>
441 </webResources>
442 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000443 </plugin>
444
445 <plugin>
vasraze9171112021-11-26 15:57:50 +0000446 <groupId>org.eclipse.jetty</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000447 <artifactId>jetty-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000448 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100449 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000450 <webApp>
451 <contextPath>/</contextPath>
452 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
453 </webApp>
vasraze9171112021-11-26 15:57:50 +0000454 <war>${project.build.directory}/${project.build.finalName}.war</war>
vasraza36531c2020-04-29 18:39:35 +0100455 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000456 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200457
vasrazf0d4dd52021-11-15 12:27:54 +0000458 <plugin>
vasraze9171112021-11-26 15:57:50 +0000459 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000460 <artifactId>maven-deploy-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100461 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000462 <skip>true</skip>
vasraza36531c2020-04-29 18:39:35 +0100463 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000464 </plugin>
465
466 <plugin>
vasraze9171112021-11-26 15:57:50 +0000467 <!-- jcabi (log injection) -->
468 <groupId>com.jcabi</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000469 <artifactId>jcabi-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000470 <version>${jcabi.maven.plugin.version}</version>
vasrazf0d4dd52021-11-15 12:27:54 +0000471 <dependencies>
472 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000473 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000474 <artifactId>aspectjtools</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000475 <version>${aspectj.version}</version>
476 </dependency>
477 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000478 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000479 <artifactId>aspectjweaver</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000480 <version>${aspectj.version}</version>
481 </dependency>
482 </dependencies>
483 <executions>
484 <execution>
485 <goals>
486 <goal>ajc</goal>
487 </goals>
488 </execution>
489 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000490 </plugin>
491 <plugin>
vasraze9171112021-11-26 15:57:50 +0000492 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000493 <artifactId>maven-clean-plugin</artifactId>
494 <executions>
495 <execution>
vasraze9171112021-11-26 15:57:50 +0000496 <id>clean.catalog.fe.folder</id>
497 <phase>clean</phase>
498 <goals>
499 <goal>clean</goal>
500 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000501 <configuration>
502 <filesets>
503 <!-- FE WAR's -->
504 <fileset>
vasraze9171112021-11-26 15:57:50 +0000505 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000506 <followSymlinks>false</followSymlinks>
507 <includes>
508 <include>*.war</include>
509 </includes>
510 </fileset>
511 </filesets>
512 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000513 </execution>
514 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000515 </plugin>
516 <plugin>
vasraze9171112021-11-26 15:57:50 +0000517 <groupId>com.github.sylvainlaurent.maven</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000518 <artifactId>yaml-json-validator-maven-plugin</artifactId>
519 <executions>
520 <execution>
vasraze9171112021-11-26 15:57:50 +0000521 <id>validate</id>
522 <phase>validate</phase>
523 <goals>
524 <goal>validate</goal>
525 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000526 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000527 <validationSets>
528 <validationSet>
529 <includes>
530 <include>src/main/resources/**/*.y*ml</include>
531 <include>src/test/resources/**/*.y*ml</include>
532 </includes>
533 </validationSet>
534 <validationSet>
535 <includes>
536 <include>src/main/resources/**/*.json</include>
537 <include>src/test/resources/**/*.json</include>
538 </includes>
539 </validationSet>
540 </validationSets>
vasraze9171112021-11-26 15:57:50 +0000541 <skip>${skipYamlJsonValidator}</skip>
vasrazf0d4dd52021-11-15 12:27:54 +0000542 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000543 </execution>
544 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000545 </plugin>
546
vasraza36531c2020-04-29 18:39:35 +0100547 </plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000548
vasraze9171112021-11-26 15:57:50 +0000549 <pluginManagement>
550 <plugins>
551 <!--This plugin's configuration is used to store Eclipse m2e settings
552 only. It has no influence on the Maven build itself. -->
553 <plugin>
554 <groupId>org.eclipse.m2e</groupId>
555 <artifactId>lifecycle-mapping</artifactId>
556 <version>1.0.0</version>
557 <configuration>
558 <lifecycleMappingMetadata>
559 <pluginExecutions>
560
561 <pluginExecution>
562 <pluginExecutionFilter>
563 <groupId>com.jcabi</groupId>
564 <artifactId>jcabi-maven-plugin</artifactId>
565 <versionRange>[0.0,)</versionRange>
566 <goals>
567 <goal>ajc</goal>
568 </goals>
569 </pluginExecutionFilter>
570 <action>
571 <execute/>
572 </action>
573 </pluginExecution>
574
575 </pluginExecutions>
576 </lifecycleMappingMetadata>
577 </configuration>
578 </plugin>
579 </plugins>
580 </pluginManagement>
vasrazf0d4dd52021-11-15 12:27:54 +0000581 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000582
583 <profiles>
584 <profile>
vasraze9171112021-11-26 15:57:50 +0000585 <id>catalog</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000586 <activation>
587 <activeByDefault>false</activeByDefault>
588 </activation>
vasraze9171112021-11-26 15:57:50 +0000589
vasrazf0d4dd52021-11-15 12:27:54 +0000590 <build>
591 <finalName>${project.artifactId}-${project.version}</finalName>
592 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000593 </profile>
594 <profile>
vasraze9171112021-11-26 15:57:50 +0000595 <id>docker</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000596 <activation>
597 <activeByDefault>false</activeByDefault>
598 </activation>
599 <build>
600 <plugins>
601 <plugin>
vasraze9171112021-11-26 15:57:50 +0000602 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000603 <artifactId>maven-resources-plugin</artifactId>
604 <executions>
605 <execution>
vasraze9171112021-11-26 15:57:50 +0000606 <id>copy-resources-fe</id>
607 <phase>verify</phase>
608 <goals>
609 <goal>copy-resources</goal>
610 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000611 <configuration>
612 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
613 <resources>
614 <resource>
vasraze9171112021-11-26 15:57:50 +0000615 <directory>${project.parent.basedir}/catalog-fe/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000616 <includes>
617 <include>catalog-fe-${project.version}.war</include>
618 </includes>
619 </resource>
620 <resource>
vasraze9171112021-11-26 15:57:50 +0000621 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000622 <includes>
vasraze9171112021-11-26 15:57:50 +0000623 <include>onboarding-fe-${project.version}.war</include>
vasrazf0d4dd52021-11-15 12:27:54 +0000624 </includes>
625 </resource>
626 </resources>
627 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000628 </execution>
629 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000630 </plugin>
631 <plugin>
vasraze9171112021-11-26 15:57:50 +0000632 <groupId>io.fabric8</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000633 <artifactId>docker-maven-plugin</artifactId>
634 <configuration>
vasraze9171112021-11-26 15:57:50 +0000635 <verbose>${verbose}</verbose>
vasrazf0d4dd52021-11-15 12:27:54 +0000636 <apiVersion>${docker.api.version}</apiVersion>
vasraz8b1002a2021-12-08 22:12:52 +0000637 <registry>${docker.registry}</registry>
vasrazf0d4dd52021-11-15 12:27:54 +0000638 <authConfig>
639 <pull>
vasrazf0d4dd52021-11-15 12:27:54 +0000640 <username>${docker.username}</username>
vasraze9171112021-11-26 15:57:50 +0000641 <password>${docker.password}</password>
vasrazf0d4dd52021-11-15 12:27:54 +0000642 </pull>
643 </authConfig>
644 <images>
645
646 <!-- Build frontend image -->
647 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000648 <name>${docker.namespace}/sdc-frontend</name>
vasrazf0d4dd52021-11-15 12:27:54 +0000649 <alias>sdc-frontend</alias>
650 <build>
651 <cleanup>try</cleanup>
vasraze9171112021-11-26 15:57:50 +0000652 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
vasrazf0d4dd52021-11-15 12:27:54 +0000653 <tags>
654 <tag>latest</tag>
655 <tag>
656 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
657 </tag>
658 <tag>
659 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
660 </tag>
661 </tags>
662 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000663 </image>
664 </images>
vasrazf0d4dd52021-11-15 12:27:54 +0000665 </configuration>
666 <executions>
667 <execution>
vasraze9171112021-11-26 15:57:50 +0000668 <id>clean-images</id>
669 <phase>pre-clean</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000670 <goals>
671 <goal>remove</goal>
672 </goals>
vasraze9171112021-11-26 15:57:50 +0000673 <configuration>
674 <removeAll>true</removeAll>
vasraz8b1002a2021-12-08 22:12:52 +0000675 <image>${docker.namespace}/sdc-frontend</image>
vasraze9171112021-11-26 15:57:50 +0000676 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000677 </execution>
678
679 <execution>
vasraze9171112021-11-26 15:57:50 +0000680 <id>generate-images</id>
681 <phase>install</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000682 <goals>
683 <goal>build</goal>
684 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000685 </execution>
686
687 <execution>
vasraze9171112021-11-26 15:57:50 +0000688 <id>push-images</id>
689 <phase>deploy</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000690 <goals>
691 <goal>push</goal>
692 </goals>
vasraze9171112021-11-26 15:57:50 +0000693 <configuration>
vasraz8b1002a2021-12-08 22:12:52 +0000694 <image>${docker.namespace}/sdc-frontend</image>
vasraze9171112021-11-26 15:57:50 +0000695 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000696 </execution>
697 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000698 </plugin>
699 </plugins>
700 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000701 </profile>
702 </profiles>
vasraze9171112021-11-26 15:57:50 +0000703
Michael Lando451a3402017-02-19 10:28:42 +0200704</project>