blob: 36e623bb7b1e87936217e20e44de43a089d3ff8e [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>
Joanna Jeremicz1affa572020-11-30 11:35:07 +010012 <version>1.8.1-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>
Michael Landoed64b5e2017-06-09 03:19:04 +030029
vasraza36531c2020-04-29 18:39:35 +010030 <dependency>
31 <groupId>org.openecomp.sdc</groupId>
32 <artifactId>common-app-api</artifactId>
33 <version>${project.version}</version>
34 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020035
vasraza36531c2020-04-29 18:39:35 +010036 <!-- File changes listener -->
37 <dependency>
38 <groupId>ch.qos.logback</groupId>
39 <artifactId>logback-classic</artifactId>
40 <version>${logback.version}</version>
41 <scope>compile</scope>
42 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020043
vasraza36531c2020-04-29 18:39:35 +010044 <dependency>
45 <groupId>org.codehaus.groovy</groupId>
46 <artifactId>groovy</artifactId>
47 <scope>compile</scope>
48 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020049
vasraza36531c2020-04-29 18:39:35 +010050 <dependency>
51 <groupId>org.codehaus.janino</groupId>
52 <artifactId>janino</artifactId>
53 <version>${janino.version}</version>
54 <scope>compile</scope>
55 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020056
vasraza36531c2020-04-29 18:39:35 +010057 <dependency>
58 <groupId>org.yaml</groupId>
59 <artifactId>snakeyaml</artifactId>
60 <version>${snakeyaml.version}</version>
61 <scope>compile</scope>
62 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020063
vasraza36531c2020-04-29 18:39:35 +010064 <dependency>
65 <groupId>org.apache.commons</groupId>
66 <artifactId>commons-jci-core</artifactId>
67 <version>${commons-jci-core.version}</version>
68 <scope>compile</scope>
69 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020070
vasraza36531c2020-04-29 18:39:35 +010071 <dependency>
72 <groupId>com.google.code.gson</groupId>
73 <artifactId>gson</artifactId>
74 <version>${gson.version}</version>
75 <scope>compile</scope>
76 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020077
vasraza36531c2020-04-29 18:39:35 +010078 <dependency>
79 <groupId>org.glassfish.jersey.containers</groupId>
80 <artifactId>jersey-container-servlet</artifactId>
81 <version>${jersey-bom.version}</version>
82 <scope>compile</scope>
83 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020084
vasraza36531c2020-04-29 18:39:35 +010085 <dependency>
86 <groupId>org.glassfish.jersey.media</groupId>
87 <artifactId>jersey-media-multipart</artifactId>
88 <version>${jersey-bom.version}</version>
89 <scope>compile</scope>
90 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020091
vasraza36531c2020-04-29 18:39:35 +010092 <dependency>
93 <groupId>org.glassfish.jersey.media</groupId>
94 <artifactId>jersey-media-moxy</artifactId>
95 <version>${jersey-bom.version}</version>
96 <scope>compile</scope>
97 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020098
Michael Lando451a3402017-02-19 10:28:42 +020099
vasraza36531c2020-04-29 18:39:35 +0100100 <dependency>
101 <groupId>org.glassfish.jersey.media</groupId>
102 <artifactId>jersey-media-json-jackson</artifactId>
103 <version>${jersey-bom.version}</version>
104 <scope>compile</scope>
105 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200106
vasraza36531c2020-04-29 18:39:35 +0100107 <dependency>
108 <groupId>org.glassfish.jersey.inject</groupId>
109 <artifactId>jersey-hk2</artifactId>
110 <version>${jersey-bom.version}</version>
111 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200112
vasraza36531c2020-04-29 18:39:35 +0100113 <dependency>
114 <groupId>com.fasterxml.jackson.core</groupId>
115 <artifactId>jackson-core</artifactId>
116 <version>${jackson.version}</version>
117 <scope>compile</scope>
118 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200119
vasraza36531c2020-04-29 18:39:35 +0100120 <dependency>
121 <groupId>com.fasterxml.jackson.core</groupId>
122 <artifactId>jackson-databind</artifactId>
123 <version>${jackson.version}</version>
vasrazca685bb2020-06-11 17:05:29 +0100124 <exclusions>
125 <exclusion>
126 <groupId>com.fasterxml.jackson.core</groupId>
127 <artifactId>jackson-core</artifactId>
128 </exclusion>
129 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100130 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200131
vasraza36531c2020-04-29 18:39:35 +0100132 <dependency>
133 <groupId>com.fasterxml.jackson.core</groupId>
134 <artifactId>jackson-annotations</artifactId>
135 <version>${jackson-annotations.version}</version>
136 <scope>compile</scope>
137 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200138
vasraza36531c2020-04-29 18:39:35 +0100139 <!-- http client -->
140 <dependency>
141 <groupId>org.apache.httpcomponents</groupId>
142 <artifactId>httpclient</artifactId>
143 <version>${httpclient.version}</version>
144 <scope>compile</scope>
145 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200146
vasraza36531c2020-04-29 18:39:35 +0100147 <dependency>
148 <groupId>org.apache.httpcomponents</groupId>
149 <artifactId>httpcore</artifactId>
150 <version>${httpcore.version}</version>
151 <scope>compile</scope>
152 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200153
vasraza36531c2020-04-29 18:39:35 +0100154 <dependency>
155 <groupId>org.apache.httpcomponents</groupId>
156 <artifactId>httpmime</artifactId>
157 <version>${httpclient.version}</version>
158 <scope>compile</scope>
159 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200160
vasraza36531c2020-04-29 18:39:35 +0100161 <dependency>
162 <groupId>commons-logging</groupId>
163 <artifactId>commons-logging</artifactId>
164 <version>${commons-logging}</version>
165 <scope>compile</scope>
166 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200167
vasraza36531c2020-04-29 18:39:35 +0100168 <dependency>
169 <groupId>commons-codec</groupId>
170 <artifactId>commons-codec</artifactId>
171 <version>${commons-codec}</version>
172 <scope>compile</scope>
173 </dependency>
174 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200175
vasraza36531c2020-04-29 18:39:35 +0100176 <dependency>
177 <groupId>javax.servlet</groupId>
178 <artifactId>javax.servlet-api</artifactId>
179 <version>${servlet-api.version}</version>
180 <scope>provided</scope>
181 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200182
vasraza36531c2020-04-29 18:39:35 +0100183 <!-- JSON and YAML Parsing -->
184 <dependency>
185 <groupId>com.fasterxml.jackson.dataformat</groupId>
186 <artifactId>jackson-dataformat-yaml</artifactId>
187 <version>${jackson.version}</version>
188 <scope>compile</scope>
189 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200190
vasraza36531c2020-04-29 18:39:35 +0100191 <!-- Jetty Proxy -->
192 <dependency>
193 <groupId>org.eclipse.jetty</groupId>
194 <artifactId>jetty-proxy</artifactId>
195 <version>${jetty.version}</version>
196 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000197 <exclusions>
198 <exclusion>
199 <groupId>org.eclipse.jetty</groupId>
200 <artifactId>jetty-http</artifactId>
201 </exclusion>
202 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100203 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200204
vasraza36531c2020-04-29 18:39:35 +0100205 <dependency>
206 <groupId>org.eclipse.jetty</groupId>
207 <artifactId>jetty-servlets</artifactId>
208 <version>${jetty.version}</version>
209 <scope>compile</scope>
vasraz086406a2021-02-22 09:50:07 +0000210 <exclusions>
211 <exclusion>
212 <groupId>org.eclipse.jetty</groupId>
213 <artifactId>jetty-http</artifactId>
214 </exclusion>
215 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100216 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200217
vasraza36531c2020-04-29 18:39:35 +0100218 <!-- Proxy servlet -->
219 <dependency>
220 <groupId>com.google.guava</groupId>
221 <artifactId>guava</artifactId>
222 <version>${guava.version}</version>
223 <scope>compile</scope>
224 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200225
vasraza36531c2020-04-29 18:39:35 +0100226 <!-- Aspects -->
227 <dependency>
228 <groupId>com.jcabi</groupId>
229 <artifactId>jcabi-aspects</artifactId>
230 <version>${jcabi.version}</version>
231 <scope>compile</scope>
232 </dependency>
233 <dependency>
234 <groupId>org.aspectj</groupId>
235 <artifactId>aspectjrt</artifactId>
236 <version>${aspectjrt.version}</version>
237 <scope>compile</scope>
238 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200239
vasraza36531c2020-04-29 18:39:35 +0100240 <dependency>
241 <groupId>org.apache.commons</groupId>
242 <artifactId>commons-lang3</artifactId>
243 <version>${lang3.version}</version>
244 <scope>compile</scope>
245 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200246
sebdet30670ac2020-08-04 14:16:00 +0200247 <dependency>
248 <groupId>javax.xml.bind</groupId>
249 <artifactId>jaxb-api</artifactId>
250 <version>${jaxb-api.version}</version>
251 <scope>compile</scope>
252 </dependency>
253
254 <!-- Inserted for ECOMP Portal Integration -->
255 <dependency>
sebdeta9fffd22020-10-08 13:28:36 +0200256 <groupId>org.owasp.esapi</groupId>
257 <artifactId>esapi</artifactId>
258 <version>2.2.0.0</version>
vasraz7c259332021-01-20 21:20:28 +0000259 <exclusions>
260 <exclusion>
261 <groupId>log4j</groupId>
262 <artifactId>log4j</artifactId>
263 </exclusion>
264 </exclusions>
sebdeta9fffd22020-10-08 13:28:36 +0200265 </dependency>
266 <dependency>
sebdet30670ac2020-08-04 14:16:00 +0200267 <groupId>org.onap.portal.sdk</groupId>
268 <artifactId>epsdk-fw</artifactId>
269 <version>${ecomp.version}</version>
270 <scope>compile</scope>
271 <exclusions>
272 <exclusion>
273 <groupId>com.att.nsa</groupId>
274 <artifactId>cambriaClient</artifactId>
275 </exclusion>
276 <exclusion>
277 <artifactId>slf4j-log4j12</artifactId>
278 <groupId>org.slf4j</groupId>
279 </exclusion>
sebdeta9fffd22020-10-08 13:28:36 +0200280 <exclusion>
281 <artifactId>log4j</artifactId>
282 <groupId>log4j</groupId>
283 </exclusion>
sebdet30670ac2020-08-04 14:16:00 +0200284 </exclusions>
285 </dependency>
286 <!-- System metrics -->
287 <dependency>
288 <groupId>org.fusesource</groupId>
289 <artifactId>sigar</artifactId>
290 <version>${sigar.version}</version>
291 <scope>compile</scope>
sebdeta9fffd22020-10-08 13:28:36 +0200292 <exclusions>
293 <exclusion>
294 <groupId>log4j</groupId>
295 <artifactId>log4j</artifactId>
296 </exclusion>
297 </exclusions>
sebdet30670ac2020-08-04 14:16:00 +0200298 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200299
vasraza36531c2020-04-29 18:39:35 +0100300 <!-- TEST -->
301 <dependency>
302 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
303 <artifactId>jersey-test-framework-provider-bundle</artifactId>
304 <version>${jersey-bom.version}</version>
305 <type>pom</type>
306 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000307 <exclusions>
308 <exclusion>
309 <groupId>org.eclipse.jetty</groupId>
310 <artifactId>jetty-server</artifactId>
311 </exclusion>
312 <exclusion>
313 <groupId>org.eclipse.jetty</groupId>
314 <artifactId>jetty-continuation</artifactId>
315 </exclusion>
316 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100317 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200318
vasraza36531c2020-04-29 18:39:35 +0100319 <dependency>
320 <groupId>com.google.code.bean-matchers</groupId>
321 <artifactId>bean-matchers</artifactId>
322 <version>${bean-matchers.version}</version>
323 <scope>test</scope>
324 </dependency>
Tomasz Golabek0e727302019-06-04 15:31:47 +0200325
vasraza36531c2020-04-29 18:39:35 +0100326 <dependency>
327 <groupId>org.eclipse.jetty</groupId>
328 <artifactId>jetty-servlet</artifactId>
329 <version>${jetty.version}</version>
330 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000331 <exclusions>
332 <exclusion>
333 <groupId>org.eclipse.jetty</groupId>
334 <artifactId>jetty-server</artifactId>
335 </exclusion>
336 </exclusions>
vasraza36531c2020-04-29 18:39:35 +0100337 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200338
vasraza36531c2020-04-29 18:39:35 +0100339 <dependency>
340 <groupId>org.eclipse.jetty</groupId>
341 <artifactId>jetty-webapp</artifactId>
342 <version>${jetty.version}</version>
343 <scope>test</scope>
vasraz086406a2021-02-22 09:50:07 +0000344 <exclusions>
345 <exclusion>
346 <groupId>org.eclipse.jetty</groupId>
347 <artifactId>jetty-servlet</artifactId>
348 </exclusion>
349 </exclusions>
350 </dependency>
351 <dependency>
352 <groupId>org.eclipse.jetty</groupId>
353 <artifactId>jetty-http</artifactId>
354 <version>${jetty.version}</version>
vasraza36531c2020-04-29 18:39:35 +0100355 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200356
vasraza36531c2020-04-29 18:39:35 +0100357 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200358
vasraza36531c2020-04-29 18:39:35 +0100359 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200360
vasraza36531c2020-04-29 18:39:35 +0100361 <finalName>${project.artifactId}-${project.version}</finalName>
Michael Landoed64b5e2017-06-09 03:19:04 +0300362
vasraza36531c2020-04-29 18:39:35 +0100363 <plugins>
364 <plugin>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-war-plugin</artifactId>
367 <configuration>
368 <archive>
369 <manifest>
370 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
371 </manifest>
372 </archive>
Michael Landoed64b5e2017-06-09 03:19:04 +0300373
vasraza36531c2020-04-29 18:39:35 +0100374 <webResources>
375 <resource>
376 <directory>src/main/resources</directory>
377 </resource>
378 </webResources>
379 </configuration>
380 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200381
vasraza36531c2020-04-29 18:39:35 +0100382 <plugin>
383 <groupId>org.eclipse.jetty</groupId>
384 <artifactId>jetty-maven-plugin</artifactId>
385 <version>${jetty.version}</version>
386 <configuration>
387 <webApp>
388 <contextPath>/</contextPath>
389 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
390 </webApp>
391 <war>${project.build.directory}/${project.build.finalName}.war</war>
392 </configuration>
393 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200394
vasraza36531c2020-04-29 18:39:35 +0100395 <plugin>
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-deploy-plugin</artifactId>
398 <configuration>
399 <skip>true</skip>
400 </configuration>
401 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200402
vasraza36531c2020-04-29 18:39:35 +0100403 <plugin>
404 <groupId>com.jcabi</groupId>
405 <artifactId>jcabi-maven-plugin</artifactId>
406 <version>${jcabi.maven.plugin.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200407 <dependencies>
408 <dependency>
409 <groupId>org.aspectj</groupId>
410 <artifactId>aspectjtools</artifactId>
411 <version>1.9.2</version>
412 </dependency>
413 <dependency>
414 <groupId>org.aspectj</groupId>
415 <artifactId>aspectjweaver</artifactId>
416 <version>1.9.2</version>
417 </dependency>
418 </dependencies>
vasraza36531c2020-04-29 18:39:35 +0100419 <executions>
420 <execution>
421 <goals>
422 <goal>ajc</goal>
423 </goals>
424 </execution>
425 </executions>
426 </plugin>
427 <plugin>
428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-clean-plugin</artifactId>
430 <executions>
431 <execution>
432 <id>clean.catalog.fe.folder</id>
433 <phase>clean</phase>
434 <goals>
435 <goal>clean</goal>
436 </goals>
437 <configuration>
438 <filesets>
439 <!-- FE WAR's -->
440 <fileset>
441 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
442 <followSymlinks>false</followSymlinks>
443 <includes>
444 <include>*.war</include>
445 </includes>
446 </fileset>
447 </filesets>
448 </configuration>
449 </execution>
450 </executions>
451 </plugin>
452 <plugin>
453 <groupId>com.github.sylvainlaurent.maven</groupId>
454 <artifactId>yaml-json-validator-maven-plugin</artifactId>
455 <executions>
456 <execution>
457 <id>validate</id>
458 <phase>validate</phase>
459 <goals>
460 <goal>validate</goal>
461 </goals>
462 <configuration>
463 <validationSets>
464 <validationSet>
465 <includes>
466 <include>src/main/resources/**/*.y*ml</include>
467 <include>src/test/resources/**/*.y*ml</include>
468 </includes>
469 </validationSet>
470 <validationSet>
471 <includes>
472 <include>src/main/resources/**/*.json</include>
473 <include>src/test/resources/**/*.json</include>
474 </includes>
475 </validationSet>
476 </validationSets>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200477 <skip>${skipYamlJsonValidator}</skip>
vasraza36531c2020-04-29 18:39:35 +0100478 </configuration>
479 </execution>
480 </executions>
481 </plugin>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200482
vasraza36531c2020-04-29 18:39:35 +0100483 </plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200484
vasraza36531c2020-04-29 18:39:35 +0100485 <pluginManagement>
486 <plugins>
487 <!--This plugin's configuration is used to store Eclipse m2e settings
488 only. It has no influence on the Maven build itself. -->
489 <plugin>
490 <groupId>org.eclipse.m2e</groupId>
491 <artifactId>lifecycle-mapping</artifactId>
492 <version>1.0.0</version>
493 <configuration>
494 <lifecycleMappingMetadata>
495 <pluginExecutions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300496
vasraza36531c2020-04-29 18:39:35 +0100497 <pluginExecution>
498 <pluginExecutionFilter>
499 <groupId>com.jcabi</groupId>
500 <artifactId>jcabi-maven-plugin</artifactId>
501 <versionRange>[0.0,)</versionRange>
502 <goals>
503 <goal>ajc</goal>
504 </goals>
505 </pluginExecutionFilter>
506 <action>
507 <execute/>
508 </action>
509 </pluginExecution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300510
vasraza36531c2020-04-29 18:39:35 +0100511 </pluginExecutions>
512 </lifecycleMappingMetadata>
513 </configuration>
514 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300515
vasraza36531c2020-04-29 18:39:35 +0100516 <!-- jacbi (log injection) -->
Michael Lando451a3402017-02-19 10:28:42 +0200517
vasraza36531c2020-04-29 18:39:35 +0100518 </plugins>
519 </pluginManagement>
Michael Landoed64b5e2017-06-09 03:19:04 +0300520
vasraza36531c2020-04-29 18:39:35 +0100521 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200522
vasraza36531c2020-04-29 18:39:35 +0100523 <profiles>
524 <profile>
525 <id>catalog</id>
526 <activation>
527 <activeByDefault>false</activeByDefault>
528 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200529
vasraza36531c2020-04-29 18:39:35 +0100530 <build>
531 <finalName>${project.artifactId}-${project.version}</finalName>
532 </build>
533 </profile>
534 <profile>
vasraza36531c2020-04-29 18:39:35 +0100535 <id>docker</id>
536 <activation>
537 <activeByDefault>false</activeByDefault>
538 </activation>
539 <properties>
540 <docker.username>docker</docker.username>
541 <docker.password>docker</docker.password>
542 </properties>
543 <build>
544 <plugins>
545 <plugin>
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-resources-plugin</artifactId>
548 <executions>
549 <execution>
550 <id>copy-resources-fe</id>
551 <phase>verify</phase>
552 <goals>
553 <goal>copy-resources</goal>
554 </goals>
555 <configuration>
556 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
557 <resources>
558 <resource>
559 <directory>${project.parent.basedir}/catalog-fe/target</directory>
560 <includes>
561 <include>catalog-fe-${project.version}.war</include>
562 </includes>
563 </resource>
564 <resource>
565 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
566 <includes>
567 <include>onboarding-fe-${project.version}.war</include>
568 </includes>
569 </resource>
570 </resources>
571 </configuration>
572 </execution>
573 </executions>
574 </plugin>
575 <plugin>
576 <groupId>io.fabric8</groupId>
577 <artifactId>docker-maven-plugin</artifactId>
578 <configuration>
sebdet591810d2020-09-17 15:07:23 +0200579 <apiVersion>${docker.api.version}</apiVersion>
vasraza36531c2020-04-29 18:39:35 +0100580 <registry>nexus3.onap.org:10001</registry>
581 <authConfig>
582 <pull>
583 <username>${docker.username}</username>
584 <password>${docker.password}</password>
585 </pull>
586 </authConfig>
587 <images>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200588
vasraza36531c2020-04-29 18:39:35 +0100589 <!-- Build frontend image -->
590 <image>
591 <name>onap/sdc-frontend</name>
592 <alias>sdc-frontend</alias>
593 <build>
594 <cleanup>try</cleanup>
595 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
596 <tags>
sebdetb988cb62020-09-25 15:48:10 +0200597 <tag>latest</tag>
vasraza36531c2020-04-29 18:39:35 +0100598 <tag>
599 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
600 </tag>
sebdetb988cb62020-09-25 15:48:10 +0200601 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag>
vasraza36531c2020-04-29 18:39:35 +0100602 </tags>
603 </build>
604 </image>
605 </images>
606 </configuration>
607 <executions>
608 <execution>
609 <id>clean-images</id>
610 <phase>pre-clean</phase>
611 <goals>
612 <goal>remove</goal>
613 </goals>
614 <configuration>
615 <removeAll>true</removeAll>
616 <image>onap/sdc-frontend</image>
617 </configuration>
618 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200619
vasraza36531c2020-04-29 18:39:35 +0100620 <execution>
621 <id>generate-images</id>
622 <phase>install</phase>
623 <goals>
624 <goal>build</goal>
625 </goals>
626 </execution>
Yuli Shlosberg958c32d2018-02-15 12:04:46 +0200627
vasraza36531c2020-04-29 18:39:35 +0100628 <execution>
629 <id>push-images</id>
630 <phase>deploy</phase>
631 <goals>
632 <goal>push</goal>
633 </goals>
634 <configuration>
635 <image>onap/sdc-frontend</image>
636 </configuration>
637 </execution>
638 </executions>
639 </plugin>
640 </plugins>
641 </build>
642 </profile>
643 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200644</project>