blob: bc64e46dd5ff0818a62a98e35c7979a723f66383 [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>
MichaelMorris0560a3a2023-10-27 18:18:46 +010012 <version>1.13.6-SNAPSHOT</version>
vasraze9171112021-11-26 15:57:50 +000013 </parent>
14
15 <dependencies>
vasrazb92a8952023-07-03 12:38:48 +010016 <dependency>
17 <groupId>org.openecomp.sdc</groupId>
18 <artifactId>onboarding-fe</artifactId>
19 <version>${project.version}</version>
20 <type>war</type>
21 </dependency>
vasraze9171112021-11-26 15:57:50 +000022
23 <dependency>
24 <groupId>org.projectlombok</groupId>
25 <artifactId>lombok</artifactId>
26 <version>${lombok.version}</version>
27 </dependency>
28
29 <dependency>
30 <groupId>org.functionaljava</groupId>
31 <artifactId>functionaljava</artifactId>
32 <version>${functionaljava.version}</version>
vasraze9171112021-11-26 15:57:50 +000033 </dependency>
34 <dependency>
35 <groupId>org.onap.sdc.common</groupId>
36 <artifactId>onap-configuration-management-api</artifactId>
37 <version>${project.version}</version>
38 </dependency>
39 <dependency>
vasrazfc768c62022-10-14 10:51:11 +010040 <groupId>org.eclipse.jetty</groupId>
41 <artifactId>jetty-server</artifactId>
42 <version>${jetty.version}</version>
43 <scope>compile</scope>
44 <exclusions>
45 <exclusion>
46 <groupId>org.eclipse.jetty</groupId>
47 <artifactId>jetty-http</artifactId>
48 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +000049 <exclusion>
50 <groupId>javax.servlet</groupId>
51 <artifactId>javax.servlet-api</artifactId>
52 </exclusion>
vasrazfc768c62022-10-14 10:51:11 +010053 </exclusions>
54 </dependency>
55 <dependency>
vasraze9171112021-11-26 15:57:50 +000056 <groupId>org.openecomp.sdc</groupId>
57 <artifactId>common-app-api</artifactId>
58 <version>${project.version}</version>
vasraz987fc742021-11-29 17:42:02 +000059 <exclusions>
60 <exclusion>
61 <groupId>org.apache.httpcomponents</groupId>
62 <artifactId>httpcore</artifactId>
63 </exclusion>
vasraze4055452022-07-13 23:11:18 +010064 <exclusion>
65 <groupId>org.functionaljava</groupId>
66 <artifactId>functionaljava</artifactId>
67 </exclusion>
vasraz987fc742021-11-29 17:42:02 +000068 </exclusions>
vasraze9171112021-11-26 15:57:50 +000069 </dependency>
70
71 <!-- File changes listener -->
72 <dependency>
73 <groupId>ch.qos.logback</groupId>
74 <artifactId>logback-classic</artifactId>
75 <version>${logback.version}</version>
76 <scope>compile</scope>
77 </dependency>
78
79 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +010080 <groupId>org.apache.groovy</groupId>
vasraze9171112021-11-26 15:57:50 +000081 <artifactId>groovy</artifactId>
vasrazdfe98bd2023-07-05 22:22:43 +010082 <version>${groovy.version}</version>
vasraze9171112021-11-26 15:57:50 +000083 </dependency>
84
85 <dependency>
86 <groupId>org.codehaus.janino</groupId>
87 <artifactId>janino</artifactId>
88 <version>${janino.version}</version>
89 <scope>compile</scope>
90 </dependency>
91
92 <dependency>
93 <groupId>org.yaml</groupId>
94 <artifactId>snakeyaml</artifactId>
95 <version>${snakeyaml.version}</version>
96 <scope>compile</scope>
97 </dependency>
98
99 <dependency>
vasraze9171112021-11-26 15:57:50 +0000100 <groupId>com.google.code.gson</groupId>
101 <artifactId>gson</artifactId>
102 <version>${gson.version}</version>
103 <scope>compile</scope>
104 </dependency>
105
106 <dependency>
107 <groupId>org.glassfish.jersey.containers</groupId>
108 <artifactId>jersey-container-servlet</artifactId>
109 <version>${jersey-bom.version}</version>
110 <scope>compile</scope>
111 </dependency>
112
113 <dependency>
114 <groupId>org.glassfish.jersey.media</groupId>
115 <artifactId>jersey-media-multipart</artifactId>
116 <version>${jersey-bom.version}</version>
117 <scope>compile</scope>
118 </dependency>
119
120 <dependency>
121 <groupId>org.glassfish.jersey.media</groupId>
122 <artifactId>jersey-media-moxy</artifactId>
123 <version>${jersey-bom.version}</version>
124 <scope>compile</scope>
125 </dependency>
126
127
128 <dependency>
129 <groupId>org.glassfish.jersey.media</groupId>
130 <artifactId>jersey-media-json-jackson</artifactId>
131 <version>${jersey-bom.version}</version>
132 <scope>compile</scope>
vasrazaf63ad92023-06-01 18:37:12 +0100133 <exclusions>
134 <exclusion>
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-core</artifactId>
137 </exclusion>
138 <exclusion>
139 <groupId>com.fasterxml.jackson.module</groupId>
140 <artifactId>jackson-module-jaxb-annotations</artifactId>
141 </exclusion>
142 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000143 </dependency>
144
145 <dependency>
146 <groupId>org.glassfish.jersey.inject</groupId>
147 <artifactId>jersey-hk2</artifactId>
148 <version>${jersey-bom.version}</version>
149 </dependency>
150
151 <dependency>
152 <groupId>com.fasterxml.jackson.core</groupId>
153 <artifactId>jackson-core</artifactId>
154 <version>${jackson.version}</version>
155 <scope>compile</scope>
156 </dependency>
157
158 <dependency>
159 <groupId>com.fasterxml.jackson.core</groupId>
160 <artifactId>jackson-databind</artifactId>
161 <version>${jackson.version}</version>
162 <exclusions>
163 <exclusion>
164 <groupId>com.fasterxml.jackson.core</groupId>
165 <artifactId>jackson-core</artifactId>
166 </exclusion>
167 </exclusions>
168 </dependency>
169
170 <dependency>
171 <groupId>com.fasterxml.jackson.core</groupId>
172 <artifactId>jackson-annotations</artifactId>
173 <version>${jackson-annotations.version}</version>
174 <scope>compile</scope>
175 </dependency>
176
177 <!-- http client -->
178 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100179 <groupId>org.apache.httpcomponents.client5</groupId>
180 <artifactId>httpclient5</artifactId>
vasraze9171112021-11-26 15:57:50 +0000181 <version>${httpclient.version}</version>
vasraz987fc742021-11-29 17:42:02 +0000182 <exclusions>
183 <exclusion>
184 <groupId>org.apache.httpcomponents</groupId>
185 <artifactId>httpcore</artifactId>
186 </exclusion>
187 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000188 </dependency>
189
190 <dependency>
191 <groupId>org.apache.httpcomponents</groupId>
192 <artifactId>httpcore</artifactId>
193 <version>${httpcore.version}</version>
194 <scope>compile</scope>
195 </dependency>
196
197 <dependency>
198 <groupId>org.apache.httpcomponents</groupId>
199 <artifactId>httpmime</artifactId>
vasrazdfe98bd2023-07-05 22:22:43 +0100200 <version>${httpmime.version}</version>
vasraz987fc742021-11-29 17:42:02 +0000201 <exclusions>
202 <exclusion>
203 <groupId>org.apache.httpcomponents</groupId>
204 <artifactId>httpcore</artifactId>
205 </exclusion>
206 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000207 </dependency>
208
209 <dependency>
vasraze9171112021-11-26 15:57:50 +0000210 <groupId>commons-codec</groupId>
211 <artifactId>commons-codec</artifactId>
212 <version>${commons-codec}</version>
213 <scope>compile</scope>
214 </dependency>
215 <!-- http client END -->
216
vasraze9171112021-11-26 15:57:50 +0000217 <!-- JSON and YAML Parsing -->
218 <dependency>
219 <groupId>com.fasterxml.jackson.dataformat</groupId>
220 <artifactId>jackson-dataformat-yaml</artifactId>
221 <version>${jackson.version}</version>
222 <scope>compile</scope>
223 </dependency>
224
225 <!-- Jetty Proxy -->
226 <dependency>
227 <groupId>org.eclipse.jetty</groupId>
228 <artifactId>jetty-proxy</artifactId>
229 <version>${jetty.version}</version>
230 <scope>compile</scope>
vasraze9171112021-11-26 15:57:50 +0000231 </dependency>
232
233 <dependency>
234 <groupId>org.eclipse.jetty</groupId>
235 <artifactId>jetty-servlets</artifactId>
236 <version>${jetty.version}</version>
237 <scope>compile</scope>
238 <exclusions>
239 <exclusion>
240 <groupId>org.eclipse.jetty</groupId>
241 <artifactId>jetty-http</artifactId>
242 </exclusion>
243 </exclusions>
244 </dependency>
245
246 <!-- Proxy servlet -->
247 <dependency>
248 <groupId>com.google.guava</groupId>
249 <artifactId>guava</artifactId>
250 <version>${guava.version}</version>
251 <scope>compile</scope>
252 </dependency>
253
254 <!-- Aspects -->
255 <dependency>
256 <groupId>com.jcabi</groupId>
257 <artifactId>jcabi-aspects</artifactId>
258 <version>${jcabi.version}</version>
259 <scope>compile</scope>
260 </dependency>
261 <dependency>
262 <groupId>org.aspectj</groupId>
263 <artifactId>aspectjrt</artifactId>
264 <version>${aspectjrt.version}</version>
265 <scope>compile</scope>
266 </dependency>
267
268 <dependency>
269 <groupId>org.apache.commons</groupId>
270 <artifactId>commons-lang3</artifactId>
271 <version>${lang3.version}</version>
272 <scope>compile</scope>
273 </dependency>
274
275 <dependency>
276 <groupId>javax.xml.bind</groupId>
277 <artifactId>jaxb-api</artifactId>
278 <version>${jaxb-api.version}</version>
279 <scope>compile</scope>
280 </dependency>
281 <dependency>
282 <groupId>org.hibernate.validator</groupId>
283 <artifactId>hibernate-validator</artifactId>
284 <version>${hibernate.validator.version}</version>
285 </dependency>
286
287 <!-- Inserted for ECOMP Portal Integration -->
288 <dependency>
289 <groupId>org.owasp.esapi</groupId>
290 <artifactId>esapi</artifactId>
291 <version>${org.owasp.esapi.version}</version>
292 <exclusions>
293 <exclusion>
294 <groupId>log4j</groupId>
295 <artifactId>log4j</artifactId>
296 </exclusion>
297 <exclusion>
298 <groupId>commons-io</groupId>
299 <artifactId>commons-io</artifactId>
300 </exclusion>
301 <exclusion>
302 <groupId>commons-fileupload</groupId>
303 <artifactId>commons-fileupload</artifactId>
304 </exclusion>
305 <exclusion>
306 <groupId>org.apache.xmlgraphics</groupId>
307 <artifactId>xmlgraphics-commons</artifactId>
308 </exclusion>
309 <exclusion>
310 <groupId>xml-apis</groupId>
311 <artifactId>xml-apis-ext</artifactId>
312 </exclusion>
313 <exclusion>
314 <groupId>xml-apis</groupId>
315 <artifactId>xml-apis</artifactId>
316 </exclusion>
vasraz584dfd72022-03-03 11:38:39 +0000317 <exclusion>
318 <groupId>xerces</groupId>
319 <artifactId>xercesImpl</artifactId>
320 </exclusion>
vasraz47c04b22022-05-24 09:12:03 +0100321 <exclusion>
322 <groupId>net.sourceforge.nekohtml</groupId>
323 <artifactId>nekohtml</artifactId>
324 </exclusion>
vasraze9171112021-11-26 15:57:50 +0000325 </exclusions>
326 </dependency>
327 <dependency>
328 <groupId>org.onap.portal.sdk</groupId>
329 <artifactId>epsdk-fw</artifactId>
330 <version>${ecomp.version}</version>
331 <scope>compile</scope>
332 <exclusions>
333 <exclusion>
334 <groupId>com.att.nsa</groupId>
335 <artifactId>cambriaClient</artifactId>
336 </exclusion>
337 <exclusion>
338 <artifactId>slf4j-log4j12</artifactId>
339 <groupId>org.slf4j</groupId>
340 </exclusion>
341 <exclusion>
342 <artifactId>log4j</artifactId>
343 <groupId>log4j</groupId>
344 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +0000345 <exclusion>
346 <groupId>javax.servlet</groupId>
347 <artifactId>javax.servlet-api</artifactId>
348 </exclusion>
vasrazdfe98bd2023-07-05 22:22:43 +0100349 <exclusion>
350 <groupId>org.onap.aaf.authz</groupId>
351 <artifactId>aaf-cadi-aaf</artifactId>
352 </exclusion>
353 <exclusion>
354 <groupId>org.onap.aaf.authz</groupId>
355 <artifactId>aaf-cadi-client</artifactId>
356 </exclusion>
357 <exclusion>
358 <groupId>org.onap.aaf.authz</groupId>
359 <artifactId>aaf-cadi-core</artifactId>
360 </exclusion>
vasraze9171112021-11-26 15:57:50 +0000361 </exclusions>
362 </dependency>
363 <!-- System metrics -->
364 <dependency>
365 <groupId>org.fusesource</groupId>
366 <artifactId>sigar</artifactId>
367 <version>${sigar.version}</version>
368 <scope>compile</scope>
369 <exclusions>
370 <exclusion>
371 <groupId>log4j</groupId>
372 <artifactId>log4j</artifactId>
373 </exclusion>
374 </exclusions>
375 </dependency>
376
377 <!-- TEST -->
378 <dependency>
379 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
380 <artifactId>jersey-test-framework-provider-bundle</artifactId>
381 <version>${jersey-bom.version}</version>
382 <type>pom</type>
383 <scope>test</scope>
vasrazdfe98bd2023-07-05 22:22:43 +0100384 <exclusions>
385 <exclusion>
386 <groupId>junit</groupId>
387 <artifactId>junit</artifactId>
388 </exclusion>
389 </exclusions>
vasraze9171112021-11-26 15:57:50 +0000390 </dependency>
391
392 <dependency>
393 <groupId>com.google.code.bean-matchers</groupId>
394 <artifactId>bean-matchers</artifactId>
395 <version>${bean-matchers.version}</version>
396 <scope>test</scope>
397 </dependency>
398
399 <dependency>
400 <groupId>org.eclipse.jetty</groupId>
401 <artifactId>jetty-servlet</artifactId>
402 <version>${jetty.version}</version>
403 <scope>test</scope>
404 <exclusions>
405 <exclusion>
406 <groupId>org.eclipse.jetty</groupId>
vasraze9171112021-11-26 15:57:50 +0000407 <artifactId>jetty-security</artifactId>
408 </exclusion>
409 </exclusions>
410 </dependency>
411
412 <dependency>
413 <groupId>org.eclipse.jetty</groupId>
414 <artifactId>jetty-webapp</artifactId>
415 <version>${jetty.version}</version>
416 <scope>test</scope>
vasraze9171112021-11-26 15:57:50 +0000417 </dependency>
418 <dependency>
419 <groupId>org.eclipse.jetty</groupId>
420 <artifactId>jetty-http</artifactId>
421 <version>${jetty.version}</version>
422 </dependency>
423 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100424 <groupId>jakarta.ws.rs</groupId>
425 <artifactId>jakarta.ws.rs-api</artifactId>
vasraze9171112021-11-26 15:57:50 +0000426 <version>${ws.rs.version}</version>
427 <scope>compile</scope>
428 </dependency>
429
430 <dependency>
431 <groupId>javax.validation</groupId>
432 <artifactId>validation-api</artifactId>
433 <version>${javax.validation.version}</version>
434 </dependency>
435 </dependencies>
436
vasrazf0d4dd52021-11-15 12:27:54 +0000437 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200438
vasraza36531c2020-04-29 18:39:35 +0100439 <finalName>${project.artifactId}-${project.version}</finalName>
vasrazf0d4dd52021-11-15 12:27:54 +0000440
vasraza36531c2020-04-29 18:39:35 +0100441 <plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000442 <plugin>
vasraze9171112021-11-26 15:57:50 +0000443 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000444 <artifactId>maven-war-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100445 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000446 <archive>
447 <manifest>
448 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
449 </manifest>
450 </archive>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200451
vasrazf0d4dd52021-11-15 12:27:54 +0000452 <webResources>
453 <resource>
454 <directory>src/main/resources</directory>
455 </resource>
456 </webResources>
457 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000458 </plugin>
459
460 <plugin>
vasraze9171112021-11-26 15:57:50 +0000461 <groupId>org.eclipse.jetty</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000462 <artifactId>jetty-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000463 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100464 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000465 <webApp>
466 <contextPath>/</contextPath>
467 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
468 </webApp>
vasraze9171112021-11-26 15:57:50 +0000469 <war>${project.build.directory}/${project.build.finalName}.war</war>
vasraza36531c2020-04-29 18:39:35 +0100470 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000471 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200472
vasrazf0d4dd52021-11-15 12:27:54 +0000473 <plugin>
vasraze9171112021-11-26 15:57:50 +0000474 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000475 <artifactId>maven-deploy-plugin</artifactId>
vasraza36531c2020-04-29 18:39:35 +0100476 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000477 <skip>true</skip>
vasraza36531c2020-04-29 18:39:35 +0100478 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000479 </plugin>
480
481 <plugin>
vasraze9171112021-11-26 15:57:50 +0000482 <!-- jcabi (log injection) -->
483 <groupId>com.jcabi</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000484 <artifactId>jcabi-maven-plugin</artifactId>
vasraze9171112021-11-26 15:57:50 +0000485 <version>${jcabi.maven.plugin.version}</version>
vasrazf0d4dd52021-11-15 12:27:54 +0000486 <dependencies>
487 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000488 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000489 <artifactId>aspectjtools</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000490 <version>${aspectj.version}</version>
491 </dependency>
492 <dependency>
vasrazf0d4dd52021-11-15 12:27:54 +0000493 <groupId>org.aspectj</groupId>
vasraze9171112021-11-26 15:57:50 +0000494 <artifactId>aspectjweaver</artifactId>
vasrazf0d4dd52021-11-15 12:27:54 +0000495 <version>${aspectj.version}</version>
496 </dependency>
497 </dependencies>
498 <executions>
499 <execution>
500 <goals>
501 <goal>ajc</goal>
502 </goals>
503 </execution>
504 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000505 </plugin>
506 <plugin>
vasraze9171112021-11-26 15:57:50 +0000507 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000508 <artifactId>maven-clean-plugin</artifactId>
509 <executions>
510 <execution>
vasraze9171112021-11-26 15:57:50 +0000511 <id>clean.catalog.fe.folder</id>
512 <phase>clean</phase>
513 <goals>
514 <goal>clean</goal>
515 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000516 <configuration>
517 <filesets>
518 <!-- FE WAR's -->
519 <fileset>
vasraze9171112021-11-26 15:57:50 +0000520 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000521 <followSymlinks>false</followSymlinks>
522 <includes>
523 <include>*.war</include>
524 </includes>
525 </fileset>
526 </filesets>
527 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000528 </execution>
529 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000530 </plugin>
531 <plugin>
vasraze9171112021-11-26 15:57:50 +0000532 <groupId>com.github.sylvainlaurent.maven</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000533 <artifactId>yaml-json-validator-maven-plugin</artifactId>
534 <executions>
535 <execution>
vasraze9171112021-11-26 15:57:50 +0000536 <id>validate</id>
537 <phase>validate</phase>
538 <goals>
539 <goal>validate</goal>
540 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000541 <configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000542 <validationSets>
543 <validationSet>
544 <includes>
545 <include>src/main/resources/**/*.y*ml</include>
546 <include>src/test/resources/**/*.y*ml</include>
547 </includes>
548 </validationSet>
549 <validationSet>
550 <includes>
551 <include>src/main/resources/**/*.json</include>
552 <include>src/test/resources/**/*.json</include>
553 </includes>
554 </validationSet>
555 </validationSets>
vasraze9171112021-11-26 15:57:50 +0000556 <skip>${skipYamlJsonValidator}</skip>
vasrazf0d4dd52021-11-15 12:27:54 +0000557 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000558 </execution>
559 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000560 </plugin>
561
vasraza36531c2020-04-29 18:39:35 +0100562 </plugins>
vasrazf0d4dd52021-11-15 12:27:54 +0000563
vasraze9171112021-11-26 15:57:50 +0000564 <pluginManagement>
565 <plugins>
566 <!--This plugin's configuration is used to store Eclipse m2e settings
567 only. It has no influence on the Maven build itself. -->
568 <plugin>
569 <groupId>org.eclipse.m2e</groupId>
570 <artifactId>lifecycle-mapping</artifactId>
571 <version>1.0.0</version>
572 <configuration>
573 <lifecycleMappingMetadata>
574 <pluginExecutions>
575
576 <pluginExecution>
577 <pluginExecutionFilter>
578 <groupId>com.jcabi</groupId>
579 <artifactId>jcabi-maven-plugin</artifactId>
580 <versionRange>[0.0,)</versionRange>
581 <goals>
582 <goal>ajc</goal>
583 </goals>
584 </pluginExecutionFilter>
585 <action>
586 <execute/>
587 </action>
588 </pluginExecution>
589
590 </pluginExecutions>
591 </lifecycleMappingMetadata>
592 </configuration>
593 </plugin>
594 </plugins>
595 </pluginManagement>
vasrazf0d4dd52021-11-15 12:27:54 +0000596 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000597
598 <profiles>
599 <profile>
vasraze9171112021-11-26 15:57:50 +0000600 <id>catalog</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000601 <activation>
602 <activeByDefault>false</activeByDefault>
603 </activation>
vasraze9171112021-11-26 15:57:50 +0000604
vasrazf0d4dd52021-11-15 12:27:54 +0000605 <build>
606 <finalName>${project.artifactId}-${project.version}</finalName>
607 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000608 </profile>
609 <profile>
vasraze9171112021-11-26 15:57:50 +0000610 <id>docker</id>
vasrazf0d4dd52021-11-15 12:27:54 +0000611 <activation>
612 <activeByDefault>false</activeByDefault>
613 </activation>
614 <build>
615 <plugins>
616 <plugin>
vasraze9171112021-11-26 15:57:50 +0000617 <groupId>org.apache.maven.plugins</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000618 <artifactId>maven-resources-plugin</artifactId>
619 <executions>
620 <execution>
vasraze9171112021-11-26 15:57:50 +0000621 <id>copy-resources-fe</id>
622 <phase>verify</phase>
623 <goals>
624 <goal>copy-resources</goal>
625 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000626 <configuration>
627 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
628 <resources>
629 <resource>
vasraze9171112021-11-26 15:57:50 +0000630 <directory>${project.parent.basedir}/catalog-fe/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000631 <includes>
632 <include>catalog-fe-${project.version}.war</include>
633 </includes>
634 </resource>
635 <resource>
vasraze9171112021-11-26 15:57:50 +0000636 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
vasrazf0d4dd52021-11-15 12:27:54 +0000637 <includes>
vasraze9171112021-11-26 15:57:50 +0000638 <include>onboarding-fe-${project.version}.war</include>
vasrazf0d4dd52021-11-15 12:27:54 +0000639 </includes>
640 </resource>
641 </resources>
642 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000643 </execution>
644 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000645 </plugin>
646 <plugin>
vasraze9171112021-11-26 15:57:50 +0000647 <groupId>io.fabric8</groupId>
vasrazf0d4dd52021-11-15 12:27:54 +0000648 <artifactId>docker-maven-plugin</artifactId>
649 <configuration>
vasraze9171112021-11-26 15:57:50 +0000650 <verbose>${verbose}</verbose>
vasrazf0d4dd52021-11-15 12:27:54 +0000651 <apiVersion>${docker.api.version}</apiVersion>
vasraz8b1002a2021-12-08 22:12:52 +0000652 <registry>${docker.registry}</registry>
vasrazf0d4dd52021-11-15 12:27:54 +0000653 <authConfig>
654 <pull>
vasrazf0d4dd52021-11-15 12:27:54 +0000655 <username>${docker.username}</username>
vasraze9171112021-11-26 15:57:50 +0000656 <password>${docker.password}</password>
vasrazf0d4dd52021-11-15 12:27:54 +0000657 </pull>
658 </authConfig>
659 <images>
660
661 <!-- Build frontend image -->
662 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000663 <name>${docker.namespace}/sdc-frontend</name>
vasrazf0d4dd52021-11-15 12:27:54 +0000664 <alias>sdc-frontend</alias>
665 <build>
666 <cleanup>try</cleanup>
vasraze9171112021-11-26 15:57:50 +0000667 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
vasrazf0d4dd52021-11-15 12:27:54 +0000668 <tags>
669 <tag>latest</tag>
670 <tag>
671 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
672 </tag>
673 <tag>
674 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
675 </tag>
676 </tags>
677 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000678 </image>
679 </images>
vasrazf0d4dd52021-11-15 12:27:54 +0000680 </configuration>
681 <executions>
682 <execution>
vasraze9171112021-11-26 15:57:50 +0000683 <id>clean-images</id>
684 <phase>pre-clean</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000685 <goals>
686 <goal>remove</goal>
687 </goals>
vasraze9171112021-11-26 15:57:50 +0000688 <configuration>
689 <removeAll>true</removeAll>
vasraz8b1002a2021-12-08 22:12:52 +0000690 <image>${docker.namespace}/sdc-frontend</image>
vasraze9171112021-11-26 15:57:50 +0000691 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000692 </execution>
693
694 <execution>
vasraze9171112021-11-26 15:57:50 +0000695 <id>generate-images</id>
696 <phase>install</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000697 <goals>
698 <goal>build</goal>
699 </goals>
vasrazf0d4dd52021-11-15 12:27:54 +0000700 </execution>
701
702 <execution>
vasraze9171112021-11-26 15:57:50 +0000703 <id>push-images</id>
704 <phase>deploy</phase>
vasrazf0d4dd52021-11-15 12:27:54 +0000705 <goals>
706 <goal>push</goal>
707 </goals>
vasraze9171112021-11-26 15:57:50 +0000708 <configuration>
vasraz8b1002a2021-12-08 22:12:52 +0000709 <image>${docker.namespace}/sdc-frontend</image>
vasraze9171112021-11-26 15:57:50 +0000710 </configuration>
vasrazf0d4dd52021-11-15 12:27:54 +0000711 </execution>
712 </executions>
vasrazf0d4dd52021-11-15 12:27:54 +0000713 </plugin>
714 </plugins>
715 </build>
vasrazf0d4dd52021-11-15 12:27:54 +0000716 </profile>
717 </profiles>
vasraze9171112021-11-26 15:57:50 +0000718
Michael Lando451a3402017-02-19 10:28:42 +0200719</project>