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.2.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 <!--<version>4.3.2</version>-->
161 <scope>compile</scope>
165 <groupId>commons-logging</groupId>
166 <artifactId>commons-logging</artifactId>
167 <version>${commons-logging}</version>
168 <scope>compile</scope>
172 <groupId>commons-codec</groupId>
173 <artifactId>commons-codec</artifactId>
174 <version>${commons-codec}</version>
175 <scope>compile</scope>
177 <!-- http client END -->
180 <groupId>javax.servlet</groupId>
181 <artifactId>servlet-api</artifactId>
182 <version>${servlet-api.version}</version>
183 <scope>provided</scope>
186 <!-- JSON and YAML Parsing -->
188 <groupId>com.fasterxml.jackson.dataformat</groupId>
189 <artifactId>jackson-dataformat-yaml</artifactId>
190 <version>${jackson.version}</version>
191 <scope>compile</scope>
196 <groupId>org.eclipse.jetty</groupId>
197 <artifactId>jetty-proxy</artifactId>
198 <version>${jetty.version}</version>
199 <scope>compile</scope>
203 <groupId>org.eclipse.jetty</groupId>
204 <artifactId>jetty-servlets</artifactId>
205 <version>${jetty.version}</version>
206 <scope>compile</scope>
209 <!-- Proxy servlet -->
211 <groupId>com.google.guava</groupId>
212 <artifactId>guava</artifactId>
213 <version>${guava.version}</version>
214 <scope>compile</scope>
219 <groupId>com.jcabi</groupId>
220 <artifactId>jcabi-aspects</artifactId>
221 <version>${jcabi.version}</version>
222 <scope>compile</scope>
225 <groupId>org.aspectj</groupId>
226 <artifactId>aspectjrt</artifactId>
227 <version>${aspectjrt.version}</version>
228 <scope>compile</scope>
232 <groupId>org.apache.commons</groupId>
233 <artifactId>commons-lang3</artifactId>
234 <version>${lang3.version}</version>
235 <scope>compile</scope>
238 <!-- Inserted for ECOMP Portal Integration -->
240 <groupId>org.openecomp.ecompsdkos</groupId>
241 <artifactId>epsdk-fw</artifactId>
242 <version>${ecomp.version}</version>
243 <scope>compile</scope>
246 <groupId>com.att.nsa</groupId>
247 <artifactId>cambriaClient</artifactId>
250 <artifactId>slf4j-log4j12</artifactId>
251 <groupId>org.slf4j</groupId>
255 <!-- System metrics -->
257 <groupId>org.fusesource</groupId>
258 <artifactId>sigar</artifactId>
259 <version>${sigar.version}</version>
260 <scope>compile</scope>
265 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
266 <artifactId>jersey-test-framework-provider-bundle</artifactId>
267 <version>${jersey-bom.version}</version>
273 <groupId>org.eclipse.jetty</groupId>
274 <artifactId>jetty-servlet</artifactId>
275 <version>${jetty.version}</version>
280 <groupId>org.eclipse.jetty</groupId>
281 <artifactId>jetty-webapp</artifactId>
282 <version>${jetty.version}</version>
287 <groupId>org.mockito</groupId>
288 <artifactId>mockito-core</artifactId>
296 <finalName>${project.artifactId}-${project.version}</finalName>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-war-plugin</artifactId>
302 <version>2.6</version>
306 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
312 <directory>src/main/resources</directory>
319 <groupId>org.eclipse.jetty</groupId>
320 <artifactId>jetty-maven-plugin</artifactId>
321 <version>${jetty.version}</version>
322 <!--<version>9.0.6.v20130930</version>-->
324 <contextPath>/</contextPath>
326 <contextPath>/</contextPath>
327 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
329 <war>${project.build.directory}/${project.build.finalName}.war</war>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-deploy-plugin</artifactId>
336 <version>2.7</version>
343 <groupId>com.jcabi</groupId>
344 <artifactId>jcabi-maven-plugin</artifactId>
345 <version>${jcabi.plugin.version}</version>
355 <artifactId>maven-clean-plugin</artifactId>
356 <version>3.0.0</version>
359 <id>clean.catalog.fe.folder</id>
368 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
369 <followSymlinks>false</followSymlinks>
371 <include>*.war</include>
384 <!--This plugin's configuration is used to store Eclipse m2e settings
385 only. It has no influence on the Maven build itself. -->
387 <groupId>org.eclipse.m2e</groupId>
388 <artifactId>lifecycle-mapping</artifactId>
389 <version>1.0.0</version>
391 <lifecycleMappingMetadata>
395 <pluginExecutionFilter>
396 <groupId>com.jcabi</groupId>
397 <artifactId>jcabi-maven-plugin</artifactId>
398 <versionRange>[0.0,)</versionRange>
402 </pluginExecutionFilter>
409 </lifecycleMappingMetadata>
413 <!-- jacbi (log injection) -->
424 <activeByDefault>false</activeByDefault>
428 <finalName>${project.artifactId}-${project.version}</finalName>
432 <id>docker-staging</id>
434 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
435 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
442 <activeByDefault>false</activeByDefault>
445 <docker.username>docker</docker.username>
446 <docker.password>docker</docker.password>
451 <artifactId>maven-resources-plugin</artifactId>
452 <version>3.0.2</version>
455 <id>copy-resources-fe</id>
456 <phase>verify</phase>
458 <goal>copy-resources</goal>
461 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
464 <directory>${project.parent.basedir}/catalog-fe/target</directory>
466 <include>catalog-fe-${project.version}.war</include>
470 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
472 <include>onboarding-fe-${project.version}.war</include>
481 <groupId>io.fabric8</groupId>
482 <artifactId>docker-maven-plugin</artifactId>
483 <version>${fabric8.version}</version>
486 <verbose>true</verbose>
487 <apiVersion>1.23</apiVersion>
488 <registry>nexus3.onap.org:10001</registry>
491 <username>${docker.username}</username>
492 <password>${docker.password}</password>
497 <!-- Build frontend image -->
499 <name>onap/sdc-frontend</name>
500 <alias>sdc-frontend</alias>
502 <cleanup>try</cleanup>
503 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
505 <tag>${docker.tag}</tag>
506 <tag>${docker.latest.tag}</tag>
507 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
515 <id>clean-images</id>
516 <phase>pre-clean</phase>
521 <removeAll>true</removeAll>
522 <image>onap/sdc-frontend</image>
527 <id>generate-images</id>
528 <phase>install</phase>
536 <phase>deploy</phase>
541 <image>onap/sdc-frontend</image>