blob: 0b986244f8938f38b1fe0ca25465c0c059e1a4d8 [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>
vasrazb65fcbf2021-07-26 15:01:06 +0100287 <exclusion>
288 <groupId>org.apache.xmlgraphics</groupId>
289 <artifactId>xmlgraphics-commons</artifactId>
290 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100291 </exclusions>
292 </dependency>
293 <dependency>
294 <groupId>org.onap.portal.sdk</groupId>
295 <artifactId>epsdk-fw</artifactId>
296 <version>${ecomp.version}</version>
297 <scope>compile</scope>
298 <exclusions>
299 <exclusion>
300 <groupId>com.att.nsa</groupId>
301 <artifactId>cambriaClient</artifactId>
302 </exclusion>
303 <exclusion>
304 <artifactId>slf4j-log4j12</artifactId>
305 <groupId>org.slf4j</groupId>
306 </exclusion>
307 <exclusion>
308 <artifactId>log4j</artifactId>
309 <groupId>log4j</groupId>
310 </exclusion>
311 </exclusions>
312 </dependency>
313 <!-- System metrics -->
314 <dependency>
315 <groupId>org.fusesource</groupId>
316 <artifactId>sigar</artifactId>
317 <version>${sigar.version}</version>
318 <scope>compile</scope>
319 <exclusions>
320 <exclusion>
321 <groupId>log4j</groupId>
322 <artifactId>log4j</artifactId>
323 </exclusion>
324 </exclusions>
325 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200326
vasraza36531c2020-04-29 18:39:35 +0100327 <!-- TEST -->
328 <dependency>
329 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
330 <artifactId>jersey-test-framework-provider-bundle</artifactId>
331 <version>${jersey-bom.version}</version>
332 <type>pom</type>
333 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000334 <exclusions>
335 <exclusion>
336 <groupId>org.eclipse.jetty</groupId>
337 <artifactId>jetty-server</artifactId>
338 </exclusion>
339 <exclusion>
340 <groupId>org.eclipse.jetty</groupId>
341 <artifactId>jetty-continuation</artifactId>
342 </exclusion>
343 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100344 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200345
vasraza36531c2020-04-29 18:39:35 +0100346 <dependency>
347 <groupId>com.google.code.bean-matchers</groupId>
348 <artifactId>bean-matchers</artifactId>
349 <version>${bean-matchers.version}</version>
350 <scope>test</scope>
351 </dependency>
Tomasz Golabek0e727302019-06-04 15:31:47 +0200352
vasraza36531c2020-04-29 18:39:35 +0100353 <dependency>
354 <groupId>org.eclipse.jetty</groupId>
355 <artifactId>jetty-servlet</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-server</artifactId>
362 </exclusion>
vasrazc81c95b2021-05-31 23:08:39 +0100363 <exclusion>
364 <groupId>org.eclipse.jetty</groupId>
365 <artifactId>jetty-security</artifactId>
366 </exclusion>
vasraz086406a2021-02-22 09:50:07 +0000367 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100368 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200369
vasraza36531c2020-04-29 18:39:35 +0100370 <dependency>
371 <groupId>org.eclipse.jetty</groupId>
372 <artifactId>jetty-webapp</artifactId>
373 <version>${jetty.version}</version>
374 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000375 <exclusions>
376 <exclusion>
377 <groupId>org.eclipse.jetty</groupId>
378 <artifactId>jetty-servlet</artifactId>
379 </exclusion>
380 </exclusions>
381 </dependency>
382 <dependency>
383 <groupId>org.eclipse.jetty</groupId>
384 <artifactId>jetty-http</artifactId>
385 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100386 </dependency>
vasraz66af7c52021-07-20 23:22:45 +0100387 <dependency>
388 <groupId>javax.ws.rs</groupId>
389 <artifactId>javax.ws.rs-api</artifactId>
390 <version>${ws.rs.version}</version>
391 <scope>compile</scope>
392 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200393
vasraz66af7c52021-07-20 23:22:45 +0100394 <dependency>
395 <groupId>javax.validation</groupId>
396 <artifactId>validation-api</artifactId>
397 <version>${javax.validation.version}</version>
398 </dependency>
vasraza36531c2020-04-29 18:39:35 +0100399 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200400
vasraza36531c2020-04-29 18:39:35 +0100401 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200402
vasraza36531c2020-04-29 18:39:35 +0100403 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300404
vasraza36531c2020-04-29 18:39:35 +0100405 <plugins>
406 <plugin>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-war-plugin</artifactId>
409 <configuration>
410 <archive>
411 <manifest>
412 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
413 </manifest>
414 </archive>
Michael Landoed64b5e2017-06-09 03:19:04 +0300415
vasraza36531c2020-04-29 18:39:35 +0100416 <webResources>
417 <resource>
418 <directory>src/main/resources</directory>
419 </resource>
420 </webResources>
421 </configuration>
422 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200423
vasraza36531c2020-04-29 18:39:35 +0100424 <plugin>
425 <groupId>org.eclipse.jetty</groupId>
426 <artifactId>jetty-maven-plugin</artifactId>
427 <version>${jetty.version}</version>
428 <configuration>
429 <webApp>
430 <contextPath>/</contextPath>
431 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
432 </webApp>
433 <war>${project.build.directory}/${project.build.finalName}.war</war>
434 </configuration>
435 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200436
vasraza36531c2020-04-29 18:39:35 +0100437 <plugin>
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-deploy-plugin</artifactId>
440 <configuration>
441 <skip>true</skip>
442 </configuration>
443 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200444
vasraza36531c2020-04-29 18:39:35 +0100445 <plugin>
446 <groupId>com.jcabi</groupId>
447 <artifactId>jcabi-maven-plugin</artifactId>
448 <version>${jcabi.maven.plugin.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200449 <dependencies>
vasrazc81c95b2021-05-31 23:08:39 +0100450 <dependency>
451 <groupId>org.aspectj</groupId>
452 <artifactId>aspectjtools</artifactId>
vasraz7edf3d32021-08-18 13:54:08 +0100453 <version>${aspectj.version}</version>
vasrazc81c95b2021-05-31 23:08:39 +0100454 </dependency>
455 <dependency>
456 <groupId>org.aspectj</groupId>
457 <artifactId>aspectjweaver</artifactId>
vasraz7edf3d32021-08-18 13:54:08 +0100458 <version>${aspectj.version}</version>
vasrazc81c95b2021-05-31 23:08:39 +0100459 </dependency>
sebdet30670ac2020-08-04 14:16:00 +0200460 </dependencies>
vasraza36531c2020-04-29 18:39:35 +0100461 <executions>
462 <execution>
463 <goals>
464 <goal>ajc</goal>
465 </goals>
466 </execution>
467 </executions>
468 </plugin>
469 <plugin>
470 <groupId>org.apache.maven.plugins</groupId>
471 <artifactId>maven-clean-plugin</artifactId>
472 <executions>
473 <execution>
474 <id>clean.catalog.fe.folder</id>
475 <phase>clean</phase>
476 <goals>
477 <goal>clean</goal>
478 </goals>
479 <configuration>
480 <filesets>
481 <!-- FE WAR's -->
482 <fileset>
483 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
484 <followSymlinks>false</followSymlinks>
485 <includes>
486 <include>*.war</include>
487 </includes>
488 </fileset>
489 </filesets>
490 </configuration>
491 </execution>
492 </executions>
493 </plugin>
494 <plugin>
495 <groupId>com.github.sylvainlaurent.maven</groupId>
496 <artifactId>yaml-json-validator-maven-plugin</artifactId>
497 <executions>
498 <execution>
499 <id>validate</id>
500 <phase>validate</phase>
501 <goals>
502 <goal>validate</goal>
503 </goals>
504 <configuration>
505 <validationSets>
506 <validationSet>
507 <includes>
508 <include>src/main/resources/**/*.y*ml</include>
509 <include>src/test/resources/**/*.y*ml</include>
510 </includes>
511 </validationSet>
512 <validationSet>
513 <includes>
514 <include>src/main/resources/**/*.json</include>
515 <include>src/test/resources/**/*.json</include>
516 </includes>
517 </validationSet>
518 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200519 <skip>${skipYamlJsonValidator}</skip>
vasraza36531c2020-04-29 18:39:35 +0100520 </configuration>
521 </execution>
522 </executions>
523 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200524
vasraza36531c2020-04-29 18:39:35 +0100525 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200526
vasraza36531c2020-04-29 18:39:35 +0100527 <pluginManagement>
528 <plugins>
529 <!--This plugin's configuration is used to store Eclipse m2e settings
530 only. It has no influence on the Maven build itself. -->
531 <plugin>
532 <groupId>org.eclipse.m2e</groupId>
533 <artifactId>lifecycle-mapping</artifactId>
534 <version>1.0.0</version>
535 <configuration>
536 <lifecycleMappingMetadata>
537 <pluginExecutions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300538
vasraza36531c2020-04-29 18:39:35 +0100539 <pluginExecution>
540 <pluginExecutionFilter>
541 <groupId>com.jcabi</groupId>
542 <artifactId>jcabi-maven-plugin</artifactId>
543 <versionRange>[0.0,)</versionRange>
544 <goals>
545 <goal>ajc</goal>
546 </goals>
547 </pluginExecutionFilter>
548 <action>
549 <execute/>
550 </action>
551 </pluginExecution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300552
vasraza36531c2020-04-29 18:39:35 +0100553 </pluginExecutions>
554 </lifecycleMappingMetadata>
555 </configuration>
556 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300557
vasraza36531c2020-04-29 18:39:35 +0100558 <!-- jacbi (log injection) -->
Michael Lando451a3402017-02-19 10:28:42 +0200559
vasraza36531c2020-04-29 18:39:35 +0100560 </plugins>
561 </pluginManagement>
Michael Landoed64b5e2017-06-09 03:19:04 +0300562
vasraza36531c2020-04-29 18:39:35 +0100563 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200564
vasraza36531c2020-04-29 18:39:35 +0100565 <profiles>
566 <profile>
567 <id>catalog</id>
568 <activation>
569 <activeByDefault>false</activeByDefault>
570 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200571
vasraza36531c2020-04-29 18:39:35 +0100572 <build>
573 <finalName>${project.artifactId}-${project.version}</finalName>
574 </build>
575 </profile>
576 <profile>
vasraza36531c2020-04-29 18:39:35 +0100577 <id>docker</id>
578 <activation>
579 <activeByDefault>false</activeByDefault>
580 </activation>
581 <properties>
582 <docker.username>docker</docker.username>
583 <docker.password>docker</docker.password>
584 </properties>
585 <build>
586 <plugins>
587 <plugin>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-resources-plugin</artifactId>
590 <executions>
591 <execution>
592 <id>copy-resources-fe</id>
593 <phase>verify</phase>
594 <goals>
595 <goal>copy-resources</goal>
596 </goals>
597 <configuration>
598 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
599 <resources>
600 <resource>
601 <directory>${project.parent.basedir}/catalog-fe/target</directory>
602 <includes>
603 <include>catalog-fe-${project.version}.war</include>
604 </includes>
605 </resource>
606 <resource>
607 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
608 <includes>
609 <include>onboarding-fe-${project.version}.war</include>
610 </includes>
611 </resource>
612 </resources>
613 </configuration>
614 </execution>
615 </executions>
616 </plugin>
617 <plugin>
618 <groupId>io.fabric8</groupId>
619 <artifactId>docker-maven-plugin</artifactId>
620 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200621 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200622 <apiVersion>${docker.api.version}</apiVersion>
vasraza36531c2020-04-29 18:39:35 +0100623 <registry>nexus3.onap.org:10001</registry>
624 <authConfig>
625 <pull>
626 <username>${docker.username}</username>
627 <password>${docker.password}</password>
628 </pull>
629 </authConfig>
630 <images>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200631
vasraza36531c2020-04-29 18:39:35 +0100632 <!-- Build frontend image -->
633 <image>
634 <name>onap/sdc-frontend</name>
635 <alias>sdc-frontend</alias>
636 <build>
637 <cleanup>try</cleanup>
638 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
639 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200640 <tag>latest</tag>
vasraza36531c2020-04-29 18:39:35 +0100641 <tag>
642 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
643 </tag>
vasrazc81c95b2021-05-31 23:08:39 +0100644 <tag>
645 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
646 </tag>
vasraza36531c2020-04-29 18:39:35 +0100647 </tags>
648 </build>
649 </image>
650 </images>
651 </configuration>
652 <executions>
653 <execution>
654 <id>clean-images</id>
655 <phase>pre-clean</phase>
656 <goals>
657 <goal>remove</goal>
658 </goals>
659 <configuration>
660 <removeAll>true</removeAll>
661 <image>onap/sdc-frontend</image>
662 </configuration>
663 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200664
vasraza36531c2020-04-29 18:39:35 +0100665 <execution>
666 <id>generate-images</id>
667 <phase>install</phase>
668 <goals>
669 <goal>build</goal>
670 </goals>
671 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200672
vasraza36531c2020-04-29 18:39:35 +0100673 <execution>
674 <id>push-images</id>
675 <phase>deploy</phase>
676 <goals>
677 <goal>push</goal>
678 </goals>
679 <configuration>
680 <image>onap/sdc-frontend</image>
681 </configuration>
682 </execution>
683 </executions>
684 </plugin>
685 </plugins>
686 </build>
687 </profile>
688 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200689</project>