1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <artifactId>catalog-fe</artifactId>
6 <packaging>war</packaging>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
11 <version>1.3.0-SNAPSHOT</version>
17 <groupId>org.functionaljava</groupId>
18 <artifactId>functionaljava</artifactId>
19 <version>${functionaljava.version}</version>
20 <scope>compile</scope>
24 <groupId>org.openecomp.sdc</groupId>
25 <artifactId>security-utils</artifactId>
26 <version>${project.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-all</artifactId>
47 <version>${groovy.version}</version>
48 <scope>compile</scope>
52 <groupId>org.codehaus.janino</groupId>
53 <artifactId>janino</artifactId>
54 <version>${janino.version}</version>
55 <scope>compile</scope>
59 <groupId>org.yaml</groupId>
60 <artifactId>snakeyaml</artifactId>
61 <version>${snakeyaml.version}</version>
62 <scope>compile</scope>
66 <groupId>org.apache.commons</groupId>
67 <artifactId>commons-jci-core</artifactId>
68 <version>${commons-jci-core.version}</version>
69 <scope>compile</scope>
73 <groupId>com.google.code.gson</groupId>
74 <artifactId>gson</artifactId>
75 <version>${gson.version}</version>
76 <scope>compile</scope>
80 <groupId>org.glassfish.jersey.containers</groupId>
81 <artifactId>jersey-container-servlet</artifactId>
82 <version>${jersey-bom.version}</version>
83 <scope>compile</scope>
87 <groupId>org.glassfish.jersey.media</groupId>
88 <artifactId>jersey-media-multipart</artifactId>
89 <version>${jersey-bom.version}</version>
90 <scope>compile</scope>
94 <groupId>org.glassfish.jersey.media</groupId>
95 <artifactId>jersey-media-moxy</artifactId>
96 <version>${jersey-bom.version}</version>
97 <scope>compile</scope>
101 <groupId>javax.mail</groupId>
102 <artifactId>javax.mail-api</artifactId>
103 <version>1.5.2</version>
104 <scope>compile</scope>
108 <groupId>org.glassfish.jersey.media</groupId>
109 <artifactId>jersey-media-json-jackson</artifactId>
110 <version>${jersey-bom.version}</version>
111 <scope>compile</scope>
115 <groupId>org.glassfish.jersey.inject</groupId>
116 <artifactId>jersey-hk2</artifactId>
117 <version>${jersey-bom.version}</version>
121 <groupId>com.fasterxml.jackson.core</groupId>
122 <artifactId>jackson-core</artifactId>
123 <version>${jackson.version}</version>
124 <scope>compile</scope>
128 <groupId>com.fasterxml.jackson.core</groupId>
129 <artifactId>jackson-databind</artifactId>
130 <version>${jackson.version}</version>
131 <scope>compile</scope>
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-annotations</artifactId>
137 <version>${jackson-annotations.version}</version>
138 <scope>compile</scope>
143 <groupId>org.apache.httpcomponents</groupId>
144 <artifactId>httpclient</artifactId>
145 <version>${httpclient.version}</version>
146 <scope>compile</scope>
150 <groupId>org.apache.httpcomponents</groupId>
151 <artifactId>httpcore</artifactId>
152 <version>${httpcore.version}</version>
153 <scope>compile</scope>
157 <groupId>org.apache.httpcomponents</groupId>
158 <artifactId>httpmime</artifactId>
159 <version>${httpclient.version}</version>
160 <scope>compile</scope>
164 <groupId>commons-logging</groupId>
165 <artifactId>commons-logging</artifactId>
166 <version>${commons-logging}</version>
167 <scope>compile</scope>
171 <groupId>commons-codec</groupId>
172 <artifactId>commons-codec</artifactId>
173 <version>${commons-codec}</version>
174 <scope>compile</scope>
176 <!-- http client END -->
179 <groupId>javax.servlet</groupId>
180 <artifactId>javax.servlet-api</artifactId>
181 <version>${servlet-api.version}</version>
182 <scope>provided</scope>
185 <!-- JSON and YAML Parsing -->
187 <groupId>com.fasterxml.jackson.dataformat</groupId>
188 <artifactId>jackson-dataformat-yaml</artifactId>
189 <version>${jackson.version}</version>
190 <scope>compile</scope>
195 <groupId>org.eclipse.jetty</groupId>
196 <artifactId>jetty-proxy</artifactId>
197 <version>${jetty.version}</version>
198 <scope>compile</scope>
202 <groupId>org.eclipse.jetty</groupId>
203 <artifactId>jetty-servlets</artifactId>
204 <version>${jetty.version}</version>
205 <scope>compile</scope>
208 <!-- Proxy servlet -->
210 <groupId>com.google.guava</groupId>
211 <artifactId>guava</artifactId>
212 <version>${guava.version}</version>
213 <scope>compile</scope>
218 <groupId>com.jcabi</groupId>
219 <artifactId>jcabi-aspects</artifactId>
220 <version>${jcabi.version}</version>
221 <scope>compile</scope>
224 <groupId>org.aspectj</groupId>
225 <artifactId>aspectjrt</artifactId>
226 <version>${aspectjrt.version}</version>
227 <scope>compile</scope>
231 <groupId>org.apache.commons</groupId>
232 <artifactId>commons-lang3</artifactId>
233 <version>${lang3.version}</version>
234 <scope>compile</scope>
237 <!-- Inserted for ECOMP Portal Integration -->
239 <groupId>org.openecomp.ecompsdkos</groupId>
240 <artifactId>epsdk-fw</artifactId>
241 <version>${ecomp.version}</version>
242 <scope>compile</scope>
245 <groupId>com.att.nsa</groupId>
246 <artifactId>cambriaClient</artifactId>
249 <artifactId>slf4j-log4j12</artifactId>
250 <groupId>org.slf4j</groupId>
254 <!-- System metrics -->
256 <groupId>org.fusesource</groupId>
257 <artifactId>sigar</artifactId>
258 <version>${sigar.version}</version>
259 <scope>compile</scope>
264 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
265 <artifactId>jersey-test-framework-provider-bundle</artifactId>
266 <version>${jersey-bom.version}</version>
272 <groupId>org.eclipse.jetty</groupId>
273 <artifactId>jetty-servlet</artifactId>
274 <version>${jetty.version}</version>
279 <groupId>org.eclipse.jetty</groupId>
280 <artifactId>jetty-webapp</artifactId>
281 <version>${jetty.version}</version>
286 <groupId>org.mockito</groupId>
287 <artifactId>mockito-core</artifactId>
295 <finalName>${project.artifactId}-${project.version}</finalName>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-war-plugin</artifactId>
304 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
310 <directory>src/main/resources</directory>
317 <groupId>org.eclipse.jetty</groupId>
318 <artifactId>jetty-maven-plugin</artifactId>
319 <version>${jetty.version}</version>
322 <contextPath>/</contextPath>
323 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
325 <war>${project.build.directory}/${project.build.finalName}.war</war>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-deploy-plugin</artifactId>
338 <groupId>com.jcabi</groupId>
339 <artifactId>jcabi-maven-plugin</artifactId>
340 <version>${jcabi.maven.plugin.version}</version>
350 <groupId>org.apache.maven.plugins</groupId>
351 <artifactId>maven-clean-plugin</artifactId>
354 <id>clean.catalog.fe.folder</id>
363 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
364 <followSymlinks>false</followSymlinks>
366 <include>*.war</include>
375 <groupId>com.github.sylvainlaurent.maven</groupId>
376 <artifactId>yaml-json-validator-maven-plugin</artifactId>
380 <phase>validate</phase>
382 <goal>validate</goal>
388 <include>src/main/resources/**/*.y*ml</include>
389 <include>src/test/resources/**/*.y*ml</include>
394 <include>src/main/resources/**/*.json</include>
395 <include>src/test/resources/**/*.json</include>
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>
527 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
535 <id>clean-images</id>
536 <phase>pre-clean</phase>
541 <removeAll>true</removeAll>
542 <image>onap/sdc-frontend</image>
547 <id>generate-images</id>
548 <phase>install</phase>
556 <phase>deploy</phase>
561 <image>onap/sdc-frontend</image>