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>
32 <groupId>org.projectlombok</groupId>
33 <artifactId>lombok</artifactId>
34 <version>${lombok.version}</version>
38 <groupId>org.functionaljava</groupId>
39 <artifactId>functionaljava</artifactId>
40 <version>${functionaljava.version}</version>
41 <scope>compile</scope>
45 <groupId>org.openecomp.sdc</groupId>
46 <artifactId>common-app-api</artifactId>
47 <version>${project.version}</version>
50 <!-- File changes listener -->
52 <groupId>ch.qos.logback</groupId>
53 <artifactId>logback-classic</artifactId>
54 <version>${logback.version}</version>
55 <scope>compile</scope>
59 <groupId>org.codehaus.groovy</groupId>
60 <artifactId>groovy</artifactId>
61 <scope>compile</scope>
65 <groupId>org.codehaus.janino</groupId>
66 <artifactId>janino</artifactId>
67 <version>${janino.version}</version>
68 <scope>compile</scope>
72 <groupId>org.yaml</groupId>
73 <artifactId>snakeyaml</artifactId>
74 <version>${snakeyaml.version}</version>
75 <scope>compile</scope>
79 <groupId>org.apache.commons</groupId>
80 <artifactId>commons-jci-core</artifactId>
81 <version>${commons-jci-core.version}</version>
82 <scope>compile</scope>
86 <groupId>com.google.code.gson</groupId>
87 <artifactId>gson</artifactId>
88 <version>${gson.version}</version>
89 <scope>compile</scope>
93 <groupId>org.glassfish.jersey.containers</groupId>
94 <artifactId>jersey-container-servlet</artifactId>
95 <version>${jersey-bom.version}</version>
96 <scope>compile</scope>
100 <groupId>org.glassfish.jersey.media</groupId>
101 <artifactId>jersey-media-multipart</artifactId>
102 <version>${jersey-bom.version}</version>
103 <scope>compile</scope>
107 <groupId>org.glassfish.jersey.media</groupId>
108 <artifactId>jersey-media-moxy</artifactId>
109 <version>${jersey-bom.version}</version>
110 <scope>compile</scope>
115 <groupId>org.glassfish.jersey.media</groupId>
116 <artifactId>jersey-media-json-jackson</artifactId>
117 <version>${jersey-bom.version}</version>
118 <scope>compile</scope>
122 <groupId>org.glassfish.jersey.inject</groupId>
123 <artifactId>jersey-hk2</artifactId>
124 <version>${jersey-bom.version}</version>
128 <groupId>com.fasterxml.jackson.core</groupId>
129 <artifactId>jackson-core</artifactId>
130 <version>${jackson.version}</version>
131 <scope>compile</scope>
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-databind</artifactId>
137 <version>${jackson.version}</version>
138 <scope>compile</scope>
142 <groupId>com.fasterxml.jackson.core</groupId>
143 <artifactId>jackson-annotations</artifactId>
144 <version>${jackson-annotations.version}</version>
145 <scope>compile</scope>
150 <groupId>org.apache.httpcomponents</groupId>
151 <artifactId>httpclient</artifactId>
152 <version>${httpclient.version}</version>
153 <scope>compile</scope>
157 <groupId>org.apache.httpcomponents</groupId>
158 <artifactId>httpcore</artifactId>
159 <version>${httpcore.version}</version>
160 <scope>compile</scope>
164 <groupId>org.apache.httpcomponents</groupId>
165 <artifactId>httpmime</artifactId>
166 <version>${httpclient.version}</version>
167 <scope>compile</scope>
171 <groupId>commons-logging</groupId>
172 <artifactId>commons-logging</artifactId>
173 <version>${commons-logging}</version>
174 <scope>compile</scope>
178 <groupId>commons-codec</groupId>
179 <artifactId>commons-codec</artifactId>
180 <version>${commons-codec}</version>
181 <scope>compile</scope>
183 <!-- http client END -->
186 <groupId>javax.servlet</groupId>
187 <artifactId>javax.servlet-api</artifactId>
188 <version>${servlet-api.version}</version>
189 <scope>provided</scope>
192 <!-- JSON and YAML Parsing -->
194 <groupId>com.fasterxml.jackson.dataformat</groupId>
195 <artifactId>jackson-dataformat-yaml</artifactId>
196 <version>${jackson.version}</version>
197 <scope>compile</scope>
202 <groupId>org.eclipse.jetty</groupId>
203 <artifactId>jetty-proxy</artifactId>
204 <version>${jetty.version}</version>
205 <scope>compile</scope>
209 <groupId>org.eclipse.jetty</groupId>
210 <artifactId>jetty-servlets</artifactId>
211 <version>${jetty.version}</version>
212 <scope>compile</scope>
215 <!-- Proxy servlet -->
217 <groupId>com.google.guava</groupId>
218 <artifactId>guava</artifactId>
219 <version>${guava.version}</version>
220 <scope>compile</scope>
225 <groupId>com.jcabi</groupId>
226 <artifactId>jcabi-aspects</artifactId>
227 <version>${jcabi.version}</version>
228 <scope>compile</scope>
231 <groupId>org.aspectj</groupId>
232 <artifactId>aspectjrt</artifactId>
233 <version>${aspectjrt.version}</version>
234 <scope>compile</scope>
238 <groupId>org.apache.commons</groupId>
239 <artifactId>commons-lang3</artifactId>
240 <version>${lang3.version}</version>
241 <scope>compile</scope>
244 <!-- Inserted for ECOMP Portal Integration -->
246 <groupId>org.onap.portal.sdk</groupId>
247 <artifactId>epsdk-fw</artifactId>
248 <version>${ecomp.version}</version>
249 <scope>compile</scope>
252 <groupId>com.att.nsa</groupId>
253 <artifactId>cambriaClient</artifactId>
256 <artifactId>slf4j-log4j12</artifactId>
257 <groupId>org.slf4j</groupId>
261 <!-- System metrics -->
263 <groupId>org.fusesource</groupId>
264 <artifactId>sigar</artifactId>
265 <version>${sigar.version}</version>
266 <scope>compile</scope>
271 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
272 <artifactId>jersey-test-framework-provider-bundle</artifactId>
273 <version>${jersey-bom.version}</version>
279 <groupId>com.google.code.bean-matchers</groupId>
280 <artifactId>bean-matchers</artifactId>
281 <version>${bean-matchers.version}</version>
286 <groupId>org.eclipse.jetty</groupId>
287 <artifactId>jetty-servlet</artifactId>
288 <version>${jetty.version}</version>
293 <groupId>org.eclipse.jetty</groupId>
294 <artifactId>jetty-webapp</artifactId>
295 <version>${jetty.version}</version>
300 <groupId>org.mockito</groupId>
301 <artifactId>mockito-core</artifactId>
309 <finalName>${project.artifactId}-${project.version}</finalName>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-war-plugin</artifactId>
318 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
324 <directory>src/main/resources</directory>
331 <groupId>org.eclipse.jetty</groupId>
332 <artifactId>jetty-maven-plugin</artifactId>
333 <version>${jetty.version}</version>
336 <contextPath>/</contextPath>
337 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
339 <war>${project.build.directory}/${project.build.finalName}.war</war>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-deploy-plugin</artifactId>
352 <groupId>com.jcabi</groupId>
353 <artifactId>jcabi-maven-plugin</artifactId>
354 <version>${jcabi.maven.plugin.version}</version>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-clean-plugin</artifactId>
368 <id>clean.catalog.fe.folder</id>
377 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
378 <followSymlinks>false</followSymlinks>
380 <include>*.war</include>
389 <groupId>com.github.sylvainlaurent.maven</groupId>
390 <artifactId>yaml-json-validator-maven-plugin</artifactId>
394 <phase>validate</phase>
396 <goal>validate</goal>
402 <include>src/main/resources/**/*.y*ml</include>
403 <include>src/test/resources/**/*.y*ml</include>
408 <include>src/main/resources/**/*.json</include>
409 <include>src/test/resources/**/*.json</include>
422 <!--This plugin's configuration is used to store Eclipse m2e settings
423 only. It has no influence on the Maven build itself. -->
425 <groupId>org.eclipse.m2e</groupId>
426 <artifactId>lifecycle-mapping</artifactId>
427 <version>1.0.0</version>
429 <lifecycleMappingMetadata>
433 <pluginExecutionFilter>
434 <groupId>com.jcabi</groupId>
435 <artifactId>jcabi-maven-plugin</artifactId>
436 <versionRange>[0.0,)</versionRange>
440 </pluginExecutionFilter>
447 </lifecycleMappingMetadata>
451 <!-- jacbi (log injection) -->
462 <activeByDefault>false</activeByDefault>
466 <finalName>${project.artifactId}-${project.version}</finalName>
470 <id>docker-staging</id>
472 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
473 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
480 <activeByDefault>false</activeByDefault>
483 <docker.username>docker</docker.username>
484 <docker.password>docker</docker.password>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-resources-plugin</artifactId>
493 <id>copy-resources-fe</id>
494 <phase>verify</phase>
496 <goal>copy-resources</goal>
499 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
502 <directory>${project.parent.basedir}/catalog-fe/target</directory>
504 <include>catalog-fe-${project.version}.war</include>
508 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
510 <include>onboarding-fe-${project.version}.war</include>
519 <groupId>io.fabric8</groupId>
520 <artifactId>docker-maven-plugin</artifactId>
522 <apiVersion>1.23</apiVersion>
523 <registry>nexus3.onap.org:10001</registry>
526 <username>${docker.username}</username>
527 <password>${docker.password}</password>
532 <!-- Build frontend image -->
534 <name>onap/sdc-frontend</name>
535 <alias>sdc-frontend</alias>
537 <cleanup>try</cleanup>
538 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
540 <tag>${docker.tag}</tag>
542 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
551 <id>clean-images</id>
552 <phase>pre-clean</phase>
557 <removeAll>true</removeAll>
558 <image>onap/sdc-frontend</image>
563 <id>generate-images</id>
564 <phase>install</phase>
572 <phase>deploy</phase>
577 <image>onap/sdc-frontend</image>