1 <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">
5 <modelVersion>4.0.0</modelVersion>
6 <artifactId>catalog-fe</artifactId>
7 <packaging>war</packaging>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.13.2-SNAPSHOT</version>
17 <groupId>org.openecomp.sdc</groupId>
18 <artifactId>onboarding-fe</artifactId>
19 <version>${project.version}</version>
24 <groupId>org.projectlombok</groupId>
25 <artifactId>lombok</artifactId>
26 <version>${lombok.version}</version>
30 <groupId>org.functionaljava</groupId>
31 <artifactId>functionaljava</artifactId>
32 <version>${functionaljava.version}</version>
35 <groupId>org.onap.sdc.common</groupId>
36 <artifactId>onap-configuration-management-api</artifactId>
37 <version>${project.version}</version>
40 <groupId>org.eclipse.jetty</groupId>
41 <artifactId>jetty-server</artifactId>
42 <version>${jetty.version}</version>
43 <scope>compile</scope>
46 <groupId>org.eclipse.jetty</groupId>
47 <artifactId>jetty-http</artifactId>
50 <groupId>javax.servlet</groupId>
51 <artifactId>javax.servlet-api</artifactId>
56 <groupId>org.openecomp.sdc</groupId>
57 <artifactId>common-app-api</artifactId>
58 <version>${project.version}</version>
61 <groupId>org.apache.httpcomponents</groupId>
62 <artifactId>httpcore</artifactId>
65 <groupId>org.functionaljava</groupId>
66 <artifactId>functionaljava</artifactId>
71 <!-- File changes listener -->
73 <groupId>ch.qos.logback</groupId>
74 <artifactId>logback-classic</artifactId>
75 <version>${logback.version}</version>
76 <scope>compile</scope>
80 <groupId>org.apache.groovy</groupId>
81 <artifactId>groovy</artifactId>
82 <version>${groovy.version}</version>
86 <groupId>org.codehaus.janino</groupId>
87 <artifactId>janino</artifactId>
88 <version>${janino.version}</version>
89 <scope>compile</scope>
93 <groupId>org.yaml</groupId>
94 <artifactId>snakeyaml</artifactId>
95 <version>${snakeyaml.version}</version>
96 <scope>compile</scope>
100 <groupId>com.google.code.gson</groupId>
101 <artifactId>gson</artifactId>
102 <version>${gson.version}</version>
103 <scope>compile</scope>
107 <groupId>org.glassfish.jersey.containers</groupId>
108 <artifactId>jersey-container-servlet</artifactId>
109 <version>${jersey-bom.version}</version>
110 <scope>compile</scope>
114 <groupId>org.glassfish.jersey.media</groupId>
115 <artifactId>jersey-media-multipart</artifactId>
116 <version>${jersey-bom.version}</version>
117 <scope>compile</scope>
121 <groupId>org.glassfish.jersey.media</groupId>
122 <artifactId>jersey-media-moxy</artifactId>
123 <version>${jersey-bom.version}</version>
124 <scope>compile</scope>
129 <groupId>org.glassfish.jersey.media</groupId>
130 <artifactId>jersey-media-json-jackson</artifactId>
131 <version>${jersey-bom.version}</version>
132 <scope>compile</scope>
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-core</artifactId>
139 <groupId>com.fasterxml.jackson.module</groupId>
140 <artifactId>jackson-module-jaxb-annotations</artifactId>
146 <groupId>org.glassfish.jersey.inject</groupId>
147 <artifactId>jersey-hk2</artifactId>
148 <version>${jersey-bom.version}</version>
152 <groupId>com.fasterxml.jackson.core</groupId>
153 <artifactId>jackson-core</artifactId>
154 <version>${jackson.version}</version>
155 <scope>compile</scope>
159 <groupId>com.fasterxml.jackson.core</groupId>
160 <artifactId>jackson-databind</artifactId>
161 <version>${jackson.version}</version>
164 <groupId>com.fasterxml.jackson.core</groupId>
165 <artifactId>jackson-core</artifactId>
171 <groupId>com.fasterxml.jackson.core</groupId>
172 <artifactId>jackson-annotations</artifactId>
173 <version>${jackson-annotations.version}</version>
174 <scope>compile</scope>
179 <groupId>org.apache.httpcomponents.client5</groupId>
180 <artifactId>httpclient5</artifactId>
181 <version>${httpclient.version}</version>
184 <groupId>org.apache.httpcomponents</groupId>
185 <artifactId>httpcore</artifactId>
191 <groupId>org.apache.httpcomponents</groupId>
192 <artifactId>httpcore</artifactId>
193 <version>${httpcore.version}</version>
194 <scope>compile</scope>
198 <groupId>org.apache.httpcomponents</groupId>
199 <artifactId>httpmime</artifactId>
200 <version>${httpmime.version}</version>
203 <groupId>org.apache.httpcomponents</groupId>
204 <artifactId>httpcore</artifactId>
210 <groupId>commons-logging</groupId>
211 <artifactId>commons-logging</artifactId>
212 <version>${commons-logging}</version>
213 <scope>compile</scope>
217 <groupId>commons-codec</groupId>
218 <artifactId>commons-codec</artifactId>
219 <version>${commons-codec}</version>
220 <scope>compile</scope>
222 <!-- http client END -->
224 <!-- JSON and YAML Parsing -->
226 <groupId>com.fasterxml.jackson.dataformat</groupId>
227 <artifactId>jackson-dataformat-yaml</artifactId>
228 <version>${jackson.version}</version>
229 <scope>compile</scope>
234 <groupId>org.eclipse.jetty</groupId>
235 <artifactId>jetty-proxy</artifactId>
236 <version>${jetty.version}</version>
237 <scope>compile</scope>
241 <groupId>org.eclipse.jetty</groupId>
242 <artifactId>jetty-servlets</artifactId>
243 <version>${jetty.version}</version>
244 <scope>compile</scope>
247 <groupId>org.eclipse.jetty</groupId>
248 <artifactId>jetty-http</artifactId>
253 <!-- Proxy servlet -->
255 <groupId>com.google.guava</groupId>
256 <artifactId>guava</artifactId>
257 <version>${guava.version}</version>
258 <scope>compile</scope>
263 <groupId>com.jcabi</groupId>
264 <artifactId>jcabi-aspects</artifactId>
265 <version>${jcabi.version}</version>
266 <scope>compile</scope>
269 <groupId>org.aspectj</groupId>
270 <artifactId>aspectjrt</artifactId>
271 <version>${aspectjrt.version}</version>
272 <scope>compile</scope>
276 <groupId>org.apache.commons</groupId>
277 <artifactId>commons-lang3</artifactId>
278 <version>${lang3.version}</version>
279 <scope>compile</scope>
283 <groupId>javax.xml.bind</groupId>
284 <artifactId>jaxb-api</artifactId>
285 <version>${jaxb-api.version}</version>
286 <scope>compile</scope>
289 <groupId>org.hibernate.validator</groupId>
290 <artifactId>hibernate-validator</artifactId>
291 <version>${hibernate.validator.version}</version>
294 <!-- Inserted for ECOMP Portal Integration -->
296 <groupId>org.owasp.esapi</groupId>
297 <artifactId>esapi</artifactId>
298 <version>${org.owasp.esapi.version}</version>
301 <groupId>log4j</groupId>
302 <artifactId>log4j</artifactId>
305 <groupId>commons-io</groupId>
306 <artifactId>commons-io</artifactId>
309 <groupId>commons-fileupload</groupId>
310 <artifactId>commons-fileupload</artifactId>
313 <groupId>org.apache.xmlgraphics</groupId>
314 <artifactId>xmlgraphics-commons</artifactId>
317 <groupId>xml-apis</groupId>
318 <artifactId>xml-apis-ext</artifactId>
321 <groupId>xml-apis</groupId>
322 <artifactId>xml-apis</artifactId>
325 <groupId>xerces</groupId>
326 <artifactId>xercesImpl</artifactId>
329 <groupId>net.sourceforge.nekohtml</groupId>
330 <artifactId>nekohtml</artifactId>
335 <groupId>org.onap.portal.sdk</groupId>
336 <artifactId>epsdk-fw</artifactId>
337 <version>${ecomp.version}</version>
338 <scope>compile</scope>
341 <groupId>com.att.nsa</groupId>
342 <artifactId>cambriaClient</artifactId>
345 <artifactId>slf4j-log4j12</artifactId>
346 <groupId>org.slf4j</groupId>
349 <artifactId>log4j</artifactId>
350 <groupId>log4j</groupId>
353 <groupId>javax.servlet</groupId>
354 <artifactId>javax.servlet-api</artifactId>
357 <groupId>org.onap.aaf.authz</groupId>
358 <artifactId>aaf-cadi-aaf</artifactId>
361 <groupId>org.onap.aaf.authz</groupId>
362 <artifactId>aaf-cadi-client</artifactId>
365 <groupId>org.onap.aaf.authz</groupId>
366 <artifactId>aaf-cadi-core</artifactId>
370 <!-- System metrics -->
372 <groupId>org.fusesource</groupId>
373 <artifactId>sigar</artifactId>
374 <version>${sigar.version}</version>
375 <scope>compile</scope>
378 <groupId>log4j</groupId>
379 <artifactId>log4j</artifactId>
386 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
387 <artifactId>jersey-test-framework-provider-bundle</artifactId>
388 <version>${jersey-bom.version}</version>
393 <groupId>junit</groupId>
394 <artifactId>junit</artifactId>
400 <groupId>com.google.code.bean-matchers</groupId>
401 <artifactId>bean-matchers</artifactId>
402 <version>${bean-matchers.version}</version>
407 <groupId>org.eclipse.jetty</groupId>
408 <artifactId>jetty-servlet</artifactId>
409 <version>${jetty.version}</version>
413 <groupId>org.eclipse.jetty</groupId>
414 <artifactId>jetty-security</artifactId>
420 <groupId>org.eclipse.jetty</groupId>
421 <artifactId>jetty-webapp</artifactId>
422 <version>${jetty.version}</version>
426 <groupId>org.eclipse.jetty</groupId>
427 <artifactId>jetty-http</artifactId>
428 <version>${jetty.version}</version>
431 <groupId>jakarta.ws.rs</groupId>
432 <artifactId>jakarta.ws.rs-api</artifactId>
433 <version>${ws.rs.version}</version>
434 <scope>compile</scope>
438 <groupId>javax.validation</groupId>
439 <artifactId>validation-api</artifactId>
440 <version>${javax.validation.version}</version>
446 <finalName>${project.artifactId}-${project.version}</finalName>
450 <groupId>org.apache.maven.plugins</groupId>
451 <artifactId>maven-war-plugin</artifactId>
455 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
461 <directory>src/main/resources</directory>
468 <groupId>org.eclipse.jetty</groupId>
469 <artifactId>jetty-maven-plugin</artifactId>
470 <version>${jetty.version}</version>
473 <contextPath>/</contextPath>
474 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
476 <war>${project.build.directory}/${project.build.finalName}.war</war>
481 <groupId>org.apache.maven.plugins</groupId>
482 <artifactId>maven-deploy-plugin</artifactId>
489 <!-- jcabi (log injection) -->
490 <groupId>com.jcabi</groupId>
491 <artifactId>jcabi-maven-plugin</artifactId>
492 <version>${jcabi.maven.plugin.version}</version>
495 <groupId>org.aspectj</groupId>
496 <artifactId>aspectjtools</artifactId>
497 <version>${aspectj.version}</version>
500 <groupId>org.aspectj</groupId>
501 <artifactId>aspectjweaver</artifactId>
502 <version>${aspectj.version}</version>
514 <groupId>org.apache.maven.plugins</groupId>
515 <artifactId>maven-clean-plugin</artifactId>
518 <id>clean.catalog.fe.folder</id>
527 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
528 <followSymlinks>false</followSymlinks>
530 <include>*.war</include>
539 <groupId>com.github.sylvainlaurent.maven</groupId>
540 <artifactId>yaml-json-validator-maven-plugin</artifactId>
544 <phase>validate</phase>
546 <goal>validate</goal>
552 <include>src/main/resources/**/*.y*ml</include>
553 <include>src/test/resources/**/*.y*ml</include>
558 <include>src/main/resources/**/*.json</include>
559 <include>src/test/resources/**/*.json</include>
563 <skip>${skipYamlJsonValidator}</skip>
573 <!--This plugin's configuration is used to store Eclipse m2e settings
574 only. It has no influence on the Maven build itself. -->
576 <groupId>org.eclipse.m2e</groupId>
577 <artifactId>lifecycle-mapping</artifactId>
578 <version>1.0.0</version>
580 <lifecycleMappingMetadata>
584 <pluginExecutionFilter>
585 <groupId>com.jcabi</groupId>
586 <artifactId>jcabi-maven-plugin</artifactId>
587 <versionRange>[0.0,)</versionRange>
591 </pluginExecutionFilter>
598 </lifecycleMappingMetadata>
609 <activeByDefault>false</activeByDefault>
613 <finalName>${project.artifactId}-${project.version}</finalName>
619 <activeByDefault>false</activeByDefault>
624 <groupId>org.apache.maven.plugins</groupId>
625 <artifactId>maven-resources-plugin</artifactId>
628 <id>copy-resources-fe</id>
629 <phase>verify</phase>
631 <goal>copy-resources</goal>
634 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
637 <directory>${project.parent.basedir}/catalog-fe/target</directory>
639 <include>catalog-fe-${project.version}.war</include>
643 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
645 <include>onboarding-fe-${project.version}.war</include>
654 <groupId>io.fabric8</groupId>
655 <artifactId>docker-maven-plugin</artifactId>
657 <verbose>${verbose}</verbose>
658 <apiVersion>${docker.api.version}</apiVersion>
659 <registry>${docker.registry}</registry>
662 <username>${docker.username}</username>
663 <password>${docker.password}</password>
668 <!-- Build frontend image -->
670 <name>${docker.namespace}/sdc-frontend</name>
671 <alias>sdc-frontend</alias>
673 <cleanup>try</cleanup>
674 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
678 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
681 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
690 <id>clean-images</id>
691 <phase>pre-clean</phase>
696 <removeAll>true</removeAll>
697 <image>${docker.namespace}/sdc-frontend</image>
702 <id>generate-images</id>
703 <phase>install</phase>
711 <phase>deploy</phase>
716 <image>${docker.namespace}/sdc-frontend</image>