blob: 5e950a0b40875dd32cad6d6a635843e055f2163b [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
vasrazc81c95b2021-05-31 23:08:39 +0100257 <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>
vasraz66af7c52021-07-20 23:22:45 +0100264 <groupId>org.hibernate.validator</groupId>
vasrazc81c95b2021-05-31 23:08:39 +0100265 <artifactId>hibernate-validator</artifactId>
266 <version>${hibernate.validator.version}</version>
267 </dependency>
sebdet30670ac2020-08-04 14:16:00 +0200268
vasrazc81c95b2021-05-31 23:08:39 +0100269 <!-- Inserted for ECOMP Portal Integration -->
270 <dependency>
271 <groupId>org.owasp.esapi</groupId>
272 <artifactId>esapi</artifactId>
vasraz66af7c52021-07-20 23:22:45 +0100273 <version>${org.owasp.esapi.version}</version>
vasrazc81c95b2021-05-31 23:08:39 +0100274 <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 </exclusions>
288 </dependency>
289 <dependency>
290 <groupId>org.onap.portal.sdk</groupId>
291 <artifactId>epsdk-fw</artifactId>
292 <version>${ecomp.version}</version>
293 <scope>compile</scope>
294 <exclusions>
295 <exclusion>
296 <groupId>com.att.nsa</groupId>
297 <artifactId>cambriaClient</artifactId>
298 </exclusion>
299 <exclusion>
300 <artifactId>slf4j-log4j12</artifactId>
301 <groupId>org.slf4j</groupId>
302 </exclusion>
303 <exclusion>
304 <artifactId>log4j</artifactId>
305 <groupId>log4j</groupId>
306 </exclusion>
307 </exclusions>
308 </dependency>
309 <!-- System metrics -->
310 <dependency>
311 <groupId>org.fusesource</groupId>
312 <artifactId>sigar</artifactId>
313 <version>${sigar.version}</version>
314 <scope>compile</scope>
315 <exclusions>
316 <exclusion>
317 <groupId>log4j</groupId>
318 <artifactId>log4j</artifactId>
319 </exclusion>
320 </exclusions>
321 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200322
vasraza36531c2020-04-29 18:39:35 +0100323 <!-- TEST -->
324 <dependency>
325 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
326 <artifactId>jersey-test-framework-provider-bundle</artifactId>
327 <version>${jersey-bom.version}</version>
328 <type>pom</type>
329 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000330 <exclusions>
331 <exclusion>
332 <groupId>org.eclipse.jetty</groupId>
333 <artifactId>jetty-server</artifactId>
334 </exclusion>
335 <exclusion>
336 <groupId>org.eclipse.jetty</groupId>
337 <artifactId>jetty-continuation</artifactId>
338 </exclusion>
339 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100340 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200341
vasraza36531c2020-04-29 18:39:35 +0100342 <dependency>
343 <groupId>com.google.code.bean-matchers</groupId>
344 <artifactId>bean-matchers</artifactId>
345 <version>${bean-matchers.version}</version>
346 <scope>test</scope>
347 </dependency>
Tomasz Golabek0e727302019-06-04 15:31:47 +0200348
vasraza36531c2020-04-29 18:39:35 +0100349 <dependency>
350 <groupId>org.eclipse.jetty</groupId>
351 <artifactId>jetty-servlet</artifactId>
352 <version>${jetty.version}</version>
353 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000354 <exclusions>
355 <exclusion>
356 <groupId>org.eclipse.jetty</groupId>
357 <artifactId>jetty-server</artifactId>
358 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100359 <exclusion>
360 <groupId>org.eclipse.jetty</groupId>
361 <artifactId>jetty-security</artifactId>
362 </exclusion>
vasraz086406a2021-02-22 09:50:07 +0000363 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100364 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200365
vasraza36531c2020-04-29 18:39:35 +0100366 <dependency>
367 <groupId>org.eclipse.jetty</groupId>
368 <artifactId>jetty-webapp</artifactId>
369 <version>${jetty.version}</version>
370 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000371 <exclusions>
372 <exclusion>
373 <groupId>org.eclipse.jetty</groupId>
374 <artifactId>jetty-servlet</artifactId>
375 </exclusion>
376 </exclusions>
377 </dependency>
378 <dependency>
379 <groupId>org.eclipse.jetty</groupId>
380 <artifactId>jetty-http</artifactId>
381 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100382 </dependency>
vasraz66af7c52021-07-20 23:22:45 +0100383 <dependency>
384 <groupId>javax.ws.rs</groupId>
385 <artifactId>javax.ws.rs-api</artifactId>
386 <version>${ws.rs.version}</version>
387 <scope>compile</scope>
388 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200389
vasraz66af7c52021-07-20 23:22:45 +0100390 <dependency>
391 <groupId>javax.validation</groupId>
392 <artifactId>validation-api</artifactId>
393 <version>${javax.validation.version}</version>
394 </dependency>
vasraza36531c2020-04-29 18:39:35 +0100395 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200396
vasraza36531c2020-04-29 18:39:35 +0100397 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200398
vasraza36531c2020-04-29 18:39:35 +0100399 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300400
vasraza36531c2020-04-29 18:39:35 +0100401 <plugins>
402 <plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-war-plugin</artifactId>
405 <configuration>
406 <archive>
407 <manifest>
408 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
409 </manifest>
410 </archive>
Michael Landoed64b5e2017-06-09 03:19:04 +0300411
vasraza36531c2020-04-29 18:39:35 +0100412 <webResources>
413 <resource>
414 <directory>src/main/resources</directory>
415 </resource>
416 </webResources>
417 </configuration>
418 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200419
vasraza36531c2020-04-29 18:39:35 +0100420 <plugin>
421 <groupId>org.eclipse.jetty</groupId>
422 <artifactId>jetty-maven-plugin</artifactId>
423 <version>${jetty.version}</version>
424 <configuration>
425 <webApp>
426 <contextPath>/</contextPath>
427 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
428 </webApp>
429 <war>${project.build.directory}/${project.build.finalName}.war</war>
430 </configuration>
431 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200432
vasraza36531c2020-04-29 18:39:35 +0100433 <plugin>
434 <groupId>org.apache.maven.plugins</groupId>
435 <artifactId>maven-deploy-plugin</artifactId>
436 <configuration>
437 <skip>true</skip>
438 </configuration>
439 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200440
vasraza36531c2020-04-29 18:39:35 +0100441 <plugin>
442 <groupId>com.jcabi</groupId>
443 <artifactId>jcabi-maven-plugin</artifactId>
444 <version>${jcabi.maven.plugin.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200445 <dependencies>
vasrazc81c95b2021-05-31 23:08:39 +0100446 <dependency>
447 <groupId>org.aspectj</groupId>
448 <artifactId>aspectjtools</artifactId>
449 <version>1.9.2</version>
450 </dependency>
451 <dependency>
452 <groupId>org.aspectj</groupId>
453 <artifactId>aspectjweaver</artifactId>
454 <version>1.9.2</version>
455 </dependency>
sebdet30670ac2020-08-04 14:16:00 +0200456 </dependencies>
vasraza36531c2020-04-29 18:39:35 +0100457 <executions>
458 <execution>
459 <goals>
460 <goal>ajc</goal>
461 </goals>
462 </execution>
463 </executions>
464 </plugin>
465 <plugin>
466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-clean-plugin</artifactId>
468 <executions>
469 <execution>
470 <id>clean.catalog.fe.folder</id>
471 <phase>clean</phase>
472 <goals>
473 <goal>clean</goal>
474 </goals>
475 <configuration>
476 <filesets>
477 <!-- FE WAR's -->
478 <fileset>
479 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
480 <followSymlinks>false</followSymlinks>
481 <includes>
482 <include>*.war</include>
483 </includes>
484 </fileset>
485 </filesets>
486 </configuration>
487 </execution>
488 </executions>
489 </plugin>
490 <plugin>
491 <groupId>com.github.sylvainlaurent.maven</groupId>
492 <artifactId>yaml-json-validator-maven-plugin</artifactId>
493 <executions>
494 <execution>
495 <id>validate</id>
496 <phase>validate</phase>
497 <goals>
498 <goal>validate</goal>
499 </goals>
500 <configuration>
501 <validationSets>
502 <validationSet>
503 <includes>
504 <include>src/main/resources/**/*.y*ml</include>
505 <include>src/test/resources/**/*.y*ml</include>
506 </includes>
507 </validationSet>
508 <validationSet>
509 <includes>
510 <include>src/main/resources/**/*.json</include>
511 <include>src/test/resources/**/*.json</include>
512 </includes>
513 </validationSet>
514 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200515 <skip>${skipYamlJsonValidator}</skip>
vasraza36531c2020-04-29 18:39:35 +0100516 </configuration>
517 </execution>
518 </executions>
519 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200520
vasraza36531c2020-04-29 18:39:35 +0100521 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200522
vasraza36531c2020-04-29 18:39:35 +0100523 <pluginManagement>
524 <plugins>
525 <!--This plugin's configuration is used to store Eclipse m2e settings
526 only. It has no influence on the Maven build itself. -->
527 <plugin>
528 <groupId>org.eclipse.m2e</groupId>
529 <artifactId>lifecycle-mapping</artifactId>
530 <version>1.0.0</version>
531 <configuration>
532 <lifecycleMappingMetadata>
533 <pluginExecutions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300534
vasraza36531c2020-04-29 18:39:35 +0100535 <pluginExecution>
536 <pluginExecutionFilter>
537 <groupId>com.jcabi</groupId>
538 <artifactId>jcabi-maven-plugin</artifactId>
539 <versionRange>[0.0,)</versionRange>
540 <goals>
541 <goal>ajc</goal>
542 </goals>
543 </pluginExecutionFilter>
544 <action>
545 <execute/>
546 </action>
547 </pluginExecution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300548
vasraza36531c2020-04-29 18:39:35 +0100549 </pluginExecutions>
550 </lifecycleMappingMetadata>
551 </configuration>
552 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300553
vasraza36531c2020-04-29 18:39:35 +0100554 <!-- jacbi (log injection) -->
Michael Lando451a3402017-02-19 10:28:42 +0200555
vasraza36531c2020-04-29 18:39:35 +0100556 </plugins>
557 </pluginManagement>
Michael Landoed64b5e2017-06-09 03:19:04 +0300558
vasraza36531c2020-04-29 18:39:35 +0100559 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200560
vasraza36531c2020-04-29 18:39:35 +0100561 <profiles>
562 <profile>
563 <id>catalog</id>
564 <activation>
565 <activeByDefault>false</activeByDefault>
566 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200567
vasraza36531c2020-04-29 18:39:35 +0100568 <build>
569 <finalName>${project.artifactId}-${project.version}</finalName>
570 </build>
571 </profile>
572 <profile>
vasraza36531c2020-04-29 18:39:35 +0100573 <id>docker</id>
574 <activation>
575 <activeByDefault>false</activeByDefault>
576 </activation>
577 <properties>
578 <docker.username>docker</docker.username>
579 <docker.password>docker</docker.password>
580 </properties>
581 <build>
582 <plugins>
583 <plugin>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-resources-plugin</artifactId>
586 <executions>
587 <execution>
588 <id>copy-resources-fe</id>
589 <phase>verify</phase>
590 <goals>
591 <goal>copy-resources</goal>
592 </goals>
593 <configuration>
594 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
595 <resources>
596 <resource>
597 <directory>${project.parent.basedir}/catalog-fe/target</directory>
598 <includes>
599 <include>catalog-fe-${project.version}.war</include>
600 </includes>
601 </resource>
602 <resource>
603 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
604 <includes>
605 <include>onboarding-fe-${project.version}.war</include>
606 </includes>
607 </resource>
608 </resources>
609 </configuration>
610 </execution>
611 </executions>
612 </plugin>
613 <plugin>
614 <groupId>io.fabric8</groupId>
615 <artifactId>docker-maven-plugin</artifactId>
616 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200617 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200618 <apiVersion>${docker.api.version}</apiVersion>
vasraza36531c2020-04-29 18:39:35 +0100619 <registry>nexus3.onap.org:10001</registry>
620 <authConfig>
621 <pull>
622 <username>${docker.username}</username>
623 <password>${docker.password}</password>
624 </pull>
625 </authConfig>
626 <images>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200627
vasraza36531c2020-04-29 18:39:35 +0100628 <!-- Build frontend image -->
629 <image>
630 <name>onap/sdc-frontend</name>
631 <alias>sdc-frontend</alias>
632 <build>
633 <cleanup>try</cleanup>
634 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
635 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200636 <tag>latest</tag>
vasraza36531c2020-04-29 18:39:35 +0100637 <tag>
638 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
639 </tag>
vasrazc81c95b2021-05-31 23:08:39 +0100640 <tag>
641 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
642 </tag>
vasraza36531c2020-04-29 18:39:35 +0100643 </tags>
644 </build>
645 </image>
646 </images>
647 </configuration>
648 <executions>
649 <execution>
650 <id>clean-images</id>
651 <phase>pre-clean</phase>
652 <goals>
653 <goal>remove</goal>
654 </goals>
655 <configuration>
656 <removeAll>true</removeAll>
657 <image>onap/sdc-frontend</image>
658 </configuration>
659 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200660
vasraza36531c2020-04-29 18:39:35 +0100661 <execution>
662 <id>generate-images</id>
663 <phase>install</phase>
664 <goals>
665 <goal>build</goal>
666 </goals>
667 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200668
vasraza36531c2020-04-29 18:39:35 +0100669 <execution>
670 <id>push-images</id>
671 <phase>deploy</phase>
672 <goals>
673 <goal>push</goal>
674 </goals>
675 <configuration>
676 <image>onap/sdc-frontend</image>
677 </configuration>
678 </execution>
679 </executions>
680 </plugin>
681 </plugins>
682 </build>
683 </profile>
684 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200685</project>