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.11.2-SNAPSHOT</version>
18 <groupId>org.projectlombok</groupId>
19 <artifactId>lombok</artifactId>
20 <version>${lombok.version}</version>
24 <groupId>org.functionaljava</groupId>
25 <artifactId>functionaljava</artifactId>
26 <version>${functionaljava.version}</version>
27 <scope>compile</scope>
30 <groupId>org.onap.sdc.common</groupId>
31 <artifactId>onap-configuration-management-api</artifactId>
32 <version>${project.version}</version>
35 <groupId>org.openecomp.sdc</groupId>
36 <artifactId>common-app-api</artifactId>
37 <version>${project.version}</version>
40 <groupId>org.apache.httpcomponents</groupId>
41 <artifactId>httpcore</artifactId>
46 <!-- File changes listener -->
48 <groupId>ch.qos.logback</groupId>
49 <artifactId>logback-classic</artifactId>
50 <version>${logback.version}</version>
51 <scope>compile</scope>
55 <groupId>org.codehaus.groovy</groupId>
56 <artifactId>groovy</artifactId>
57 <scope>compile</scope>
61 <groupId>org.codehaus.janino</groupId>
62 <artifactId>janino</artifactId>
63 <version>${janino.version}</version>
64 <scope>compile</scope>
68 <groupId>org.yaml</groupId>
69 <artifactId>snakeyaml</artifactId>
70 <version>${snakeyaml.version}</version>
71 <scope>compile</scope>
75 <groupId>org.apache.commons</groupId>
76 <artifactId>commons-jci-core</artifactId>
77 <version>${commons-jci-core.version}</version>
78 <scope>compile</scope>
81 <groupId>commons-io</groupId>
82 <artifactId>commons-io</artifactId>
88 <groupId>com.google.code.gson</groupId>
89 <artifactId>gson</artifactId>
90 <version>${gson.version}</version>
91 <scope>compile</scope>
95 <groupId>org.glassfish.jersey.containers</groupId>
96 <artifactId>jersey-container-servlet</artifactId>
97 <version>${jersey-bom.version}</version>
98 <scope>compile</scope>
102 <groupId>org.glassfish.jersey.media</groupId>
103 <artifactId>jersey-media-multipart</artifactId>
104 <version>${jersey-bom.version}</version>
105 <scope>compile</scope>
109 <groupId>org.glassfish.jersey.media</groupId>
110 <artifactId>jersey-media-moxy</artifactId>
111 <version>${jersey-bom.version}</version>
112 <scope>compile</scope>
117 <groupId>org.glassfish.jersey.media</groupId>
118 <artifactId>jersey-media-json-jackson</artifactId>
119 <version>${jersey-bom.version}</version>
120 <scope>compile</scope>
124 <groupId>org.glassfish.jersey.inject</groupId>
125 <artifactId>jersey-hk2</artifactId>
126 <version>${jersey-bom.version}</version>
130 <groupId>com.fasterxml.jackson.core</groupId>
131 <artifactId>jackson-core</artifactId>
132 <version>${jackson.version}</version>
133 <scope>compile</scope>
137 <groupId>com.fasterxml.jackson.core</groupId>
138 <artifactId>jackson-databind</artifactId>
139 <version>${jackson.version}</version>
142 <groupId>com.fasterxml.jackson.core</groupId>
143 <artifactId>jackson-core</artifactId>
149 <groupId>com.fasterxml.jackson.core</groupId>
150 <artifactId>jackson-annotations</artifactId>
151 <version>${jackson-annotations.version}</version>
152 <scope>compile</scope>
157 <groupId>org.apache.httpcomponents</groupId>
158 <artifactId>httpclient</artifactId>
159 <version>${httpclient.version}</version>
162 <groupId>org.apache.httpcomponents</groupId>
163 <artifactId>httpcore</artifactId>
169 <groupId>org.apache.httpcomponents</groupId>
170 <artifactId>httpcore</artifactId>
171 <version>${httpcore.version}</version>
172 <scope>compile</scope>
176 <groupId>org.apache.httpcomponents</groupId>
177 <artifactId>httpmime</artifactId>
178 <version>${httpclient.version}</version>
181 <groupId>org.apache.httpcomponents</groupId>
182 <artifactId>httpcore</artifactId>
188 <groupId>commons-logging</groupId>
189 <artifactId>commons-logging</artifactId>
190 <version>${commons-logging}</version>
191 <scope>compile</scope>
195 <groupId>commons-codec</groupId>
196 <artifactId>commons-codec</artifactId>
197 <version>${commons-codec}</version>
198 <scope>compile</scope>
200 <!-- http client END -->
203 <groupId>javax.servlet</groupId>
204 <artifactId>javax.servlet-api</artifactId>
205 <version>${servlet-api.version}</version>
206 <scope>provided</scope>
209 <!-- JSON and YAML Parsing -->
211 <groupId>com.fasterxml.jackson.dataformat</groupId>
212 <artifactId>jackson-dataformat-yaml</artifactId>
213 <version>${jackson.version}</version>
214 <scope>compile</scope>
219 <groupId>org.eclipse.jetty</groupId>
220 <artifactId>jetty-proxy</artifactId>
221 <version>${jetty.version}</version>
222 <scope>compile</scope>
225 <groupId>org.eclipse.jetty</groupId>
226 <artifactId>jetty-http</artifactId>
232 <groupId>org.eclipse.jetty</groupId>
233 <artifactId>jetty-servlets</artifactId>
234 <version>${jetty.version}</version>
235 <scope>compile</scope>
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-http</artifactId>
244 <!-- Proxy servlet -->
246 <groupId>com.google.guava</groupId>
247 <artifactId>guava</artifactId>
248 <version>${guava.version}</version>
249 <scope>compile</scope>
254 <groupId>com.jcabi</groupId>
255 <artifactId>jcabi-aspects</artifactId>
256 <version>${jcabi.version}</version>
257 <scope>compile</scope>
260 <groupId>org.aspectj</groupId>
261 <artifactId>aspectjrt</artifactId>
262 <version>${aspectjrt.version}</version>
263 <scope>compile</scope>
267 <groupId>org.apache.commons</groupId>
268 <artifactId>commons-lang3</artifactId>
269 <version>${lang3.version}</version>
270 <scope>compile</scope>
274 <groupId>javax.xml.bind</groupId>
275 <artifactId>jaxb-api</artifactId>
276 <version>${jaxb-api.version}</version>
277 <scope>compile</scope>
280 <groupId>org.hibernate.validator</groupId>
281 <artifactId>hibernate-validator</artifactId>
282 <version>${hibernate.validator.version}</version>
285 <!-- Inserted for ECOMP Portal Integration -->
287 <groupId>org.owasp.esapi</groupId>
288 <artifactId>esapi</artifactId>
289 <version>${org.owasp.esapi.version}</version>
292 <groupId>log4j</groupId>
293 <artifactId>log4j</artifactId>
296 <groupId>commons-io</groupId>
297 <artifactId>commons-io</artifactId>
300 <groupId>commons-fileupload</groupId>
301 <artifactId>commons-fileupload</artifactId>
304 <groupId>org.apache.xmlgraphics</groupId>
305 <artifactId>xmlgraphics-commons</artifactId>
308 <groupId>xml-apis</groupId>
309 <artifactId>xml-apis-ext</artifactId>
312 <groupId>xml-apis</groupId>
313 <artifactId>xml-apis</artifactId>
316 <groupId>xerces</groupId>
317 <artifactId>xercesImpl</artifactId>
322 <groupId>org.onap.portal.sdk</groupId>
323 <artifactId>epsdk-fw</artifactId>
324 <version>${ecomp.version}</version>
325 <scope>compile</scope>
328 <groupId>com.att.nsa</groupId>
329 <artifactId>cambriaClient</artifactId>
332 <artifactId>slf4j-log4j12</artifactId>
333 <groupId>org.slf4j</groupId>
336 <artifactId>log4j</artifactId>
337 <groupId>log4j</groupId>
341 <!-- System metrics -->
343 <groupId>org.fusesource</groupId>
344 <artifactId>sigar</artifactId>
345 <version>${sigar.version}</version>
346 <scope>compile</scope>
349 <groupId>log4j</groupId>
350 <artifactId>log4j</artifactId>
357 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
358 <artifactId>jersey-test-framework-provider-bundle</artifactId>
359 <version>${jersey-bom.version}</version>
364 <groupId>org.eclipse.jetty</groupId>
365 <artifactId>jetty-server</artifactId>
368 <groupId>org.eclipse.jetty</groupId>
369 <artifactId>jetty-continuation</artifactId>
375 <groupId>com.google.code.bean-matchers</groupId>
376 <artifactId>bean-matchers</artifactId>
377 <version>${bean-matchers.version}</version>
382 <groupId>org.eclipse.jetty</groupId>
383 <artifactId>jetty-servlet</artifactId>
384 <version>${jetty.version}</version>
388 <groupId>org.eclipse.jetty</groupId>
389 <artifactId>jetty-server</artifactId>
392 <groupId>org.eclipse.jetty</groupId>
393 <artifactId>jetty-security</artifactId>
399 <groupId>org.eclipse.jetty</groupId>
400 <artifactId>jetty-webapp</artifactId>
401 <version>${jetty.version}</version>
405 <groupId>org.eclipse.jetty</groupId>
406 <artifactId>jetty-servlet</artifactId>
411 <groupId>org.eclipse.jetty</groupId>
412 <artifactId>jetty-http</artifactId>
413 <version>${jetty.version}</version>
416 <groupId>javax.ws.rs</groupId>
417 <artifactId>javax.ws.rs-api</artifactId>
418 <version>${ws.rs.version}</version>
419 <scope>compile</scope>
423 <groupId>javax.validation</groupId>
424 <artifactId>validation-api</artifactId>
425 <version>${javax.validation.version}</version>
431 <finalName>${project.artifactId}-${project.version}</finalName>
435 <groupId>org.apache.maven.plugins</groupId>
436 <artifactId>maven-war-plugin</artifactId>
440 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
446 <directory>src/main/resources</directory>
453 <groupId>org.eclipse.jetty</groupId>
454 <artifactId>jetty-maven-plugin</artifactId>
455 <version>${jetty.version}</version>
458 <contextPath>/</contextPath>
459 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
461 <war>${project.build.directory}/${project.build.finalName}.war</war>
466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-deploy-plugin</artifactId>
474 <!-- jcabi (log injection) -->
475 <groupId>com.jcabi</groupId>
476 <artifactId>jcabi-maven-plugin</artifactId>
477 <version>${jcabi.maven.plugin.version}</version>
480 <groupId>org.aspectj</groupId>
481 <artifactId>aspectjtools</artifactId>
482 <version>${aspectj.version}</version>
485 <groupId>org.aspectj</groupId>
486 <artifactId>aspectjweaver</artifactId>
487 <version>${aspectj.version}</version>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-clean-plugin</artifactId>
503 <id>clean.catalog.fe.folder</id>
512 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
513 <followSymlinks>false</followSymlinks>
515 <include>*.war</include>
524 <groupId>com.github.sylvainlaurent.maven</groupId>
525 <artifactId>yaml-json-validator-maven-plugin</artifactId>
529 <phase>validate</phase>
531 <goal>validate</goal>
537 <include>src/main/resources/**/*.y*ml</include>
538 <include>src/test/resources/**/*.y*ml</include>
543 <include>src/main/resources/**/*.json</include>
544 <include>src/test/resources/**/*.json</include>
548 <skip>${skipYamlJsonValidator}</skip>
558 <!--This plugin's configuration is used to store Eclipse m2e settings
559 only. It has no influence on the Maven build itself. -->
561 <groupId>org.eclipse.m2e</groupId>
562 <artifactId>lifecycle-mapping</artifactId>
563 <version>1.0.0</version>
565 <lifecycleMappingMetadata>
569 <pluginExecutionFilter>
570 <groupId>com.jcabi</groupId>
571 <artifactId>jcabi-maven-plugin</artifactId>
572 <versionRange>[0.0,)</versionRange>
576 </pluginExecutionFilter>
583 </lifecycleMappingMetadata>
594 <activeByDefault>false</activeByDefault>
598 <finalName>${project.artifactId}-${project.version}</finalName>
604 <activeByDefault>false</activeByDefault>
609 <groupId>org.apache.maven.plugins</groupId>
610 <artifactId>maven-resources-plugin</artifactId>
613 <id>copy-resources-fe</id>
614 <phase>verify</phase>
616 <goal>copy-resources</goal>
619 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
622 <directory>${project.parent.basedir}/catalog-fe/target</directory>
624 <include>catalog-fe-${project.version}.war</include>
628 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
630 <include>onboarding-fe-${project.version}.war</include>
639 <groupId>io.fabric8</groupId>
640 <artifactId>docker-maven-plugin</artifactId>
642 <verbose>${verbose}</verbose>
643 <apiVersion>${docker.api.version}</apiVersion>
644 <registry>${docker.registry}</registry>
647 <username>${docker.username}</username>
648 <password>${docker.password}</password>
653 <!-- Build frontend image -->
655 <name>${docker.namespace}/sdc-frontend</name>
656 <alias>sdc-frontend</alias>
658 <cleanup>try</cleanup>
659 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
663 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
666 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
675 <id>clean-images</id>
676 <phase>pre-clean</phase>
681 <removeAll>true</removeAll>
682 <image>${docker.namespace}/sdc-frontend</image>
687 <id>generate-images</id>
688 <phase>install</phase>
696 <phase>deploy</phase>
701 <image>${docker.namespace}/sdc-frontend</image>