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.6.5-SNAPSHOT</version>
17 <groupId>org.projectlombok</groupId>
18 <artifactId>lombok</artifactId>
19 <version>${lombok.version}</version>
23 <groupId>org.functionaljava</groupId>
24 <artifactId>functionaljava</artifactId>
25 <version>${functionaljava.version}</version>
26 <scope>compile</scope>
30 <groupId>org.openecomp.sdc</groupId>
31 <artifactId>common-app-api</artifactId>
32 <version>${project.version}</version>
35 <!-- File changes listener -->
37 <groupId>ch.qos.logback</groupId>
38 <artifactId>logback-classic</artifactId>
39 <version>${logback.version}</version>
40 <scope>compile</scope>
44 <groupId>org.codehaus.groovy</groupId>
45 <artifactId>groovy</artifactId>
46 <scope>compile</scope>
50 <groupId>org.codehaus.janino</groupId>
51 <artifactId>janino</artifactId>
52 <version>${janino.version}</version>
53 <scope>compile</scope>
57 <groupId>org.yaml</groupId>
58 <artifactId>snakeyaml</artifactId>
59 <version>${snakeyaml.version}</version>
60 <scope>compile</scope>
64 <groupId>org.apache.commons</groupId>
65 <artifactId>commons-jci-core</artifactId>
66 <version>${commons-jci-core.version}</version>
67 <scope>compile</scope>
71 <groupId>com.google.code.gson</groupId>
72 <artifactId>gson</artifactId>
73 <version>${gson.version}</version>
74 <scope>compile</scope>
78 <groupId>org.glassfish.jersey.containers</groupId>
79 <artifactId>jersey-container-servlet</artifactId>
80 <version>${jersey-bom.version}</version>
81 <scope>compile</scope>
85 <groupId>org.glassfish.jersey.media</groupId>
86 <artifactId>jersey-media-multipart</artifactId>
87 <version>${jersey-bom.version}</version>
88 <scope>compile</scope>
92 <groupId>org.glassfish.jersey.media</groupId>
93 <artifactId>jersey-media-moxy</artifactId>
94 <version>${jersey-bom.version}</version>
95 <scope>compile</scope>
100 <groupId>org.glassfish.jersey.media</groupId>
101 <artifactId>jersey-media-json-jackson</artifactId>
102 <version>${jersey-bom.version}</version>
103 <scope>compile</scope>
107 <groupId>org.glassfish.jersey.inject</groupId>
108 <artifactId>jersey-hk2</artifactId>
109 <version>${jersey-bom.version}</version>
113 <groupId>com.fasterxml.jackson.core</groupId>
114 <artifactId>jackson-core</artifactId>
115 <version>${jackson.version}</version>
116 <scope>compile</scope>
120 <groupId>com.fasterxml.jackson.core</groupId>
121 <artifactId>jackson-databind</artifactId>
122 <version>${jackson.version}</version>
123 <scope>compile</scope>
127 <groupId>com.fasterxml.jackson.core</groupId>
128 <artifactId>jackson-annotations</artifactId>
129 <version>${jackson-annotations.version}</version>
130 <scope>compile</scope>
135 <groupId>org.apache.httpcomponents</groupId>
136 <artifactId>httpclient</artifactId>
137 <version>${httpclient.version}</version>
138 <scope>compile</scope>
142 <groupId>org.apache.httpcomponents</groupId>
143 <artifactId>httpcore</artifactId>
144 <version>${httpcore.version}</version>
145 <scope>compile</scope>
149 <groupId>org.apache.httpcomponents</groupId>
150 <artifactId>httpmime</artifactId>
151 <version>${httpclient.version}</version>
152 <scope>compile</scope>
156 <groupId>commons-logging</groupId>
157 <artifactId>commons-logging</artifactId>
158 <version>${commons-logging}</version>
159 <scope>compile</scope>
163 <groupId>commons-codec</groupId>
164 <artifactId>commons-codec</artifactId>
165 <version>${commons-codec}</version>
166 <scope>compile</scope>
168 <!-- http client END -->
171 <groupId>javax.servlet</groupId>
172 <artifactId>javax.servlet-api</artifactId>
173 <version>${servlet-api.version}</version>
174 <scope>provided</scope>
177 <!-- JSON and YAML Parsing -->
179 <groupId>com.fasterxml.jackson.dataformat</groupId>
180 <artifactId>jackson-dataformat-yaml</artifactId>
181 <version>${jackson.version}</version>
182 <scope>compile</scope>
187 <groupId>org.eclipse.jetty</groupId>
188 <artifactId>jetty-proxy</artifactId>
189 <version>${jetty.version}</version>
190 <scope>compile</scope>
194 <groupId>org.eclipse.jetty</groupId>
195 <artifactId>jetty-servlets</artifactId>
196 <version>${jetty.version}</version>
197 <scope>compile</scope>
200 <!-- Proxy servlet -->
202 <groupId>com.google.guava</groupId>
203 <artifactId>guava</artifactId>
204 <version>${guava.version}</version>
205 <scope>compile</scope>
210 <groupId>com.jcabi</groupId>
211 <artifactId>jcabi-aspects</artifactId>
212 <version>${jcabi.version}</version>
213 <scope>compile</scope>
216 <groupId>org.aspectj</groupId>
217 <artifactId>aspectjrt</artifactId>
218 <version>${aspectjrt.version}</version>
219 <scope>compile</scope>
223 <groupId>org.apache.commons</groupId>
224 <artifactId>commons-lang3</artifactId>
225 <version>${lang3.version}</version>
226 <scope>compile</scope>
229 <!-- Inserted for ECOMP Portal Integration -->
231 <groupId>org.onap.portal.sdk</groupId>
232 <artifactId>epsdk-fw</artifactId>
233 <version>${ecomp.version}</version>
234 <scope>compile</scope>
237 <groupId>com.att.nsa</groupId>
238 <artifactId>cambriaClient</artifactId>
241 <artifactId>slf4j-log4j12</artifactId>
242 <groupId>org.slf4j</groupId>
246 <!-- System metrics -->
248 <groupId>org.fusesource</groupId>
249 <artifactId>sigar</artifactId>
250 <version>${sigar.version}</version>
251 <scope>compile</scope>
256 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
257 <artifactId>jersey-test-framework-provider-bundle</artifactId>
258 <version>${jersey-bom.version}</version>
264 <groupId>com.google.code.bean-matchers</groupId>
265 <artifactId>bean-matchers</artifactId>
266 <version>${bean-matchers.version}</version>
271 <groupId>org.eclipse.jetty</groupId>
272 <artifactId>jetty-servlet</artifactId>
273 <version>${jetty.version}</version>
278 <groupId>org.eclipse.jetty</groupId>
279 <artifactId>jetty-webapp</artifactId>
280 <version>${jetty.version}</version>
285 <groupId>org.mockito</groupId>
286 <artifactId>mockito-core</artifactId>
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>
407 <!--This plugin's configuration is used to store Eclipse m2e settings
408 only. It has no influence on the Maven build itself. -->
410 <groupId>org.eclipse.m2e</groupId>
411 <artifactId>lifecycle-mapping</artifactId>
412 <version>1.0.0</version>
414 <lifecycleMappingMetadata>
418 <pluginExecutionFilter>
419 <groupId>com.jcabi</groupId>
420 <artifactId>jcabi-maven-plugin</artifactId>
421 <versionRange>[0.0,)</versionRange>
425 </pluginExecutionFilter>
432 </lifecycleMappingMetadata>
436 <!-- jacbi (log injection) -->
447 <activeByDefault>false</activeByDefault>
451 <finalName>${project.artifactId}-${project.version}</finalName>
455 <id>docker-staging</id>
457 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
458 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
465 <activeByDefault>false</activeByDefault>
468 <docker.username>docker</docker.username>
469 <docker.password>docker</docker.password>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-resources-plugin</artifactId>
478 <id>copy-resources-fe</id>
479 <phase>verify</phase>
481 <goal>copy-resources</goal>
484 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
487 <directory>${project.parent.basedir}/catalog-fe/target</directory>
489 <include>catalog-fe-${project.version}.war</include>
493 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
495 <include>onboarding-fe-${project.version}.war</include>
504 <groupId>io.fabric8</groupId>
505 <artifactId>docker-maven-plugin</artifactId>
507 <apiVersion>1.23</apiVersion>
508 <registry>nexus3.onap.org:10001</registry>
511 <username>${docker.username}</username>
512 <password>${docker.password}</password>
517 <!-- Build frontend image -->
519 <name>onap/sdc-frontend</name>
520 <alias>sdc-frontend</alias>
522 <cleanup>try</cleanup>
523 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
525 <tag>${docker.tag}</tag>
526 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
534 <id>clean-images</id>
535 <phase>pre-clean</phase>
540 <removeAll>true</removeAll>
541 <image>onap/sdc-frontend</image>
546 <id>generate-images</id>
547 <phase>install</phase>
555 <phase>deploy</phase>
560 <image>onap/sdc-frontend</image>