blob: 85b93c5228194e1ac42c423906aa3f8f2a6fac1a [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>
38 </dependency>
39
40 <!-- File changes listener -->
41 <dependency>
42 <groupId>ch.qos.logback</groupId>
43 <artifactId>logback-classic</artifactId>
44 <version>${logback.version}</version>
45 <scope>compile</scope>
46 </dependency>
47
48 <dependency>
49 <groupId>org.codehaus.groovy</groupId>
50 <artifactId>groovy</artifactId>
51 <scope>compile</scope>
52 </dependency>
53
54 <dependency>
55 <groupId>org.codehaus.janino</groupId>
56 <artifactId>janino</artifactId>
57 <version>${janino.version}</version>
58 <scope>compile</scope>
59 </dependency>
60
61 <dependency>
62 <groupId>org.yaml</groupId>
63 <artifactId>snakeyaml</artifactId>
64 <version>${snakeyaml.version}</version>
65 <scope>compile</scope>
66 </dependency>
67
68 <dependency>
69 <groupId>org.apache.commons</groupId>
70 <artifactId>commons-jci-core</artifactId>
71 <version>${commons-jci-core.version}</version>
72 <scope>compile</scope>
73 <exclusions>
74 <exclusion>
75 <groupId>commons-io</groupId>
76 <artifactId>commons-io</artifactId>
77 </exclusion>
78 </exclusions>
79 </dependency>
80
81 <dependency>
82 <groupId>com.google.code.gson</groupId>
83 <artifactId>gson</artifactId>
84 <version>${gson.version}</version>
85 <scope>compile</scope>
86 </dependency>
87
88 <dependency>
89 <groupId>org.glassfish.jersey.containers</groupId>
90 <artifactId>jersey-container-servlet</artifactId>
91 <version>${jersey-bom.version}</version>
92 <scope>compile</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>org.glassfish.jersey.media</groupId>
97 <artifactId>jersey-media-multipart</artifactId>
98 <version>${jersey-bom.version}</version>
99 <scope>compile</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>org.glassfish.jersey.media</groupId>
104 <artifactId>jersey-media-moxy</artifactId>
105 <version>${jersey-bom.version}</version>
106 <scope>compile</scope>
107 </dependency>
108
109
110 <dependency>
111 <groupId>org.glassfish.jersey.media</groupId>
112 <artifactId>jersey-media-json-jackson</artifactId>
113 <version>${jersey-bom.version}</version>
114 <scope>compile</scope>
115 </dependency>
116
117 <dependency>
118 <groupId>org.glassfish.jersey.inject</groupId>
119 <artifactId>jersey-hk2</artifactId>
120 <version>${jersey-bom.version}</version>
121 </dependency>
122
123 <dependency>
124 <groupId>com.fasterxml.jackson.core</groupId>
125 <artifactId>jackson-core</artifactId>
126 <version>${jackson.version}</version>
127 <scope>compile</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-databind</artifactId>
133 <version>${jackson.version}</version>
134 <exclusions>
135 <exclusion>
136 <groupId>com.fasterxml.jackson.core</groupId>
137 <artifactId>jackson-core</artifactId>
138 </exclusion>
139 </exclusions>
140 </dependency>
141
142 <dependency>
143 <groupId>com.fasterxml.jackson.core</groupId>
144 <artifactId>jackson-annotations</artifactId>
145 <version>${jackson-annotations.version}</version>
146 <scope>compile</scope>
147 </dependency>
148
149 <!-- http client -->
150 <dependency>
151 <groupId>org.apache.httpcomponents</groupId>
152 <artifactId>httpclient</artifactId>
153 <version>${httpclient.version}</version>
154 <scope>compile</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>org.apache.httpcomponents</groupId>
159 <artifactId>httpcore</artifactId>
160 <version>${httpcore.version}</version>
161 <scope>compile</scope>
162 </dependency>
163
164 <dependency>
165 <groupId>org.apache.httpcomponents</groupId>
166 <artifactId>httpmime</artifactId>
167 <version>${httpclient.version}</version>
168 <scope>compile</scope>
169 </dependency>
170
171 <dependency>
172 <groupId>commons-logging</groupId>
173 <artifactId>commons-logging</artifactId>
174 <version>${commons-logging}</version>
175 <scope>compile</scope>
176 </dependency>
177
178 <dependency>
179 <groupId>commons-codec</groupId>
180 <artifactId>commons-codec</artifactId>
181 <version>${commons-codec}</version>
182 <scope>compile</scope>
183 </dependency>
184 <!-- http client END -->
185
186 <dependency>
187 <groupId>javax.servlet</groupId>
188 <artifactId>javax.servlet-api</artifactId>
189 <version>${servlet-api.version}</version>
190 <scope>provided</scope>
191 </dependency>
192
193 <!-- JSON and YAML Parsing -->
194 <dependency>
195 <groupId>com.fasterxml.jackson.dataformat</groupId>
196 <artifactId>jackson-dataformat-yaml</artifactId>
197 <version>${jackson.version}</version>
198 <scope>compile</scope>
199 </dependency>
200
201 <!-- Jetty Proxy -->
202 <dependency>
203 <groupId>org.eclipse.jetty</groupId>
204 <artifactId>jetty-proxy</artifactId>
205 <version>${jetty.version}</version>
206 <scope>compile</scope>
207 <exclusions>
208 <exclusion>
209 <groupId>org.eclipse.jetty</groupId>
210 <artifactId>jetty-http</artifactId>
211 </exclusion>
212 </exclusions>
213 </dependency>
214
215 <dependency>
216 <groupId>org.eclipse.jetty</groupId>
217 <artifactId>jetty-servlets</artifactId>
218 <version>${jetty.version}</version>
219 <scope>compile</scope>
220 <exclusions>
221 <exclusion>
222 <groupId>org.eclipse.jetty</groupId>
223 <artifactId>jetty-http</artifactId>
224 </exclusion>
225 </exclusions>
226 </dependency>
227
228 <!-- Proxy servlet -->
229 <dependency>
230 <groupId>com.google.guava</groupId>
231 <artifactId>guava</artifactId>
232 <version>${guava.version}</version>
233 <scope>compile</scope>
234 </dependency>
235
236 <!-- Aspects -->
237 <dependency>
238 <groupId>com.jcabi</groupId>
239 <artifactId>jcabi-aspects</artifactId>
240 <version>${jcabi.version}</version>
241 <scope>compile</scope>
242 </dependency>
243 <dependency>
244 <groupId>org.aspectj</groupId>
245 <artifactId>aspectjrt</artifactId>
246 <version>${aspectjrt.version}</version>
247 <scope>compile</scope>
248 </dependency>
249
250 <dependency>
251 <groupId>org.apache.commons</groupId>
252 <artifactId>commons-lang3</artifactId>
253 <version>${lang3.version}</version>
254 <scope>compile</scope>
255 </dependency>
256
257 <dependency>
258 <groupId>javax.xml.bind</groupId>
259 <artifactId>jaxb-api</artifactId>
260 <version>${jaxb-api.version}</version>
261 <scope>compile</scope>
262 </dependency>
263 <dependency>
264 <groupId>org.hibernate.validator</groupId>
265 <artifactId>hibernate-validator</artifactId>
266 <version>${hibernate.validator.version}</version>
267 </dependency>
268
269 <!-- Inserted for ECOMP Portal Integration -->
270 <dependency>
271 <groupId>org.owasp.esapi</groupId>
272 <artifactId>esapi</artifactId>
273 <version>${org.owasp.esapi.version}</version>
274 <exclusions>
275 <exclusion>
276 <groupId>log4j</groupId>
277 <artifactId>log4j</artifactId>
278 </exclusion>
279 <exclusion>
280 <groupId>commons-io</groupId>
281 <artifactId>commons-io</artifactId>
282 </exclusion>
283 <exclusion>
284 <groupId>commons-fileupload</groupId>
285 <artifactId>commons-fileupload</artifactId>
286 </exclusion>
287 <exclusion>
288 <groupId>org.apache.xmlgraphics</groupId>
289 <artifactId>xmlgraphics-commons</artifactId>
290 </exclusion>
291 <exclusion>
292 <groupId>xml-apis</groupId>
293 <artifactId>xml-apis-ext</artifactId>
294 </exclusion>
295 <exclusion>
296 <groupId>xml-apis</groupId>
297 <artifactId>xml-apis</artifactId>
298 </exclusion>
299 </exclusions>
300 </dependency>
301 <dependency>
302 <groupId>org.onap.portal.sdk</groupId>
303 <artifactId>epsdk-fw</artifactId>
304 <version>${ecomp.version}</version>
305 <scope>compile</scope>
306 <exclusions>
307 <exclusion>
308 <groupId>com.att.nsa</groupId>
309 <artifactId>cambriaClient</artifactId>
310 </exclusion>
311 <exclusion>
312 <artifactId>slf4j-log4j12</artifactId>
313 <groupId>org.slf4j</groupId>
314 </exclusion>
315 <exclusion>
316 <artifactId>log4j</artifactId>
317 <groupId>log4j</groupId>
318 </exclusion>
319 </exclusions>
320 </dependency>
321 <!-- System metrics -->
322 <dependency>
323 <groupId>org.fusesource</groupId>
324 <artifactId>sigar</artifactId>
325 <version>${sigar.version}</version>
326 <scope>compile</scope>
327 <exclusions>
328 <exclusion>
329 <groupId>log4j</groupId>
330 <artifactId>log4j</artifactId>
331 </exclusion>
332 </exclusions>
333 </dependency>
334
335 <!-- TEST -->
336 <dependency>
337 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
338 <artifactId>jersey-test-framework-provider-bundle</artifactId>
339 <version>${jersey-bom.version}</version>
340 <type>pom</type>
341 <scope>test</scope>
342 <exclusions>
343 <exclusion>
344 <groupId>org.eclipse.jetty</groupId>
345 <artifactId>jetty-server</artifactId>
346 </exclusion>
347 <exclusion>
348 <groupId>org.eclipse.jetty</groupId>
349 <artifactId>jetty-continuation</artifactId>
350 </exclusion>
351 </exclusions>
352 </dependency>
353
354 <dependency>
355 <groupId>com.google.code.bean-matchers</groupId>
356 <artifactId>bean-matchers</artifactId>
357 <version>${bean-matchers.version}</version>
358 <scope>test</scope>
359 </dependency>
360
361 <dependency>
362 <groupId>org.eclipse.jetty</groupId>
363 <artifactId>jetty-servlet</artifactId>
364 <version>${jetty.version}</version>
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-security</artifactId>
374 </exclusion>
375 </exclusions>
376 </dependency>
377
378 <dependency>
379 <groupId>org.eclipse.jetty</groupId>
380 <artifactId>jetty-webapp</artifactId>
381 <version>${jetty.version}</version>
382 <scope>test</scope>
383 <exclusions>
384 <exclusion>
385 <groupId>org.eclipse.jetty</groupId>
386 <artifactId>jetty-servlet</artifactId>
387 </exclusion>
388 </exclusions>
389 </dependency>
390 <dependency>
391 <groupId>org.eclipse.jetty</groupId>
392 <artifactId>jetty-http</artifactId>
393 <version>${jetty.version}</version>
394 </dependency>
395 <dependency>
396 <groupId>javax.ws.rs</groupId>
397 <artifactId>javax.ws.rs-api</artifactId>
398 <version>${ws.rs.version}</version>
399 <scope>compile</scope>
400 </dependency>
401
402 <dependency>
403 <groupId>javax.validation</groupId>
404 <artifactId>validation-api</artifactId>
405 <version>${javax.validation.version}</version>
406 </dependency>
407 </dependencies>
408
vasrazf0d4dd52021-11-15 12:27:54 +0000409 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200410
vasraza36531c2020-04-29 18:39:35 +0100411 <finalName>${project.artifactId}-${project.version}</finalName>
vasrazf0d4dd52021-11-15 12:27:54 +0000412
vasraza36531c2020-04-29 18:39:35 +0100413 <plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000414 <plugin>
vasraze9171112021-11-26 15:57:50 +0000415 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000416 <artifactId>maven-war-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100417 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000418 <archive>
419 <manifest>
420 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
421 </manifest>
422 </archive>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200423
vasrazf0d4dd52021-11-15 12:27:54 +0000424 <webResources>
425 <resource>
426 <directory>src/main/resources</directory>
427 </resource>
428 </webResources>
429 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000430 </plugin>
431
432 <plugin>
vasraze9171112021-11-26 15:57:50 +0000433 <groupId>org.eclipse.jetty</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000434 <artifactId>jetty-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000435 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100436 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000437 <webApp>
438 <contextPath>/</contextPath>
439 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
440 </webApp>
vasraze9171112021-11-26 15:57:50 +0000441 <war>${project.build.directory}/${project.build.finalName}.war</war>
vasraza36531c2020-04-29 18:39:35 +0100442 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000443 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200444
vasrazf0d4dd52021-11-15 12:27:54 +0000445 <plugin>
vasraze9171112021-11-26 15:57:50 +0000446 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000447 <artifactId>maven-deploy-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100448 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000449 <skip>true</skip>
vasraza36531c2020-04-29 18:39:35 +0100450 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000451 </plugin>
452
453 <plugin>
vasraze9171112021-11-26 15:57:50 +0000454 <!-- jcabi (log injection) -->
455 <groupId>com.jcabi</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000456 <artifactId>jcabi-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000457 <version>${jcabi.maven.plugin.version}</version>
vasrazf0d4dd52021-11-15 12:27:54 +0000458 <dependencies>
459 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000460 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000461 <artifactId>aspectjtools</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000462 <version>${aspectj.version}</version>
463 </dependency>
464 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000465 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000466 <artifactId>aspectjweaver</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000467 <version>${aspectj.version}</version>
468 </dependency>
469 </dependencies>
470 <executions>
471 <execution>
472 <goals>
473 <goal>ajc</goal>
474 </goals>
475 </execution>
476 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000477 </plugin>
478 <plugin>
vasraze9171112021-11-26 15:57:50 +0000479 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000480 <artifactId>maven-clean-plugin</artifactId>
481 <executions>
482 <execution>
vasraze9171112021-11-26 15:57:50 +0000483 <id>clean.catalog.fe.folder</id>
484 <phase>clean</phase>
485 <goals>
486 <goal>clean</goal>
487 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000488 <configuration>
489 <filesets>
490 <!-- FE WAR's -->
491 <fileset>
vasraze9171112021-11-26 15:57:50 +0000492 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000493 <followSymlinks>false</followSymlinks>
494 <includes>
495 <include>*.war</include>
496 </includes>
497 </fileset>
498 </filesets>
499 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000500 </execution>
501 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000502 </plugin>
503 <plugin>
vasraze9171112021-11-26 15:57:50 +0000504 <groupId>com.github.sylvainlaurent.maven</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000505 <artifactId>yaml-json-validator-maven-plugin</artifactId>
506 <executions>
507 <execution>
vasraze9171112021-11-26 15:57:50 +0000508 <id>validate</id>
509 <phase>validate</phase>
510 <goals>
511 <goal>validate</goal>
512 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000513 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000514 <validationSets>
515 <validationSet>
516 <includes>
517 <include>src/main/resources/**/*.y*ml</include>
518 <include>src/test/resources/**/*.y*ml</include>
519 </includes>
520 </validationSet>
521 <validationSet>
522 <includes>
523 <include>src/main/resources/**/*.json</include>
524 <include>src/test/resources/**/*.json</include>
525 </includes>
526 </validationSet>
527 </validationSets>
vasraze9171112021-11-26 15:57:50 +0000528 <skip>${skipYamlJsonValidator}</skip>
vasrazf0d4dd52021-11-15 12:27:54 +0000529 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000530 </execution>
531 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000532 </plugin>
533
vasraza36531c2020-04-29 18:39:35 +0100534 </plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000535
vasraze9171112021-11-26 15:57:50 +0000536 <pluginManagement>
537 <plugins>
538 <!--This plugin's configuration is used to store Eclipse m2e settings
539 only. It has no influence on the Maven build itself. -->
540 <plugin>
541 <groupId>org.eclipse.m2e</groupId>
542 <artifactId>lifecycle-mapping</artifactId>
543 <version>1.0.0</version>
544 <configuration>
545 <lifecycleMappingMetadata>
546 <pluginExecutions>
547
548 <pluginExecution>
549 <pluginExecutionFilter>
550 <groupId>com.jcabi</groupId>
551 <artifactId>jcabi-maven-plugin</artifactId>
552 <versionRange>[0.0,)</versionRange>
553 <goals>
554 <goal>ajc</goal>
555 </goals>
556 </pluginExecutionFilter>
557 <action>
558 <execute/>
559 </action>
560 </pluginExecution>
561
562 </pluginExecutions>
563 </lifecycleMappingMetadata>
564 </configuration>
565 </plugin>
566 </plugins>
567 </pluginManagement>
vasrazf0d4dd52021-11-15 12:27:54 +0000568 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000569
570 <profiles>
571 <profile>
vasraze9171112021-11-26 15:57:50 +0000572 <id>catalog</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000573 <activation>
574 <activeByDefault>false</activeByDefault>
575 </activation>
vasraze9171112021-11-26 15:57:50 +0000576
vasrazf0d4dd52021-11-15 12:27:54 +0000577 <build>
578 <finalName>${project.artifactId}-${project.version}</finalName>
579 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000580 </profile>
581 <profile>
vasraze9171112021-11-26 15:57:50 +0000582 <id>docker</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000583 <activation>
584 <activeByDefault>false</activeByDefault>
585 </activation>
vasraze9171112021-11-26 15:57:50 +0000586 <properties>
587 <docker.username>docker</docker.username>
588 <docker.password>docker</docker.password>
589 </properties>
vasrazf0d4dd52021-11-15 12:27:54 +0000590 <build>
591 <plugins>
592 <plugin>
vasraze9171112021-11-26 15:57:50 +0000593 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000594 <artifactId>maven-resources-plugin</artifactId>
595 <executions>
596 <execution>
vasraze9171112021-11-26 15:57:50 +0000597 <id>copy-resources-fe</id>
598 <phase>verify</phase>
599 <goals>
600 <goal>copy-resources</goal>
601 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000602 <configuration>
603 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
604 <resources>
605 <resource>
vasraze9171112021-11-26 15:57:50 +0000606 <directory>${project.parent.basedir}/catalog-fe/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000607 <includes>
608 <include>catalog-fe-${project.version}.war</include>
609 </includes>
610 </resource>
611 <resource>
vasraze9171112021-11-26 15:57:50 +0000612 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000613 <includes>
vasraze9171112021-11-26 15:57:50 +0000614 <include>onboarding-fe-${project.version}.war</include>
vasrazf0d4dd52021-11-15 12:27:54 +0000615 </includes>
616 </resource>
617 </resources>
618 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000619 </execution>
620 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000621 </plugin>
622 <plugin>
vasraze9171112021-11-26 15:57:50 +0000623 <groupId>io.fabric8</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000624 <artifactId>docker-maven-plugin</artifactId>
625 <configuration>
vasraze9171112021-11-26 15:57:50 +0000626 <verbose>${verbose}</verbose>
vasrazf0d4dd52021-11-15 12:27:54 +0000627 <apiVersion>${docker.api.version}</apiVersion>
vasraze9171112021-11-26 15:57:50 +0000628 <registry>nexus3.onap.org:10001</registry>
vasrazf0d4dd52021-11-15 12:27:54 +0000629 <authConfig>
630 <pull>
vasrazf0d4dd52021-11-15 12:27:54 +0000631 <username>${docker.username}</username>
vasraze9171112021-11-26 15:57:50 +0000632 <password>${docker.password}</password>
vasrazf0d4dd52021-11-15 12:27:54 +0000633 </pull>
634 </authConfig>
635 <images>
636
637 <!-- Build frontend image -->
638 <image>
vasraze9171112021-11-26 15:57:50 +0000639 <name>onap/sdc-frontend</name>
vasrazf0d4dd52021-11-15 12:27:54 +0000640 <alias>sdc-frontend</alias>
641 <build>
642 <cleanup>try</cleanup>
vasraze9171112021-11-26 15:57:50 +0000643 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
vasrazf0d4dd52021-11-15 12:27:54 +0000644 <tags>
645 <tag>latest</tag>
646 <tag>
647 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
648 </tag>
649 <tag>
650 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
651 </tag>
652 </tags>
653 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000654 </image>
655 </images>
vasrazf0d4dd52021-11-15 12:27:54 +0000656 </configuration>
657 <executions>
658 <execution>
vasraze9171112021-11-26 15:57:50 +0000659 <id>clean-images</id>
660 <phase>pre-clean</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000661 <goals>
662 <goal>remove</goal>
663 </goals>
vasraze9171112021-11-26 15:57:50 +0000664 <configuration>
665 <removeAll>true</removeAll>
666 <image>onap/sdc-frontend</image>
667 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000668 </execution>
669
670 <execution>
vasraze9171112021-11-26 15:57:50 +0000671 <id>generate-images</id>
672 <phase>install</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000673 <goals>
674 <goal>build</goal>
675 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000676 </execution>
677
678 <execution>
vasraze9171112021-11-26 15:57:50 +0000679 <id>push-images</id>
680 <phase>deploy</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000681 <goals>
682 <goal>push</goal>
683 </goals>
vasraze9171112021-11-26 15:57:50 +0000684 <configuration>
685 <image>onap/sdc-frontend</image>
686 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000687 </execution>
688 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000689 </plugin>
690 </plugins>
691 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000692 </profile>
693 </profiles>
vasraze9171112021-11-26 15:57:50 +0000694
Michael Lando451a3402017-02-19 10:28:42 +0200695</project>