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.0-SNAPSHOT</version>
16 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
18 <groupId>org.junit.jupiter</groupId>
19 <artifactId>junit-jupiter-engine</artifactId>
20 <version>${junitJupiter.version}</version>
23 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
25 <groupId>org.junit.vintage</groupId>
26 <artifactId>junit-vintage-engine</artifactId>
27 <version>${junitJupiter.version}</version>
31 <groupId>org.projectlombok</groupId>
32 <artifactId>lombok</artifactId>
33 <version>${lombok.version}</version>
37 <groupId>org.functionaljava</groupId>
38 <artifactId>functionaljava</artifactId>
39 <version>${functionaljava.version}</version>
40 <scope>compile</scope>
44 <groupId>org.openecomp.sdc</groupId>
45 <artifactId>common-app-api</artifactId>
46 <version>${project.version}</version>
49 <!-- File changes listener -->
51 <groupId>ch.qos.logback</groupId>
52 <artifactId>logback-classic</artifactId>
53 <version>${logback.version}</version>
54 <scope>compile</scope>
58 <groupId>org.codehaus.groovy</groupId>
59 <artifactId>groovy</artifactId>
60 <scope>compile</scope>
64 <groupId>org.codehaus.janino</groupId>
65 <artifactId>janino</artifactId>
66 <version>${janino.version}</version>
67 <scope>compile</scope>
71 <groupId>org.yaml</groupId>
72 <artifactId>snakeyaml</artifactId>
73 <version>${snakeyaml.version}</version>
74 <scope>compile</scope>
78 <groupId>org.apache.commons</groupId>
79 <artifactId>commons-jci-core</artifactId>
80 <version>${commons-jci-core.version}</version>
81 <scope>compile</scope>
85 <groupId>com.google.code.gson</groupId>
86 <artifactId>gson</artifactId>
87 <version>${gson.version}</version>
88 <scope>compile</scope>
92 <groupId>org.glassfish.jersey.containers</groupId>
93 <artifactId>jersey-container-servlet</artifactId>
94 <version>${jersey-bom.version}</version>
95 <scope>compile</scope>
99 <groupId>org.glassfish.jersey.media</groupId>
100 <artifactId>jersey-media-multipart</artifactId>
101 <version>${jersey-bom.version}</version>
102 <scope>compile</scope>
106 <groupId>org.glassfish.jersey.media</groupId>
107 <artifactId>jersey-media-moxy</artifactId>
108 <version>${jersey-bom.version}</version>
109 <scope>compile</scope>
114 <groupId>org.glassfish.jersey.media</groupId>
115 <artifactId>jersey-media-json-jackson</artifactId>
116 <version>${jersey-bom.version}</version>
117 <scope>compile</scope>
121 <groupId>org.glassfish.jersey.inject</groupId>
122 <artifactId>jersey-hk2</artifactId>
123 <version>${jersey-bom.version}</version>
127 <groupId>com.fasterxml.jackson.core</groupId>
128 <artifactId>jackson-core</artifactId>
129 <version>${jackson.version}</version>
130 <scope>compile</scope>
134 <groupId>com.fasterxml.jackson.core</groupId>
135 <artifactId>jackson-databind</artifactId>
136 <version>${jackson.version}</version>
137 <scope>compile</scope>
141 <groupId>com.fasterxml.jackson.core</groupId>
142 <artifactId>jackson-annotations</artifactId>
143 <version>${jackson-annotations.version}</version>
144 <scope>compile</scope>
149 <groupId>org.apache.httpcomponents</groupId>
150 <artifactId>httpclient</artifactId>
151 <version>${httpclient.version}</version>
152 <scope>compile</scope>
156 <groupId>org.apache.httpcomponents</groupId>
157 <artifactId>httpcore</artifactId>
158 <version>${httpcore.version}</version>
159 <scope>compile</scope>
163 <groupId>org.apache.httpcomponents</groupId>
164 <artifactId>httpmime</artifactId>
165 <version>${httpclient.version}</version>
166 <scope>compile</scope>
170 <groupId>commons-logging</groupId>
171 <artifactId>commons-logging</artifactId>
172 <version>${commons-logging}</version>
173 <scope>compile</scope>
177 <groupId>commons-codec</groupId>
178 <artifactId>commons-codec</artifactId>
179 <version>${commons-codec}</version>
180 <scope>compile</scope>
182 <!-- http client END -->
185 <groupId>javax.servlet</groupId>
186 <artifactId>javax.servlet-api</artifactId>
187 <version>${servlet-api.version}</version>
188 <scope>provided</scope>
191 <!-- JSON and YAML Parsing -->
193 <groupId>com.fasterxml.jackson.dataformat</groupId>
194 <artifactId>jackson-dataformat-yaml</artifactId>
195 <version>${jackson.version}</version>
196 <scope>compile</scope>
201 <groupId>org.eclipse.jetty</groupId>
202 <artifactId>jetty-proxy</artifactId>
203 <version>${jetty.version}</version>
204 <scope>compile</scope>
208 <groupId>org.eclipse.jetty</groupId>
209 <artifactId>jetty-servlets</artifactId>
210 <version>${jetty.version}</version>
211 <scope>compile</scope>
214 <!-- Proxy servlet -->
216 <groupId>com.google.guava</groupId>
217 <artifactId>guava</artifactId>
218 <version>${guava.version}</version>
219 <scope>compile</scope>
224 <groupId>com.jcabi</groupId>
225 <artifactId>jcabi-aspects</artifactId>
226 <version>${jcabi.version}</version>
227 <scope>compile</scope>
230 <groupId>org.aspectj</groupId>
231 <artifactId>aspectjrt</artifactId>
232 <version>${aspectjrt.version}</version>
233 <scope>compile</scope>
237 <groupId>org.apache.commons</groupId>
238 <artifactId>commons-lang3</artifactId>
239 <version>${lang3.version}</version>
240 <scope>compile</scope>
243 <!-- Inserted for ECOMP Portal Integration -->
245 <groupId>org.onap.portal.sdk</groupId>
246 <artifactId>epsdk-fw</artifactId>
247 <version>${ecomp.version}</version>
248 <scope>compile</scope>
251 <groupId>com.att.nsa</groupId>
252 <artifactId>cambriaClient</artifactId>
255 <artifactId>slf4j-log4j12</artifactId>
256 <groupId>org.slf4j</groupId>
260 <!-- System metrics -->
262 <groupId>org.fusesource</groupId>
263 <artifactId>sigar</artifactId>
264 <version>${sigar.version}</version>
265 <scope>compile</scope>
270 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
271 <artifactId>jersey-test-framework-provider-bundle</artifactId>
272 <version>${jersey-bom.version}</version>
278 <groupId>com.google.code.bean-matchers</groupId>
279 <artifactId>bean-matchers</artifactId>
280 <version>${bean-matchers.version}</version>
285 <groupId>org.eclipse.jetty</groupId>
286 <artifactId>jetty-servlet</artifactId>
287 <version>${jetty.version}</version>
292 <groupId>org.eclipse.jetty</groupId>
293 <artifactId>jetty-webapp</artifactId>
294 <version>${jetty.version}</version>
299 <groupId>org.mockito</groupId>
300 <artifactId>mockito-core</artifactId>
308 <finalName>${project.artifactId}-${project.version}</finalName>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-war-plugin</artifactId>
317 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
323 <directory>src/main/resources</directory>
330 <groupId>org.eclipse.jetty</groupId>
331 <artifactId>jetty-maven-plugin</artifactId>
332 <version>${jetty.version}</version>
335 <contextPath>/</contextPath>
336 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
338 <war>${project.build.directory}/${project.build.finalName}.war</war>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-deploy-plugin</artifactId>
351 <groupId>com.jcabi</groupId>
352 <artifactId>jcabi-maven-plugin</artifactId>
353 <version>${jcabi.maven.plugin.version}</version>
363 <groupId>org.apache.maven.plugins</groupId>
364 <artifactId>maven-clean-plugin</artifactId>
367 <id>clean.catalog.fe.folder</id>
376 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
377 <followSymlinks>false</followSymlinks>
379 <include>*.war</include>
388 <groupId>com.github.sylvainlaurent.maven</groupId>
389 <artifactId>yaml-json-validator-maven-plugin</artifactId>
393 <phase>validate</phase>
395 <goal>validate</goal>
401 <include>src/main/resources/**/*.y*ml</include>
402 <include>src/test/resources/**/*.y*ml</include>
407 <include>src/main/resources/**/*.json</include>
408 <include>src/test/resources/**/*.json</include>
421 <!--This plugin's configuration is used to store Eclipse m2e settings
422 only. It has no influence on the Maven build itself. -->
424 <groupId>org.eclipse.m2e</groupId>
425 <artifactId>lifecycle-mapping</artifactId>
426 <version>1.0.0</version>
428 <lifecycleMappingMetadata>
432 <pluginExecutionFilter>
433 <groupId>com.jcabi</groupId>
434 <artifactId>jcabi-maven-plugin</artifactId>
435 <versionRange>[0.0,)</versionRange>
439 </pluginExecutionFilter>
446 </lifecycleMappingMetadata>
450 <!-- jacbi (log injection) -->
461 <activeByDefault>false</activeByDefault>
465 <finalName>${project.artifactId}-${project.version}</finalName>
469 <id>docker-staging</id>
471 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
472 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
479 <activeByDefault>false</activeByDefault>
482 <docker.username>docker</docker.username>
483 <docker.password>docker</docker.password>
488 <groupId>org.apache.maven.plugins</groupId>
489 <artifactId>maven-resources-plugin</artifactId>
492 <id>copy-resources-fe</id>
493 <phase>verify</phase>
495 <goal>copy-resources</goal>
498 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
501 <directory>${project.parent.basedir}/catalog-fe/target</directory>
503 <include>catalog-fe-${project.version}.war</include>
507 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
509 <include>onboarding-fe-${project.version}.war</include>
518 <groupId>io.fabric8</groupId>
519 <artifactId>docker-maven-plugin</artifactId>
521 <apiVersion>1.23</apiVersion>
522 <registry>nexus3.onap.org:10001</registry>
525 <username>${docker.username}</username>
526 <password>${docker.password}</password>
531 <!-- Build frontend image -->
533 <name>onap/sdc-frontend</name>
534 <alias>sdc-frontend</alias>
536 <cleanup>try</cleanup>
537 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
539 <tag>${docker.tag}</tag>
541 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
550 <id>clean-images</id>
551 <phase>pre-clean</phase>
556 <removeAll>true</removeAll>
557 <image>onap/sdc-frontend</image>
562 <id>generate-images</id>
563 <phase>install</phase>
571 <phase>deploy</phase>
576 <image>onap/sdc-frontend</image>