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.1-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.codehaus.groovy</groupId>
81 <artifactId>groovy</artifactId>
82 <scope>compile</scope>
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>org.apache.commons</groupId>
101 <artifactId>commons-jci-core</artifactId>
102 <version>${commons-jci-core.version}</version>
103 <scope>compile</scope>
106 <groupId>commons-io</groupId>
107 <artifactId>commons-io</artifactId>
113 <groupId>com.google.code.gson</groupId>
114 <artifactId>gson</artifactId>
115 <version>${gson.version}</version>
116 <scope>compile</scope>
120 <groupId>org.glassfish.jersey.containers</groupId>
121 <artifactId>jersey-container-servlet</artifactId>
122 <version>${jersey-bom.version}</version>
123 <scope>compile</scope>
127 <groupId>org.glassfish.jersey.media</groupId>
128 <artifactId>jersey-media-multipart</artifactId>
129 <version>${jersey-bom.version}</version>
130 <scope>compile</scope>
134 <groupId>org.glassfish.jersey.media</groupId>
135 <artifactId>jersey-media-moxy</artifactId>
136 <version>${jersey-bom.version}</version>
137 <scope>compile</scope>
142 <groupId>org.glassfish.jersey.media</groupId>
143 <artifactId>jersey-media-json-jackson</artifactId>
144 <version>${jersey-bom.version}</version>
145 <scope>compile</scope>
148 <groupId>com.fasterxml.jackson.core</groupId>
149 <artifactId>jackson-core</artifactId>
152 <groupId>com.fasterxml.jackson.module</groupId>
153 <artifactId>jackson-module-jaxb-annotations</artifactId>
159 <groupId>org.glassfish.jersey.inject</groupId>
160 <artifactId>jersey-hk2</artifactId>
161 <version>${jersey-bom.version}</version>
165 <groupId>com.fasterxml.jackson.core</groupId>
166 <artifactId>jackson-core</artifactId>
167 <version>${jackson.version}</version>
168 <scope>compile</scope>
172 <groupId>com.fasterxml.jackson.core</groupId>
173 <artifactId>jackson-databind</artifactId>
174 <version>${jackson.version}</version>
177 <groupId>com.fasterxml.jackson.core</groupId>
178 <artifactId>jackson-core</artifactId>
184 <groupId>com.fasterxml.jackson.core</groupId>
185 <artifactId>jackson-annotations</artifactId>
186 <version>${jackson-annotations.version}</version>
187 <scope>compile</scope>
192 <groupId>org.apache.httpcomponents</groupId>
193 <artifactId>httpclient</artifactId>
194 <version>${httpclient.version}</version>
197 <groupId>org.apache.httpcomponents</groupId>
198 <artifactId>httpcore</artifactId>
204 <groupId>org.apache.httpcomponents</groupId>
205 <artifactId>httpcore</artifactId>
206 <version>${httpcore.version}</version>
207 <scope>compile</scope>
211 <groupId>org.apache.httpcomponents</groupId>
212 <artifactId>httpmime</artifactId>
213 <version>${httpclient.version}</version>
216 <groupId>org.apache.httpcomponents</groupId>
217 <artifactId>httpcore</artifactId>
223 <groupId>commons-logging</groupId>
224 <artifactId>commons-logging</artifactId>
225 <version>${commons-logging}</version>
226 <scope>compile</scope>
230 <groupId>commons-codec</groupId>
231 <artifactId>commons-codec</artifactId>
232 <version>${commons-codec}</version>
233 <scope>compile</scope>
235 <!-- http client END -->
237 <!-- JSON and YAML Parsing -->
239 <groupId>com.fasterxml.jackson.dataformat</groupId>
240 <artifactId>jackson-dataformat-yaml</artifactId>
241 <version>${jackson.version}</version>
242 <scope>compile</scope>
247 <groupId>org.eclipse.jetty</groupId>
248 <artifactId>jetty-proxy</artifactId>
249 <version>${jetty.version}</version>
250 <scope>compile</scope>
254 <groupId>org.eclipse.jetty</groupId>
255 <artifactId>jetty-servlets</artifactId>
256 <version>${jetty.version}</version>
257 <scope>compile</scope>
260 <groupId>org.eclipse.jetty</groupId>
261 <artifactId>jetty-http</artifactId>
266 <!-- Proxy servlet -->
268 <groupId>com.google.guava</groupId>
269 <artifactId>guava</artifactId>
270 <version>${guava.version}</version>
271 <scope>compile</scope>
276 <groupId>com.jcabi</groupId>
277 <artifactId>jcabi-aspects</artifactId>
278 <version>${jcabi.version}</version>
279 <scope>compile</scope>
282 <groupId>org.aspectj</groupId>
283 <artifactId>aspectjrt</artifactId>
284 <version>${aspectjrt.version}</version>
285 <scope>compile</scope>
289 <groupId>org.apache.commons</groupId>
290 <artifactId>commons-lang3</artifactId>
291 <version>${lang3.version}</version>
292 <scope>compile</scope>
296 <groupId>javax.xml.bind</groupId>
297 <artifactId>jaxb-api</artifactId>
298 <version>${jaxb-api.version}</version>
299 <scope>compile</scope>
302 <groupId>org.hibernate.validator</groupId>
303 <artifactId>hibernate-validator</artifactId>
304 <version>${hibernate.validator.version}</version>
307 <!-- Inserted for ECOMP Portal Integration -->
309 <groupId>org.owasp.esapi</groupId>
310 <artifactId>esapi</artifactId>
311 <version>${org.owasp.esapi.version}</version>
314 <groupId>log4j</groupId>
315 <artifactId>log4j</artifactId>
318 <groupId>commons-io</groupId>
319 <artifactId>commons-io</artifactId>
322 <groupId>commons-fileupload</groupId>
323 <artifactId>commons-fileupload</artifactId>
326 <groupId>org.apache.xmlgraphics</groupId>
327 <artifactId>xmlgraphics-commons</artifactId>
330 <groupId>xml-apis</groupId>
331 <artifactId>xml-apis-ext</artifactId>
334 <groupId>xml-apis</groupId>
335 <artifactId>xml-apis</artifactId>
338 <groupId>xerces</groupId>
339 <artifactId>xercesImpl</artifactId>
342 <groupId>net.sourceforge.nekohtml</groupId>
343 <artifactId>nekohtml</artifactId>
348 <groupId>org.onap.portal.sdk</groupId>
349 <artifactId>epsdk-fw</artifactId>
350 <version>${ecomp.version}</version>
351 <scope>compile</scope>
354 <groupId>com.att.nsa</groupId>
355 <artifactId>cambriaClient</artifactId>
358 <artifactId>slf4j-log4j12</artifactId>
359 <groupId>org.slf4j</groupId>
362 <artifactId>log4j</artifactId>
363 <groupId>log4j</groupId>
366 <groupId>javax.servlet</groupId>
367 <artifactId>javax.servlet-api</artifactId>
371 <!-- System metrics -->
373 <groupId>org.fusesource</groupId>
374 <artifactId>sigar</artifactId>
375 <version>${sigar.version}</version>
376 <scope>compile</scope>
379 <groupId>log4j</groupId>
380 <artifactId>log4j</artifactId>
387 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
388 <artifactId>jersey-test-framework-provider-bundle</artifactId>
389 <version>${jersey-bom.version}</version>
395 <groupId>com.google.code.bean-matchers</groupId>
396 <artifactId>bean-matchers</artifactId>
397 <version>${bean-matchers.version}</version>
402 <groupId>org.eclipse.jetty</groupId>
403 <artifactId>jetty-servlet</artifactId>
404 <version>${jetty.version}</version>
408 <groupId>org.eclipse.jetty</groupId>
409 <artifactId>jetty-security</artifactId>
415 <groupId>org.eclipse.jetty</groupId>
416 <artifactId>jetty-webapp</artifactId>
417 <version>${jetty.version}</version>
421 <groupId>org.eclipse.jetty</groupId>
422 <artifactId>jetty-http</artifactId>
423 <version>${jetty.version}</version>
426 <groupId>javax.ws.rs</groupId>
427 <artifactId>javax.ws.rs-api</artifactId>
428 <version>${ws.rs.version}</version>
429 <scope>compile</scope>
433 <groupId>javax.validation</groupId>
434 <artifactId>validation-api</artifactId>
435 <version>${javax.validation.version}</version>
441 <finalName>${project.artifactId}-${project.version}</finalName>
445 <groupId>org.apache.maven.plugins</groupId>
446 <artifactId>maven-war-plugin</artifactId>
450 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
456 <directory>src/main/resources</directory>
463 <groupId>org.eclipse.jetty</groupId>
464 <artifactId>jetty-maven-plugin</artifactId>
465 <version>${jetty.version}</version>
468 <contextPath>/</contextPath>
469 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
471 <war>${project.build.directory}/${project.build.finalName}.war</war>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-deploy-plugin</artifactId>
484 <!-- jcabi (log injection) -->
485 <groupId>com.jcabi</groupId>
486 <artifactId>jcabi-maven-plugin</artifactId>
487 <version>${jcabi.maven.plugin.version}</version>
490 <groupId>org.aspectj</groupId>
491 <artifactId>aspectjtools</artifactId>
492 <version>${aspectj.version}</version>
495 <groupId>org.aspectj</groupId>
496 <artifactId>aspectjweaver</artifactId>
497 <version>${aspectj.version}</version>
509 <groupId>org.apache.maven.plugins</groupId>
510 <artifactId>maven-clean-plugin</artifactId>
513 <id>clean.catalog.fe.folder</id>
522 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
523 <followSymlinks>false</followSymlinks>
525 <include>*.war</include>
534 <groupId>com.github.sylvainlaurent.maven</groupId>
535 <artifactId>yaml-json-validator-maven-plugin</artifactId>
539 <phase>validate</phase>
541 <goal>validate</goal>
547 <include>src/main/resources/**/*.y*ml</include>
548 <include>src/test/resources/**/*.y*ml</include>
553 <include>src/main/resources/**/*.json</include>
554 <include>src/test/resources/**/*.json</include>
558 <skip>${skipYamlJsonValidator}</skip>
568 <!--This plugin's configuration is used to store Eclipse m2e settings
569 only. It has no influence on the Maven build itself. -->
571 <groupId>org.eclipse.m2e</groupId>
572 <artifactId>lifecycle-mapping</artifactId>
573 <version>1.0.0</version>
575 <lifecycleMappingMetadata>
579 <pluginExecutionFilter>
580 <groupId>com.jcabi</groupId>
581 <artifactId>jcabi-maven-plugin</artifactId>
582 <versionRange>[0.0,)</versionRange>
586 </pluginExecutionFilter>
593 </lifecycleMappingMetadata>
604 <activeByDefault>false</activeByDefault>
608 <finalName>${project.artifactId}-${project.version}</finalName>
614 <activeByDefault>false</activeByDefault>
619 <groupId>org.apache.maven.plugins</groupId>
620 <artifactId>maven-resources-plugin</artifactId>
623 <id>copy-resources-fe</id>
624 <phase>verify</phase>
626 <goal>copy-resources</goal>
629 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
632 <directory>${project.parent.basedir}/catalog-fe/target</directory>
634 <include>catalog-fe-${project.version}.war</include>
638 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
640 <include>onboarding-fe-${project.version}.war</include>
649 <groupId>io.fabric8</groupId>
650 <artifactId>docker-maven-plugin</artifactId>
652 <verbose>${verbose}</verbose>
653 <apiVersion>${docker.api.version}</apiVersion>
654 <registry>${docker.registry}</registry>
657 <username>${docker.username}</username>
658 <password>${docker.password}</password>
663 <!-- Build frontend image -->
665 <name>${docker.namespace}/sdc-frontend</name>
666 <alias>sdc-frontend</alias>
668 <cleanup>try</cleanup>
669 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
673 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
676 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
685 <id>clean-images</id>
686 <phase>pre-clean</phase>
691 <removeAll>true</removeAll>
692 <image>${docker.namespace}/sdc-frontend</image>
697 <id>generate-images</id>
698 <phase>install</phase>
706 <phase>deploy</phase>
711 <image>${docker.namespace}/sdc-frontend</image>