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.5-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-codec</groupId>
211 <artifactId>commons-codec</artifactId>
212 <version>${commons-codec}</version>
213 <scope>compile</scope>
215 <!-- http client END -->
217 <!-- JSON and YAML Parsing -->
219 <groupId>com.fasterxml.jackson.dataformat</groupId>
220 <artifactId>jackson-dataformat-yaml</artifactId>
221 <version>${jackson.version}</version>
222 <scope>compile</scope>
227 <groupId>org.eclipse.jetty</groupId>
228 <artifactId>jetty-proxy</artifactId>
229 <version>${jetty.version}</version>
230 <scope>compile</scope>
234 <groupId>org.eclipse.jetty</groupId>
235 <artifactId>jetty-servlets</artifactId>
236 <version>${jetty.version}</version>
237 <scope>compile</scope>
240 <groupId>org.eclipse.jetty</groupId>
241 <artifactId>jetty-http</artifactId>
246 <!-- Proxy servlet -->
248 <groupId>com.google.guava</groupId>
249 <artifactId>guava</artifactId>
250 <version>${guava.version}</version>
251 <scope>compile</scope>
256 <groupId>com.jcabi</groupId>
257 <artifactId>jcabi-aspects</artifactId>
258 <version>${jcabi.version}</version>
259 <scope>compile</scope>
262 <groupId>org.aspectj</groupId>
263 <artifactId>aspectjrt</artifactId>
264 <version>${aspectjrt.version}</version>
265 <scope>compile</scope>
269 <groupId>org.apache.commons</groupId>
270 <artifactId>commons-lang3</artifactId>
271 <version>${lang3.version}</version>
272 <scope>compile</scope>
276 <groupId>javax.xml.bind</groupId>
277 <artifactId>jaxb-api</artifactId>
278 <version>${jaxb-api.version}</version>
279 <scope>compile</scope>
282 <groupId>org.hibernate.validator</groupId>
283 <artifactId>hibernate-validator</artifactId>
284 <version>${hibernate.validator.version}</version>
287 <!-- Inserted for ECOMP Portal Integration -->
289 <groupId>org.owasp.esapi</groupId>
290 <artifactId>esapi</artifactId>
291 <version>${org.owasp.esapi.version}</version>
294 <groupId>log4j</groupId>
295 <artifactId>log4j</artifactId>
298 <groupId>commons-io</groupId>
299 <artifactId>commons-io</artifactId>
302 <groupId>commons-fileupload</groupId>
303 <artifactId>commons-fileupload</artifactId>
306 <groupId>org.apache.xmlgraphics</groupId>
307 <artifactId>xmlgraphics-commons</artifactId>
310 <groupId>xml-apis</groupId>
311 <artifactId>xml-apis-ext</artifactId>
314 <groupId>xml-apis</groupId>
315 <artifactId>xml-apis</artifactId>
318 <groupId>xerces</groupId>
319 <artifactId>xercesImpl</artifactId>
322 <groupId>net.sourceforge.nekohtml</groupId>
323 <artifactId>nekohtml</artifactId>
328 <groupId>org.onap.portal.sdk</groupId>
329 <artifactId>epsdk-fw</artifactId>
330 <version>${ecomp.version}</version>
331 <scope>compile</scope>
334 <groupId>com.att.nsa</groupId>
335 <artifactId>cambriaClient</artifactId>
338 <artifactId>slf4j-log4j12</artifactId>
339 <groupId>org.slf4j</groupId>
342 <artifactId>log4j</artifactId>
343 <groupId>log4j</groupId>
346 <groupId>javax.servlet</groupId>
347 <artifactId>javax.servlet-api</artifactId>
350 <groupId>org.onap.aaf.authz</groupId>
351 <artifactId>aaf-cadi-aaf</artifactId>
354 <groupId>org.onap.aaf.authz</groupId>
355 <artifactId>aaf-cadi-client</artifactId>
358 <groupId>org.onap.aaf.authz</groupId>
359 <artifactId>aaf-cadi-core</artifactId>
363 <!-- System metrics -->
365 <groupId>org.fusesource</groupId>
366 <artifactId>sigar</artifactId>
367 <version>${sigar.version}</version>
368 <scope>compile</scope>
371 <groupId>log4j</groupId>
372 <artifactId>log4j</artifactId>
379 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
380 <artifactId>jersey-test-framework-provider-bundle</artifactId>
381 <version>${jersey-bom.version}</version>
386 <groupId>junit</groupId>
387 <artifactId>junit</artifactId>
393 <groupId>com.google.code.bean-matchers</groupId>
394 <artifactId>bean-matchers</artifactId>
395 <version>${bean-matchers.version}</version>
400 <groupId>org.eclipse.jetty</groupId>
401 <artifactId>jetty-servlet</artifactId>
402 <version>${jetty.version}</version>
406 <groupId>org.eclipse.jetty</groupId>
407 <artifactId>jetty-security</artifactId>
413 <groupId>org.eclipse.jetty</groupId>
414 <artifactId>jetty-webapp</artifactId>
415 <version>${jetty.version}</version>
419 <groupId>org.eclipse.jetty</groupId>
420 <artifactId>jetty-http</artifactId>
421 <version>${jetty.version}</version>
424 <groupId>jakarta.ws.rs</groupId>
425 <artifactId>jakarta.ws.rs-api</artifactId>
426 <version>${ws.rs.version}</version>
427 <scope>compile</scope>
431 <groupId>javax.validation</groupId>
432 <artifactId>validation-api</artifactId>
433 <version>${javax.validation.version}</version>
439 <finalName>${project.artifactId}-${project.version}</finalName>
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-war-plugin</artifactId>
448 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
454 <directory>src/main/resources</directory>
461 <groupId>org.eclipse.jetty</groupId>
462 <artifactId>jetty-maven-plugin</artifactId>
463 <version>${jetty.version}</version>
466 <contextPath>/</contextPath>
467 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
469 <war>${project.build.directory}/${project.build.finalName}.war</war>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-deploy-plugin</artifactId>
482 <!-- jcabi (log injection) -->
483 <groupId>com.jcabi</groupId>
484 <artifactId>jcabi-maven-plugin</artifactId>
485 <version>${jcabi.maven.plugin.version}</version>
488 <groupId>org.aspectj</groupId>
489 <artifactId>aspectjtools</artifactId>
490 <version>${aspectj.version}</version>
493 <groupId>org.aspectj</groupId>
494 <artifactId>aspectjweaver</artifactId>
495 <version>${aspectj.version}</version>
507 <groupId>org.apache.maven.plugins</groupId>
508 <artifactId>maven-clean-plugin</artifactId>
511 <id>clean.catalog.fe.folder</id>
520 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
521 <followSymlinks>false</followSymlinks>
523 <include>*.war</include>
532 <groupId>com.github.sylvainlaurent.maven</groupId>
533 <artifactId>yaml-json-validator-maven-plugin</artifactId>
537 <phase>validate</phase>
539 <goal>validate</goal>
545 <include>src/main/resources/**/*.y*ml</include>
546 <include>src/test/resources/**/*.y*ml</include>
551 <include>src/main/resources/**/*.json</include>
552 <include>src/test/resources/**/*.json</include>
556 <skip>${skipYamlJsonValidator}</skip>
566 <!--This plugin's configuration is used to store Eclipse m2e settings
567 only. It has no influence on the Maven build itself. -->
569 <groupId>org.eclipse.m2e</groupId>
570 <artifactId>lifecycle-mapping</artifactId>
571 <version>1.0.0</version>
573 <lifecycleMappingMetadata>
577 <pluginExecutionFilter>
578 <groupId>com.jcabi</groupId>
579 <artifactId>jcabi-maven-plugin</artifactId>
580 <versionRange>[0.0,)</versionRange>
584 </pluginExecutionFilter>
591 </lifecycleMappingMetadata>
602 <activeByDefault>false</activeByDefault>
606 <finalName>${project.artifactId}-${project.version}</finalName>
612 <activeByDefault>false</activeByDefault>
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-resources-plugin</artifactId>
621 <id>copy-resources-fe</id>
622 <phase>verify</phase>
624 <goal>copy-resources</goal>
627 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
630 <directory>${project.parent.basedir}/catalog-fe/target</directory>
632 <include>catalog-fe-${project.version}.war</include>
636 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
638 <include>onboarding-fe-${project.version}.war</include>
647 <groupId>io.fabric8</groupId>
648 <artifactId>docker-maven-plugin</artifactId>
650 <verbose>${verbose}</verbose>
651 <apiVersion>${docker.api.version}</apiVersion>
652 <registry>${docker.registry}</registry>
655 <username>${docker.username}</username>
656 <password>${docker.password}</password>
661 <!-- Build frontend image -->
663 <name>${docker.namespace}/sdc-frontend</name>
664 <alias>sdc-frontend</alias>
666 <cleanup>try</cleanup>
667 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
671 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
674 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
683 <id>clean-images</id>
684 <phase>pre-clean</phase>
689 <removeAll>true</removeAll>
690 <image>${docker.namespace}/sdc-frontend</image>
695 <id>generate-images</id>
696 <phase>install</phase>
704 <phase>deploy</phase>
709 <image>${docker.namespace}/sdc-frontend</image>