1 <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">
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.7.1-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>
31 <groupId>org.openecomp.sdc</groupId>
32 <artifactId>common-app-api</artifactId>
33 <version>${project.version}</version>
36 <!-- File changes listener -->
38 <groupId>ch.qos.logback</groupId>
39 <artifactId>logback-classic</artifactId>
40 <version>${logback.version}</version>
41 <scope>compile</scope>
45 <groupId>org.codehaus.groovy</groupId>
46 <artifactId>groovy</artifactId>
47 <scope>compile</scope>
51 <groupId>org.codehaus.janino</groupId>
52 <artifactId>janino</artifactId>
53 <version>${janino.version}</version>
54 <scope>compile</scope>
58 <groupId>org.yaml</groupId>
59 <artifactId>snakeyaml</artifactId>
60 <version>${snakeyaml.version}</version>
61 <scope>compile</scope>
65 <groupId>org.apache.commons</groupId>
66 <artifactId>commons-jci-core</artifactId>
67 <version>${commons-jci-core.version}</version>
68 <scope>compile</scope>
72 <groupId>com.google.code.gson</groupId>
73 <artifactId>gson</artifactId>
74 <version>${gson.version}</version>
75 <scope>compile</scope>
79 <groupId>org.glassfish.jersey.containers</groupId>
80 <artifactId>jersey-container-servlet</artifactId>
81 <version>${jersey-bom.version}</version>
82 <scope>compile</scope>
86 <groupId>org.glassfish.jersey.media</groupId>
87 <artifactId>jersey-media-multipart</artifactId>
88 <version>${jersey-bom.version}</version>
89 <scope>compile</scope>
93 <groupId>org.glassfish.jersey.media</groupId>
94 <artifactId>jersey-media-moxy</artifactId>
95 <version>${jersey-bom.version}</version>
96 <scope>compile</scope>
101 <groupId>org.glassfish.jersey.media</groupId>
102 <artifactId>jersey-media-json-jackson</artifactId>
103 <version>${jersey-bom.version}</version>
104 <scope>compile</scope>
108 <groupId>org.glassfish.jersey.inject</groupId>
109 <artifactId>jersey-hk2</artifactId>
110 <version>${jersey-bom.version}</version>
114 <groupId>com.fasterxml.jackson.core</groupId>
115 <artifactId>jackson-core</artifactId>
116 <version>${jackson.version}</version>
117 <scope>compile</scope>
121 <groupId>com.fasterxml.jackson.core</groupId>
122 <artifactId>jackson-databind</artifactId>
123 <version>${jackson.version}</version>
126 <groupId>com.fasterxml.jackson.core</groupId>
127 <artifactId>jackson-core</artifactId>
133 <groupId>com.fasterxml.jackson.core</groupId>
134 <artifactId>jackson-annotations</artifactId>
135 <version>${jackson-annotations.version}</version>
136 <scope>compile</scope>
141 <groupId>org.apache.httpcomponents</groupId>
142 <artifactId>httpclient</artifactId>
143 <version>${httpclient.version}</version>
144 <scope>compile</scope>
148 <groupId>org.apache.httpcomponents</groupId>
149 <artifactId>httpcore</artifactId>
150 <version>${httpcore.version}</version>
151 <scope>compile</scope>
155 <groupId>org.apache.httpcomponents</groupId>
156 <artifactId>httpmime</artifactId>
157 <version>${httpclient.version}</version>
158 <scope>compile</scope>
162 <groupId>commons-logging</groupId>
163 <artifactId>commons-logging</artifactId>
164 <version>${commons-logging}</version>
165 <scope>compile</scope>
169 <groupId>commons-codec</groupId>
170 <artifactId>commons-codec</artifactId>
171 <version>${commons-codec}</version>
172 <scope>compile</scope>
174 <!-- http client END -->
177 <groupId>javax.servlet</groupId>
178 <artifactId>javax.servlet-api</artifactId>
179 <version>${servlet-api.version}</version>
180 <scope>provided</scope>
183 <!-- JSON and YAML Parsing -->
185 <groupId>com.fasterxml.jackson.dataformat</groupId>
186 <artifactId>jackson-dataformat-yaml</artifactId>
187 <version>${jackson.version}</version>
188 <scope>compile</scope>
193 <groupId>org.eclipse.jetty</groupId>
194 <artifactId>jetty-proxy</artifactId>
195 <version>${jetty.version}</version>
196 <scope>compile</scope>
200 <groupId>org.eclipse.jetty</groupId>
201 <artifactId>jetty-servlets</artifactId>
202 <version>${jetty.version}</version>
203 <scope>compile</scope>
206 <!-- Proxy servlet -->
208 <groupId>com.google.guava</groupId>
209 <artifactId>guava</artifactId>
210 <version>${guava.version}</version>
211 <scope>compile</scope>
216 <groupId>com.jcabi</groupId>
217 <artifactId>jcabi-aspects</artifactId>
218 <version>${jcabi.version}</version>
219 <scope>compile</scope>
222 <groupId>org.aspectj</groupId>
223 <artifactId>aspectjrt</artifactId>
224 <version>${aspectjrt.version}</version>
225 <scope>compile</scope>
229 <groupId>org.apache.commons</groupId>
230 <artifactId>commons-lang3</artifactId>
231 <version>${lang3.version}</version>
232 <scope>compile</scope>
235 <!-- Inserted for ECOMP Portal Integration -->
237 <groupId>org.onap.portal.sdk</groupId>
238 <artifactId>epsdk-fw</artifactId>
239 <version>${ecomp.version}</version>
240 <scope>compile</scope>
243 <groupId>com.att.nsa</groupId>
244 <artifactId>cambriaClient</artifactId>
247 <artifactId>slf4j-log4j12</artifactId>
248 <groupId>org.slf4j</groupId>
252 <!-- System metrics -->
254 <groupId>org.fusesource</groupId>
255 <artifactId>sigar</artifactId>
256 <version>${sigar.version}</version>
257 <scope>compile</scope>
262 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
263 <artifactId>jersey-test-framework-provider-bundle</artifactId>
264 <version>${jersey-bom.version}</version>
270 <groupId>com.google.code.bean-matchers</groupId>
271 <artifactId>bean-matchers</artifactId>
272 <version>${bean-matchers.version}</version>
277 <groupId>org.eclipse.jetty</groupId>
278 <artifactId>jetty-servlet</artifactId>
279 <version>${jetty.version}</version>
284 <groupId>org.eclipse.jetty</groupId>
285 <artifactId>jetty-webapp</artifactId>
286 <version>${jetty.version}</version>
294 <finalName>${project.artifactId}-${project.version}</finalName>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-war-plugin</artifactId>
303 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
309 <directory>src/main/resources</directory>
316 <groupId>org.eclipse.jetty</groupId>
317 <artifactId>jetty-maven-plugin</artifactId>
318 <version>${jetty.version}</version>
321 <contextPath>/</contextPath>
322 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
324 <war>${project.build.directory}/${project.build.finalName}.war</war>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-deploy-plugin</artifactId>
337 <groupId>com.jcabi</groupId>
338 <artifactId>jcabi-maven-plugin</artifactId>
339 <version>${jcabi.maven.plugin.version}</version>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-clean-plugin</artifactId>
353 <id>clean.catalog.fe.folder</id>
362 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
363 <followSymlinks>false</followSymlinks>
365 <include>*.war</include>
374 <groupId>com.github.sylvainlaurent.maven</groupId>
375 <artifactId>yaml-json-validator-maven-plugin</artifactId>
379 <phase>validate</phase>
381 <goal>validate</goal>
387 <include>src/main/resources/**/*.y*ml</include>
388 <include>src/test/resources/**/*.y*ml</include>
393 <include>src/main/resources/**/*.json</include>
394 <include>src/test/resources/**/*.json</include>
398 <skip>${skipYamlJsonValidator}</skip>
408 <!--This plugin's configuration is used to store Eclipse m2e settings
409 only. It has no influence on the Maven build itself. -->
411 <groupId>org.eclipse.m2e</groupId>
412 <artifactId>lifecycle-mapping</artifactId>
413 <version>1.0.0</version>
415 <lifecycleMappingMetadata>
419 <pluginExecutionFilter>
420 <groupId>com.jcabi</groupId>
421 <artifactId>jcabi-maven-plugin</artifactId>
422 <versionRange>[0.0,)</versionRange>
426 </pluginExecutionFilter>
433 </lifecycleMappingMetadata>
437 <!-- jacbi (log injection) -->
448 <activeByDefault>false</activeByDefault>
452 <finalName>${project.artifactId}-${project.version}</finalName>
456 <id>docker-staging</id>
458 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
459 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
466 <activeByDefault>false</activeByDefault>
469 <docker.username>docker</docker.username>
470 <docker.password>docker</docker.password>
475 <groupId>org.apache.maven.plugins</groupId>
476 <artifactId>maven-resources-plugin</artifactId>
479 <id>copy-resources-fe</id>
480 <phase>verify</phase>
482 <goal>copy-resources</goal>
485 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
488 <directory>${project.parent.basedir}/catalog-fe/target</directory>
490 <include>catalog-fe-${project.version}.war</include>
494 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
496 <include>onboarding-fe-${project.version}.war</include>
505 <groupId>io.fabric8</groupId>
506 <artifactId>docker-maven-plugin</artifactId>
508 <apiVersion>1.23</apiVersion>
509 <registry>nexus3.onap.org:10001</registry>
512 <username>${docker.username}</username>
513 <password>${docker.password}</password>
518 <!-- Build frontend image -->
520 <name>onap/sdc-frontend</name>
521 <alias>sdc-frontend</alias>
523 <cleanup>try</cleanup>
524 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
526 <tag>${docker.tag}</tag>
528 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
537 <id>clean-images</id>
538 <phase>pre-clean</phase>
543 <removeAll>true</removeAll>
544 <image>onap/sdc-frontend</image>
549 <id>generate-images</id>
550 <phase>install</phase>
558 <phase>deploy</phase>
563 <image>onap/sdc-frontend</image>