blob: 238308145cdb9aaefde9a97136f71370c4ab7e85 [file] [log] [blame]
vasraza36531c2020-04-29 18:39:35 +01001<project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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
vasraza36531c2020-04-29 18:39:35 +01005 <modelVersion>4.0.0</modelVersion>
6 <artifactId>catalog-fe</artifactId>
7 <packaging>war</packaging>
Michael Lando451a3402017-02-19 10:28:42 +02008
vasraza36531c2020-04-29 18:39:35 +01009 <parent>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
ChrisC00acf3d2021-03-22 13:54:06 +010012 <version>1.9.0-SNAPSHOT</version>
vasraza36531c2020-04-29 18:39:35 +010013 </parent>
Michael Lando451a3402017-02-19 10:28:42 +020014
vasraza36531c2020-04-29 18:39:35 +010015 <dependencies>
Michael Lando2e0ef972017-02-28 01:44:21 +020016
vasraza36531c2020-04-29 18:39:35 +010017 <dependency>
18 <groupId>org.projectlombok</groupId>
19 <artifactId>lombok</artifactId>
20 <version>${lombok.version}</version>
21 </dependency>
Tomasz Golabek0e727302019-06-04 15:31:47 +020022
vasraza36531c2020-04-29 18:39:35 +010023 <dependency>
24 <groupId>org.functionaljava</groupId>
25 <artifactId>functionaljava</artifactId>
26 <version>${functionaljava.version}</version>
27 <scope>compile</scope>
28 </dependency>
xuegao45e2f0a2021-04-09 08:48:47 +020029 <dependency>
30 <groupId>org.onap.sdc.common</groupId>
31 <artifactId>onap-configuration-management-api</artifactId>
32 <version>${project.version}</version>
33 </dependency>
vasraza36531c2020-04-29 18:39:35 +010034 <dependency>
35 <groupId>org.openecomp.sdc</groupId>
36 <artifactId>common-app-api</artifactId>
37 <version>${project.version}</version>
38 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020039
vasraza36531c2020-04-29 18:39:35 +010040 <!-- 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>
Michael Lando451a3402017-02-19 10:28:42 +020047
vasraza36531c2020-04-29 18:39:35 +010048 <dependency>
49 <groupId>org.codehaus.groovy</groupId>
50 <artifactId>groovy</artifactId>
51 <scope>compile</scope>
52 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020053
vasraza36531c2020-04-29 18:39:35 +010054 <dependency>
55 <groupId>org.codehaus.janino</groupId>
56 <artifactId>janino</artifactId>
57 <version>${janino.version}</version>
58 <scope>compile</scope>
59 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020060
vasraza36531c2020-04-29 18:39:35 +010061 <dependency>
62 <groupId>org.yaml</groupId>
63 <artifactId>snakeyaml</artifactId>
64 <version>${snakeyaml.version}</version>
65 <scope>compile</scope>
66 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020067
vasraza36531c2020-04-29 18:39:35 +010068 <dependency>
69 <groupId>org.apache.commons</groupId>
70 <artifactId>commons-jci-core</artifactId>
71 <version>${commons-jci-core.version}</version>
72 <scope>compile</scope>
vasrazb7ea3ef2021-05-12 13:56:51 +010073 <exclusions>
74 <exclusion>
75 <groupId>commons-io</groupId>
76 <artifactId>commons-io</artifactId>
77 </exclusion>
78 </exclusions>
vasraza36531c2020-04-29 18:39:35 +010079 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020080
vasraza36531c2020-04-29 18:39:35 +010081 <dependency>
82 <groupId>com.google.code.gson</groupId>
83 <artifactId>gson</artifactId>
84 <version>${gson.version}</version>
85 <scope>compile</scope>
86 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020087
vasraza36531c2020-04-29 18:39:35 +010088 <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>
Michael Lando451a3402017-02-19 10:28:42 +020094
vasraza36531c2020-04-29 18:39:35 +010095 <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>
Michael Lando451a3402017-02-19 10:28:42 +0200101
vasraza36531c2020-04-29 18:39:35 +0100102 <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>
Michael Lando451a3402017-02-19 10:28:42 +0200108
Michael Lando451a3402017-02-19 10:28:42 +0200109
vasraza36531c2020-04-29 18:39:35 +0100110 <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>
Michael Lando451a3402017-02-19 10:28:42 +0200116
vasraza36531c2020-04-29 18:39:35 +0100117 <dependency>
118 <groupId>org.glassfish.jersey.inject</groupId>
119 <artifactId>jersey-hk2</artifactId>
120 <version>${jersey-bom.version}</version>
121 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200122
vasraza36531c2020-04-29 18:39:35 +0100123 <dependency>
124 <groupId>com.fasterxml.jackson.core</groupId>
125 <artifactId>jackson-core</artifactId>
126 <version>${jackson.version}</version>
127 <scope>compile</scope>
128 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200129
vasraza36531c2020-04-29 18:39:35 +0100130 <dependency>
131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-databind</artifactId>
133 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100134 <exclusions>
135 <exclusion>
136 <groupId>com.fasterxml.jackson.core</groupId>
137 <artifactId>jackson-core</artifactId>
138 </exclusion>
139 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100140 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200141
vasraza36531c2020-04-29 18:39:35 +0100142 <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>
Michael Lando451a3402017-02-19 10:28:42 +0200148
vasraza36531c2020-04-29 18:39:35 +0100149 <!-- 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>
Michael Lando451a3402017-02-19 10:28:42 +0200156
vasraza36531c2020-04-29 18:39:35 +0100157 <dependency>
158 <groupId>org.apache.httpcomponents</groupId>
159 <artifactId>httpcore</artifactId>
160 <version>${httpcore.version}</version>
161 <scope>compile</scope>
162 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200163
vasraza36531c2020-04-29 18:39:35 +0100164 <dependency>
165 <groupId>org.apache.httpcomponents</groupId>
166 <artifactId>httpmime</artifactId>
167 <version>${httpclient.version}</version>
168 <scope>compile</scope>
169 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200170
vasraza36531c2020-04-29 18:39:35 +0100171 <dependency>
172 <groupId>commons-logging</groupId>
173 <artifactId>commons-logging</artifactId>
174 <version>${commons-logging}</version>
175 <scope>compile</scope>
176 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200177
vasraza36531c2020-04-29 18:39:35 +0100178 <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 -->
Michael Lando451a3402017-02-19 10:28:42 +0200185
vasraza36531c2020-04-29 18:39:35 +0100186 <dependency>
187 <groupId>javax.servlet</groupId>
188 <artifactId>javax.servlet-api</artifactId>
189 <version>${servlet-api.version}</version>
190 <scope>provided</scope>
191 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200192
vasraza36531c2020-04-29 18:39:35 +0100193 <!-- 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>
Michael Lando451a3402017-02-19 10:28:42 +0200200
vasraza36531c2020-04-29 18:39:35 +0100201 <!-- Jetty Proxy -->
202 <dependency>
203 <groupId>org.eclipse.jetty</groupId>
204 <artifactId>jetty-proxy</artifactId>
205 <version>${jetty.version}</version>
206 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000207 <exclusions>
208 <exclusion>
209 <groupId>org.eclipse.jetty</groupId>
210 <artifactId>jetty-http</artifactId>
211 </exclusion>
212 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100213 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200214
vasraza36531c2020-04-29 18:39:35 +0100215 <dependency>
216 <groupId>org.eclipse.jetty</groupId>
217 <artifactId>jetty-servlets</artifactId>
218 <version>${jetty.version}</version>
219 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000220 <exclusions>
221 <exclusion>
222 <groupId>org.eclipse.jetty</groupId>
223 <artifactId>jetty-http</artifactId>
224 </exclusion>
225 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100226 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200227
vasraza36531c2020-04-29 18:39:35 +0100228 <!-- 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>
Michael Lando451a3402017-02-19 10:28:42 +0200235
vasraza36531c2020-04-29 18:39:35 +0100236 <!-- 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>
Michael Lando451a3402017-02-19 10:28:42 +0200249
vasraza36531c2020-04-29 18:39:35 +0100250 <dependency>
251 <groupId>org.apache.commons</groupId>
252 <artifactId>commons-lang3</artifactId>
253 <version>${lang3.version}</version>
254 <scope>compile</scope>
255 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200256
sebdet30670ac2020-08-04 14:16:00 +0200257 <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
264 <!-- Inserted for ECOMP Portal Integration -->
265 <dependency>
sebdeta9fffd22020-10-08 13:28:36 +0200266 <groupId>org.owasp.esapi</groupId>
267 <artifactId>esapi</artifactId>
268 <version>2.2.0.0</version>
vasraz7c259332021-01-20 21:20:28 +0000269 <exclusions>
270 <exclusion>
271 <groupId>log4j</groupId>
272 <artifactId>log4j</artifactId>
273 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100274 <exclusion>
275 <groupId>commons-io</groupId>
276 <artifactId>commons-io</artifactId>
277 </exclusion>
vasraz7c259332021-01-20 21:20:28 +0000278 </exclusions>
sebdeta9fffd22020-10-08 13:28:36 +0200279 </dependency>
280 <dependency>
sebdet30670ac2020-08-04 14:16:00 +0200281 <groupId>org.onap.portal.sdk</groupId>
282 <artifactId>epsdk-fw</artifactId>
283 <version>${ecomp.version}</version>
284 <scope>compile</scope>
285 <exclusions>
286 <exclusion>
287 <groupId>com.att.nsa</groupId>
288 <artifactId>cambriaClient</artifactId>
289 </exclusion>
290 <exclusion>
291 <artifactId>slf4j-log4j12</artifactId>
292 <groupId>org.slf4j</groupId>
293 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200294 <exclusion>
295 <artifactId>log4j</artifactId>
296 <groupId>log4j</groupId>
297 </exclusion>
sebdet30670ac2020-08-04 14:16:00 +0200298 </exclusions>
299 </dependency>
300 <!-- System metrics -->
301 <dependency>
302 <groupId>org.fusesource</groupId>
303 <artifactId>sigar</artifactId>
304 <version>${sigar.version}</version>
305 <scope>compile</scope>
sebdeta9fffd22020-10-08 13:28:36 +0200306 <exclusions>
307 <exclusion>
308 <groupId>log4j</groupId>
309 <artifactId>log4j</artifactId>
310 </exclusion>
311 </exclusions>
sebdet30670ac2020-08-04 14:16:00 +0200312 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200313
vasraza36531c2020-04-29 18:39:35 +0100314 <!-- TEST -->
315 <dependency>
316 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
317 <artifactId>jersey-test-framework-provider-bundle</artifactId>
318 <version>${jersey-bom.version}</version>
319 <type>pom</type>
320 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000321 <exclusions>
322 <exclusion>
323 <groupId>org.eclipse.jetty</groupId>
324 <artifactId>jetty-server</artifactId>
325 </exclusion>
326 <exclusion>
327 <groupId>org.eclipse.jetty</groupId>
328 <artifactId>jetty-continuation</artifactId>
329 </exclusion>
330 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100331 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200332
vasraza36531c2020-04-29 18:39:35 +0100333 <dependency>
334 <groupId>com.google.code.bean-matchers</groupId>
335 <artifactId>bean-matchers</artifactId>
336 <version>${bean-matchers.version}</version>
337 <scope>test</scope>
338 </dependency>
Tomasz Golabek0e727302019-06-04 15:31:47 +0200339
vasraza36531c2020-04-29 18:39:35 +0100340 <dependency>
341 <groupId>org.eclipse.jetty</groupId>
342 <artifactId>jetty-servlet</artifactId>
343 <version>${jetty.version}</version>
344 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000345 <exclusions>
346 <exclusion>
347 <groupId>org.eclipse.jetty</groupId>
348 <artifactId>jetty-server</artifactId>
349 </exclusion>
350 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100351 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200352
vasraza36531c2020-04-29 18:39:35 +0100353 <dependency>
354 <groupId>org.eclipse.jetty</groupId>
355 <artifactId>jetty-webapp</artifactId>
356 <version>${jetty.version}</version>
357 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000358 <exclusions>
359 <exclusion>
360 <groupId>org.eclipse.jetty</groupId>
361 <artifactId>jetty-servlet</artifactId>
362 </exclusion>
363 </exclusions>
364 </dependency>
365 <dependency>
366 <groupId>org.eclipse.jetty</groupId>
367 <artifactId>jetty-http</artifactId>
368 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100369 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200370
vasraza36531c2020-04-29 18:39:35 +0100371 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200372
vasraza36531c2020-04-29 18:39:35 +0100373 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200374
vasraza36531c2020-04-29 18:39:35 +0100375 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300376
vasraza36531c2020-04-29 18:39:35 +0100377 <plugins>
378 <plugin>
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-war-plugin</artifactId>
381 <configuration>
382 <archive>
383 <manifest>
384 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
385 </manifest>
386 </archive>
Michael Landoed64b5e2017-06-09 03:19:04 +0300387
vasraza36531c2020-04-29 18:39:35 +0100388 <webResources>
389 <resource>
390 <directory>src/main/resources</directory>
391 </resource>
392 </webResources>
393 </configuration>
394 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200395
vasraza36531c2020-04-29 18:39:35 +0100396 <plugin>
397 <groupId>org.eclipse.jetty</groupId>
398 <artifactId>jetty-maven-plugin</artifactId>
399 <version>${jetty.version}</version>
400 <configuration>
401 <webApp>
402 <contextPath>/</contextPath>
403 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
404 </webApp>
405 <war>${project.build.directory}/${project.build.finalName}.war</war>
406 </configuration>
407 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200408
vasraza36531c2020-04-29 18:39:35 +0100409 <plugin>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-deploy-plugin</artifactId>
412 <configuration>
413 <skip>true</skip>
414 </configuration>
415 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200416
vasraza36531c2020-04-29 18:39:35 +0100417 <plugin>
418 <groupId>com.jcabi</groupId>
419 <artifactId>jcabi-maven-plugin</artifactId>
420 <version>${jcabi.maven.plugin.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200421 <dependencies>
422 <dependency>
423 <groupId>org.aspectj</groupId>
424 <artifactId>aspectjtools</artifactId>
425 <version>1.9.2</version>
426 </dependency>
427 <dependency>
428 <groupId>org.aspectj</groupId>
429 <artifactId>aspectjweaver</artifactId>
430 <version>1.9.2</version>
431 </dependency>
432 </dependencies>
vasraza36531c2020-04-29 18:39:35 +0100433 <executions>
434 <execution>
435 <goals>
436 <goal>ajc</goal>
437 </goals>
438 </execution>
439 </executions>
440 </plugin>
441 <plugin>
442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-clean-plugin</artifactId>
444 <executions>
445 <execution>
446 <id>clean.catalog.fe.folder</id>
447 <phase>clean</phase>
448 <goals>
449 <goal>clean</goal>
450 </goals>
451 <configuration>
452 <filesets>
453 <!-- FE WAR's -->
454 <fileset>
455 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
456 <followSymlinks>false</followSymlinks>
457 <includes>
458 <include>*.war</include>
459 </includes>
460 </fileset>
461 </filesets>
462 </configuration>
463 </execution>
464 </executions>
465 </plugin>
466 <plugin>
467 <groupId>com.github.sylvainlaurent.maven</groupId>
468 <artifactId>yaml-json-validator-maven-plugin</artifactId>
469 <executions>
470 <execution>
471 <id>validate</id>
472 <phase>validate</phase>
473 <goals>
474 <goal>validate</goal>
475 </goals>
476 <configuration>
477 <validationSets>
478 <validationSet>
479 <includes>
480 <include>src/main/resources/**/*.y*ml</include>
481 <include>src/test/resources/**/*.y*ml</include>
482 </includes>
483 </validationSet>
484 <validationSet>
485 <includes>
486 <include>src/main/resources/**/*.json</include>
487 <include>src/test/resources/**/*.json</include>
488 </includes>
489 </validationSet>
490 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200491 <skip>${skipYamlJsonValidator}</skip>
vasraza36531c2020-04-29 18:39:35 +0100492 </configuration>
493 </execution>
494 </executions>
495 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200496
vasraza36531c2020-04-29 18:39:35 +0100497 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200498
vasraza36531c2020-04-29 18:39:35 +0100499 <pluginManagement>
500 <plugins>
501 <!--This plugin's configuration is used to store Eclipse m2e settings
502 only. It has no influence on the Maven build itself. -->
503 <plugin>
504 <groupId>org.eclipse.m2e</groupId>
505 <artifactId>lifecycle-mapping</artifactId>
506 <version>1.0.0</version>
507 <configuration>
508 <lifecycleMappingMetadata>
509 <pluginExecutions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300510
vasraza36531c2020-04-29 18:39:35 +0100511 <pluginExecution>
512 <pluginExecutionFilter>
513 <groupId>com.jcabi</groupId>
514 <artifactId>jcabi-maven-plugin</artifactId>
515 <versionRange>[0.0,)</versionRange>
516 <goals>
517 <goal>ajc</goal>
518 </goals>
519 </pluginExecutionFilter>
520 <action>
521 <execute/>
522 </action>
523 </pluginExecution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300524
vasraza36531c2020-04-29 18:39:35 +0100525 </pluginExecutions>
526 </lifecycleMappingMetadata>
527 </configuration>
528 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300529
vasraza36531c2020-04-29 18:39:35 +0100530 <!-- jacbi (log injection) -->
Michael Lando451a3402017-02-19 10:28:42 +0200531
vasraza36531c2020-04-29 18:39:35 +0100532 </plugins>
533 </pluginManagement>
Michael Landoed64b5e2017-06-09 03:19:04 +0300534
vasraza36531c2020-04-29 18:39:35 +0100535 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200536
vasraza36531c2020-04-29 18:39:35 +0100537 <profiles>
538 <profile>
539 <id>catalog</id>
540 <activation>
541 <activeByDefault>false</activeByDefault>
542 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200543
vasraza36531c2020-04-29 18:39:35 +0100544 <build>
545 <finalName>${project.artifactId}-${project.version}</finalName>
546 </build>
547 </profile>
548 <profile>
vasraza36531c2020-04-29 18:39:35 +0100549 <id>docker</id>
550 <activation>
551 <activeByDefault>false</activeByDefault>
552 </activation>
553 <properties>
554 <docker.username>docker</docker.username>
555 <docker.password>docker</docker.password>
556 </properties>
557 <build>
558 <plugins>
559 <plugin>
560 <groupId>org.apache.maven.plugins</groupId>
561 <artifactId>maven-resources-plugin</artifactId>
562 <executions>
563 <execution>
564 <id>copy-resources-fe</id>
565 <phase>verify</phase>
566 <goals>
567 <goal>copy-resources</goal>
568 </goals>
569 <configuration>
570 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
571 <resources>
572 <resource>
573 <directory>${project.parent.basedir}/catalog-fe/target</directory>
574 <includes>
575 <include>catalog-fe-${project.version}.war</include>
576 </includes>
577 </resource>
578 <resource>
579 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
580 <includes>
581 <include>onboarding-fe-${project.version}.war</include>
582 </includes>
583 </resource>
584 </resources>
585 </configuration>
586 </execution>
587 </executions>
588 </plugin>
589 <plugin>
590 <groupId>io.fabric8</groupId>
591 <artifactId>docker-maven-plugin</artifactId>
592 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200593 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200594 <apiVersion>${docker.api.version}</apiVersion>
vasraza36531c2020-04-29 18:39:35 +0100595 <registry>nexus3.onap.org:10001</registry>
596 <authConfig>
597 <pull>
598 <username>${docker.username}</username>
599 <password>${docker.password}</password>
600 </pull>
601 </authConfig>
602 <images>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200603
vasraza36531c2020-04-29 18:39:35 +0100604 <!-- Build frontend image -->
605 <image>
606 <name>onap/sdc-frontend</name>
607 <alias>sdc-frontend</alias>
608 <build>
609 <cleanup>try</cleanup>
610 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
611 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200612 <tag>latest</tag>
vasraza36531c2020-04-29 18:39:35 +0100613 <tag>
614 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
615 </tag>
sebdetb988cb62020-09-25 15:48:10 +0200616 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
vasraza36531c2020-04-29 18:39:35 +0100617 </tags>
618 </build>
619 </image>
620 </images>
621 </configuration>
622 <executions>
623 <execution>
624 <id>clean-images</id>
625 <phase>pre-clean</phase>
626 <goals>
627 <goal>remove</goal>
628 </goals>
629 <configuration>
630 <removeAll>true</removeAll>
631 <image>onap/sdc-frontend</image>
632 </configuration>
633 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200634
vasraza36531c2020-04-29 18:39:35 +0100635 <execution>
636 <id>generate-images</id>
637 <phase>install</phase>
638 <goals>
639 <goal>build</goal>
640 </goals>
641 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200642
vasraza36531c2020-04-29 18:39:35 +0100643 <execution>
644 <id>push-images</id>
645 <phase>deploy</phase>
646 <goals>
647 <goal>push</goal>
648 </goals>
649 <configuration>
650 <image>onap/sdc-frontend</image>
651 </configuration>
652 </execution>
653 </executions>
654 </plugin>
655 </plugins>
656 </build>
657 </profile>
658 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200659</project>