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.7-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</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>
124 <scope>compile</scope>
128 <groupId>com.fasterxml.jackson.core</groupId>
129 <artifactId>jackson-annotations</artifactId>
130 <version>${jackson-annotations.version}</version>
131 <scope>compile</scope>
136 <groupId>org.apache.httpcomponents</groupId>
137 <artifactId>httpclient</artifactId>
138 <version>${httpclient.version}</version>
139 <scope>compile</scope>
143 <groupId>org.apache.httpcomponents</groupId>
144 <artifactId>httpcore</artifactId>
145 <version>${httpcore.version}</version>
146 <scope>compile</scope>
150 <groupId>org.apache.httpcomponents</groupId>
151 <artifactId>httpmime</artifactId>
152 <version>${httpclient.version}</version>
153 <scope>compile</scope>
157 <groupId>commons-logging</groupId>
158 <artifactId>commons-logging</artifactId>
159 <version>${commons-logging}</version>
160 <scope>compile</scope>
164 <groupId>commons-codec</groupId>
165 <artifactId>commons-codec</artifactId>
166 <version>${commons-codec}</version>
167 <scope>compile</scope>
169 <!-- http client END -->
172 <groupId>javax.servlet</groupId>
173 <artifactId>javax.servlet-api</artifactId>
174 <version>${servlet-api.version}</version>
175 <scope>provided</scope>
178 <!-- JSON and YAML Parsing -->
180 <groupId>com.fasterxml.jackson.dataformat</groupId>
181 <artifactId>jackson-dataformat-yaml</artifactId>
182 <version>${jackson.version}</version>
183 <scope>compile</scope>
188 <groupId>org.eclipse.jetty</groupId>
189 <artifactId>jetty-proxy</artifactId>
190 <version>${jetty.version}</version>
191 <scope>compile</scope>
195 <groupId>org.eclipse.jetty</groupId>
196 <artifactId>jetty-servlets</artifactId>
197 <version>${jetty.version}</version>
198 <scope>compile</scope>
201 <!-- Proxy servlet -->
203 <groupId>com.google.guava</groupId>
204 <artifactId>guava</artifactId>
205 <version>${guava.version}</version>
206 <scope>compile</scope>
211 <groupId>com.jcabi</groupId>
212 <artifactId>jcabi-aspects</artifactId>
213 <version>${jcabi.version}</version>
214 <scope>compile</scope>
217 <groupId>org.aspectj</groupId>
218 <artifactId>aspectjrt</artifactId>
219 <version>${aspectjrt.version}</version>
220 <scope>compile</scope>
224 <groupId>org.apache.commons</groupId>
225 <artifactId>commons-lang3</artifactId>
226 <version>${lang3.version}</version>
227 <scope>compile</scope>
230 <!-- Inserted for ECOMP Portal Integration -->
232 <groupId>org.onap.portal.sdk</groupId>
233 <artifactId>epsdk-fw</artifactId>
234 <version>${ecomp.version}</version>
235 <scope>compile</scope>
238 <groupId>com.att.nsa</groupId>
239 <artifactId>cambriaClient</artifactId>
242 <artifactId>slf4j-log4j12</artifactId>
243 <groupId>org.slf4j</groupId>
247 <!-- System metrics -->
249 <groupId>org.fusesource</groupId>
250 <artifactId>sigar</artifactId>
251 <version>${sigar.version}</version>
252 <scope>compile</scope>
257 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
258 <artifactId>jersey-test-framework-provider-bundle</artifactId>
259 <version>${jersey-bom.version}</version>
265 <groupId>org.eclipse.jetty</groupId>
266 <artifactId>jetty-servlet</artifactId>
267 <version>${jetty.version}</version>
272 <groupId>org.eclipse.jetty</groupId>
273 <artifactId>jetty-webapp</artifactId>
274 <version>${jetty.version}</version>
279 <groupId>org.mockito</groupId>
280 <artifactId>mockito-core</artifactId>
288 <finalName>${project.artifactId}-${project.version}</finalName>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-war-plugin</artifactId>
297 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
303 <directory>src/main/resources</directory>
310 <groupId>org.eclipse.jetty</groupId>
311 <artifactId>jetty-maven-plugin</artifactId>
312 <version>${jetty.version}</version>
315 <contextPath>/</contextPath>
316 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
318 <war>${project.build.directory}/${project.build.finalName}.war</war>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-deploy-plugin</artifactId>
331 <groupId>com.jcabi</groupId>
332 <artifactId>jcabi-maven-plugin</artifactId>
333 <version>${jcabi.maven.plugin.version}</version>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-clean-plugin</artifactId>
347 <id>clean.catalog.fe.folder</id>
356 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
357 <followSymlinks>false</followSymlinks>
359 <include>*.war</include>
368 <groupId>com.github.sylvainlaurent.maven</groupId>
369 <artifactId>yaml-json-validator-maven-plugin</artifactId>
373 <phase>validate</phase>
375 <goal>validate</goal>
381 <include>src/main/resources/**/*.y*ml</include>
382 <include>src/test/resources/**/*.y*ml</include>
387 <include>src/main/resources/**/*.json</include>
388 <include>src/test/resources/**/*.json</include>
401 <!--This plugin's configuration is used to store Eclipse m2e settings
402 only. It has no influence on the Maven build itself. -->
404 <groupId>org.eclipse.m2e</groupId>
405 <artifactId>lifecycle-mapping</artifactId>
406 <version>1.0.0</version>
408 <lifecycleMappingMetadata>
412 <pluginExecutionFilter>
413 <groupId>com.jcabi</groupId>
414 <artifactId>jcabi-maven-plugin</artifactId>
415 <versionRange>[0.0,)</versionRange>
419 </pluginExecutionFilter>
426 </lifecycleMappingMetadata>
430 <!-- jacbi (log injection) -->
441 <activeByDefault>false</activeByDefault>
445 <finalName>${project.artifactId}-${project.version}</finalName>
449 <id>docker-staging</id>
451 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
452 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
459 <activeByDefault>false</activeByDefault>
462 <docker.username>docker</docker.username>
463 <docker.password>docker</docker.password>
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-resources-plugin</artifactId>
472 <id>copy-resources-fe</id>
473 <phase>verify</phase>
475 <goal>copy-resources</goal>
478 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
481 <directory>${project.parent.basedir}/catalog-fe/target</directory>
483 <include>catalog-fe-${project.version}.war</include>
487 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
489 <include>onboarding-fe-${project.version}.war</include>
498 <groupId>io.fabric8</groupId>
499 <artifactId>docker-maven-plugin</artifactId>
501 <apiVersion>1.23</apiVersion>
502 <registry>nexus3.onap.org:10001</registry>
505 <username>${docker.username}</username>
506 <password>${docker.password}</password>
511 <!-- Build frontend image -->
513 <name>onap/sdc-frontend</name>
514 <alias>sdc-frontend</alias>
516 <cleanup>try</cleanup>
517 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
519 <tag>${docker.tag}</tag>
520 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
528 <id>clean-images</id>
529 <phase>pre-clean</phase>
534 <removeAll>true</removeAll>
535 <image>onap/sdc-frontend</image>
540 <id>generate-images</id>
541 <phase>install</phase>
549 <phase>deploy</phase>
554 <image>onap/sdc-frontend</image>