blob: a43dd9a81386c6fb0f0499605e1a4a6e557fa877 [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>
12 <version>1.10.0-SNAPSHOT</version>
13 </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>
315 </exclusions>
316 </dependency>
317 <dependency>
318 <groupId>org.onap.portal.sdk</groupId>
319 <artifactId>epsdk-fw</artifactId>
320 <version>${ecomp.version}</version>
321 <scope>compile</scope>
322 <exclusions>
323 <exclusion>
324 <groupId>com.att.nsa</groupId>
325 <artifactId>cambriaClient</artifactId>
326 </exclusion>
327 <exclusion>
328 <artifactId>slf4j-log4j12</artifactId>
329 <groupId>org.slf4j</groupId>
330 </exclusion>
331 <exclusion>
332 <artifactId>log4j</artifactId>
333 <groupId>log4j</groupId>
334 </exclusion>
335 </exclusions>
336 </dependency>
337 <!-- System metrics -->
338 <dependency>
339 <groupId>org.fusesource</groupId>
340 <artifactId>sigar</artifactId>
341 <version>${sigar.version}</version>
342 <scope>compile</scope>
343 <exclusions>
344 <exclusion>
345 <groupId>log4j</groupId>
346 <artifactId>log4j</artifactId>
347 </exclusion>
348 </exclusions>
349 </dependency>
350
351 <!-- TEST -->
352 <dependency>
353 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
354 <artifactId>jersey-test-framework-provider-bundle</artifactId>
355 <version>${jersey-bom.version}</version>
356 <type>pom</type>
357 <scope>test</scope>
358 <exclusions>
359 <exclusion>
360 <groupId>org.eclipse.jetty</groupId>
361 <artifactId>jetty-server</artifactId>
362 </exclusion>
363 <exclusion>
364 <groupId>org.eclipse.jetty</groupId>
365 <artifactId>jetty-continuation</artifactId>
366 </exclusion>
367 </exclusions>
368 </dependency>
369
370 <dependency>
371 <groupId>com.google.code.bean-matchers</groupId>
372 <artifactId>bean-matchers</artifactId>
373 <version>${bean-matchers.version}</version>
374 <scope>test</scope>
375 </dependency>
376
377 <dependency>
378 <groupId>org.eclipse.jetty</groupId>
379 <artifactId>jetty-servlet</artifactId>
380 <version>${jetty.version}</version>
381 <scope>test</scope>
382 <exclusions>
383 <exclusion>
384 <groupId>org.eclipse.jetty</groupId>
385 <artifactId>jetty-server</artifactId>
386 </exclusion>
387 <exclusion>
388 <groupId>org.eclipse.jetty</groupId>
389 <artifactId>jetty-security</artifactId>
390 </exclusion>
391 </exclusions>
392 </dependency>
393
394 <dependency>
395 <groupId>org.eclipse.jetty</groupId>
396 <artifactId>jetty-webapp</artifactId>
397 <version>${jetty.version}</version>
398 <scope>test</scope>
399 <exclusions>
400 <exclusion>
401 <groupId>org.eclipse.jetty</groupId>
402 <artifactId>jetty-servlet</artifactId>
403 </exclusion>
404 </exclusions>
405 </dependency>
406 <dependency>
407 <groupId>org.eclipse.jetty</groupId>
408 <artifactId>jetty-http</artifactId>
409 <version>${jetty.version}</version>
410 </dependency>
411 <dependency>
412 <groupId>javax.ws.rs</groupId>
413 <artifactId>javax.ws.rs-api</artifactId>
414 <version>${ws.rs.version}</version>
415 <scope>compile</scope>
416 </dependency>
417
418 <dependency>
419 <groupId>javax.validation</groupId>
420 <artifactId>validation-api</artifactId>
421 <version>${javax.validation.version}</version>
422 </dependency>
423 </dependencies>
424
vasrazf0d4dd52021-11-15 12:27:54 +0000425 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200426
vasraza36531c2020-04-29 18:39:35 +0100427 <finalName>${project.artifactId}-${project.version}</finalName>
vasrazf0d4dd52021-11-15 12:27:54 +0000428
vasraza36531c2020-04-29 18:39:35 +0100429 <plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000430 <plugin>
vasraze9171112021-11-26 15:57:50 +0000431 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000432 <artifactId>maven-war-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100433 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000434 <archive>
435 <manifest>
436 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
437 </manifest>
438 </archive>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200439
vasrazf0d4dd52021-11-15 12:27:54 +0000440 <webResources>
441 <resource>
442 <directory>src/main/resources</directory>
443 </resource>
444 </webResources>
445 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000446 </plugin>
447
448 <plugin>
vasraze9171112021-11-26 15:57:50 +0000449 <groupId>org.eclipse.jetty</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000450 <artifactId>jetty-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000451 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100452 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000453 <webApp>
454 <contextPath>/</contextPath>
455 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
456 </webApp>
vasraze9171112021-11-26 15:57:50 +0000457 <war>${project.build.directory}/${project.build.finalName}.war</war>
vasraza36531c2020-04-29 18:39:35 +0100458 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000459 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200460
vasrazf0d4dd52021-11-15 12:27:54 +0000461 <plugin>
vasraze9171112021-11-26 15:57:50 +0000462 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000463 <artifactId>maven-deploy-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100464 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000465 <skip>true</skip>
vasraza36531c2020-04-29 18:39:35 +0100466 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000467 </plugin>
468
469 <plugin>
vasraze9171112021-11-26 15:57:50 +0000470 <!-- jcabi (log injection) -->
471 <groupId>com.jcabi</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000472 <artifactId>jcabi-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000473 <version>${jcabi.maven.plugin.version}</version>
vasrazf0d4dd52021-11-15 12:27:54 +0000474 <dependencies>
475 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000476 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000477 <artifactId>aspectjtools</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000478 <version>${aspectj.version}</version>
479 </dependency>
480 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000481 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000482 <artifactId>aspectjweaver</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000483 <version>${aspectj.version}</version>
484 </dependency>
485 </dependencies>
486 <executions>
487 <execution>
488 <goals>
489 <goal>ajc</goal>
490 </goals>
491 </execution>
492 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000493 </plugin>
494 <plugin>
vasraze9171112021-11-26 15:57:50 +0000495 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000496 <artifactId>maven-clean-plugin</artifactId>
497 <executions>
498 <execution>
vasraze9171112021-11-26 15:57:50 +0000499 <id>clean.catalog.fe.folder</id>
500 <phase>clean</phase>
501 <goals>
502 <goal>clean</goal>
503 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000504 <configuration>
505 <filesets>
506 <!-- FE WAR's -->
507 <fileset>
vasraze9171112021-11-26 15:57:50 +0000508 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000509 <followSymlinks>false</followSymlinks>
510 <includes>
511 <include>*.war</include>
512 </includes>
513 </fileset>
514 </filesets>
515 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000516 </execution>
517 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000518 </plugin>
519 <plugin>
vasraze9171112021-11-26 15:57:50 +0000520 <groupId>com.github.sylvainlaurent.maven</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000521 <artifactId>yaml-json-validator-maven-plugin</artifactId>
522 <executions>
523 <execution>
vasraze9171112021-11-26 15:57:50 +0000524 <id>validate</id>
525 <phase>validate</phase>
526 <goals>
527 <goal>validate</goal>
528 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000529 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000530 <validationSets>
531 <validationSet>
532 <includes>
533 <include>src/main/resources/**/*.y*ml</include>
534 <include>src/test/resources/**/*.y*ml</include>
535 </includes>
536 </validationSet>
537 <validationSet>
538 <includes>
539 <include>src/main/resources/**/*.json</include>
540 <include>src/test/resources/**/*.json</include>
541 </includes>
542 </validationSet>
543 </validationSets>
vasraze9171112021-11-26 15:57:50 +0000544 <skip>${skipYamlJsonValidator}</skip>
vasrazf0d4dd52021-11-15 12:27:54 +0000545 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000546 </execution>
547 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000548 </plugin>
549
vasraza36531c2020-04-29 18:39:35 +0100550 </plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000551
vasraze9171112021-11-26 15:57:50 +0000552 <pluginManagement>
553 <plugins>
554 <!--This plugin's configuration is used to store Eclipse m2e settings
555 only. It has no influence on the Maven build itself. -->
556 <plugin>
557 <groupId>org.eclipse.m2e</groupId>
558 <artifactId>lifecycle-mapping</artifactId>
559 <version>1.0.0</version>
560 <configuration>
561 <lifecycleMappingMetadata>
562 <pluginExecutions>
563
564 <pluginExecution>
565 <pluginExecutionFilter>
566 <groupId>com.jcabi</groupId>
567 <artifactId>jcabi-maven-plugin</artifactId>
568 <versionRange>[0.0,)</versionRange>
569 <goals>
570 <goal>ajc</goal>
571 </goals>
572 </pluginExecutionFilter>
573 <action>
574 <execute/>
575 </action>
576 </pluginExecution>
577
578 </pluginExecutions>
579 </lifecycleMappingMetadata>
580 </configuration>
581 </plugin>
582 </plugins>
583 </pluginManagement>
vasrazf0d4dd52021-11-15 12:27:54 +0000584 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000585
586 <profiles>
587 <profile>
vasraze9171112021-11-26 15:57:50 +0000588 <id>catalog</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000589 <activation>
590 <activeByDefault>false</activeByDefault>
591 </activation>
vasraze9171112021-11-26 15:57:50 +0000592
vasrazf0d4dd52021-11-15 12:27:54 +0000593 <build>
594 <finalName>${project.artifactId}-${project.version}</finalName>
595 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000596 </profile>
597 <profile>
vasraze9171112021-11-26 15:57:50 +0000598 <id>docker</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000599 <activation>
600 <activeByDefault>false</activeByDefault>
601 </activation>
vasraze9171112021-11-26 15:57:50 +0000602 <properties>
603 <docker.username>docker</docker.username>
604 <docker.password>docker</docker.password>
605 </properties>
vasrazf0d4dd52021-11-15 12:27:54 +0000606 <build>
607 <plugins>
608 <plugin>
vasraze9171112021-11-26 15:57:50 +0000609 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000610 <artifactId>maven-resources-plugin</artifactId>
611 <executions>
612 <execution>
vasraze9171112021-11-26 15:57:50 +0000613 <id>copy-resources-fe</id>
614 <phase>verify</phase>
615 <goals>
616 <goal>copy-resources</goal>
617 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000618 <configuration>
619 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
620 <resources>
621 <resource>
vasraze9171112021-11-26 15:57:50 +0000622 <directory>${project.parent.basedir}/catalog-fe/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000623 <includes>
624 <include>catalog-fe-${project.version}.war</include>
625 </includes>
626 </resource>
627 <resource>
vasraze9171112021-11-26 15:57:50 +0000628 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000629 <includes>
vasraze9171112021-11-26 15:57:50 +0000630 <include>onboarding-fe-${project.version}.war</include>
vasrazf0d4dd52021-11-15 12:27:54 +0000631 </includes>
632 </resource>
633 </resources>
634 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000635 </execution>
636 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000637 </plugin>
638 <plugin>
vasraze9171112021-11-26 15:57:50 +0000639 <groupId>io.fabric8</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000640 <artifactId>docker-maven-plugin</artifactId>
641 <configuration>
vasraze9171112021-11-26 15:57:50 +0000642 <verbose>${verbose}</verbose>
vasrazf0d4dd52021-11-15 12:27:54 +0000643 <apiVersion>${docker.api.version}</apiVersion>
vasraze9171112021-11-26 15:57:50 +0000644 <registry>nexus3.onap.org:10001</registry>
vasrazf0d4dd52021-11-15 12:27:54 +0000645 <authConfig>
646 <pull>
vasrazf0d4dd52021-11-15 12:27:54 +0000647 <username>${docker.username}</username>
vasraze9171112021-11-26 15:57:50 +0000648 <password>${docker.password}</password>
vasrazf0d4dd52021-11-15 12:27:54 +0000649 </pull>
650 </authConfig>
651 <images>
652
653 <!-- Build frontend image -->
654 <image>
vasraze9171112021-11-26 15:57:50 +0000655 <name>onap/sdc-frontend</name>
vasrazf0d4dd52021-11-15 12:27:54 +0000656 <alias>sdc-frontend</alias>
657 <build>
658 <cleanup>try</cleanup>
vasraze9171112021-11-26 15:57:50 +0000659 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
vasrazf0d4dd52021-11-15 12:27:54 +0000660 <tags>
661 <tag>latest</tag>
662 <tag>
663 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
664 </tag>
665 <tag>
666 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
667 </tag>
668 </tags>
669 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000670 </image>
671 </images>
vasrazf0d4dd52021-11-15 12:27:54 +0000672 </configuration>
673 <executions>
674 <execution>
vasraze9171112021-11-26 15:57:50 +0000675 <id>clean-images</id>
676 <phase>pre-clean</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000677 <goals>
678 <goal>remove</goal>
679 </goals>
vasraze9171112021-11-26 15:57:50 +0000680 <configuration>
681 <removeAll>true</removeAll>
682 <image>onap/sdc-frontend</image>
683 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000684 </execution>
685
686 <execution>
vasraze9171112021-11-26 15:57:50 +0000687 <id>generate-images</id>
688 <phase>install</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000689 <goals>
690 <goal>build</goal>
691 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000692 </execution>
693
694 <execution>
vasraze9171112021-11-26 15:57:50 +0000695 <id>push-images</id>
696 <phase>deploy</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000697 <goals>
698 <goal>push</goal>
699 </goals>
vasraze9171112021-11-26 15:57:50 +0000700 <configuration>
701 <image>onap/sdc-frontend</image>
702 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000703 </execution>
704 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000705 </plugin>
706 </plugins>
707 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000708 </profile>
709 </profiles>
vasraze9171112021-11-26 15:57:50 +0000710
Michael Lando451a3402017-02-19 10:28:42 +0200711</project>