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>
140 <groupId>com.fasterxml.jackson.core</groupId>
141 <artifactId>jackson-core</artifactId>
147 <groupId>com.fasterxml.jackson.core</groupId>
148 <artifactId>jackson-annotations</artifactId>
149 <version>${jackson-annotations.version}</version>
150 <scope>compile</scope>
155 <groupId>org.apache.httpcomponents</groupId>
156 <artifactId>httpclient</artifactId>
157 <version>${httpclient.version}</version>
158 <scope>compile</scope>
162 <groupId>org.apache.httpcomponents</groupId>
163 <artifactId>httpcore</artifactId>
164 <version>${httpcore.version}</version>
165 <scope>compile</scope>
169 <groupId>org.apache.httpcomponents</groupId>
170 <artifactId>httpmime</artifactId>
171 <version>${httpclient.version}</version>
172 <scope>compile</scope>
176 <groupId>commons-logging</groupId>
177 <artifactId>commons-logging</artifactId>
178 <version>${commons-logging}</version>
179 <scope>compile</scope>
183 <groupId>commons-codec</groupId>
184 <artifactId>commons-codec</artifactId>
185 <version>${commons-codec}</version>
186 <scope>compile</scope>
188 <!-- http client END -->
191 <groupId>javax.servlet</groupId>
192 <artifactId>javax.servlet-api</artifactId>
193 <version>${servlet-api.version}</version>
194 <scope>provided</scope>
197 <!-- JSON and YAML Parsing -->
199 <groupId>com.fasterxml.jackson.dataformat</groupId>
200 <artifactId>jackson-dataformat-yaml</artifactId>
201 <version>${jackson.version}</version>
202 <scope>compile</scope>
207 <groupId>org.eclipse.jetty</groupId>
208 <artifactId>jetty-proxy</artifactId>
209 <version>${jetty.version}</version>
210 <scope>compile</scope>
214 <groupId>org.eclipse.jetty</groupId>
215 <artifactId>jetty-servlets</artifactId>
216 <version>${jetty.version}</version>
217 <scope>compile</scope>
220 <!-- Proxy servlet -->
222 <groupId>com.google.guava</groupId>
223 <artifactId>guava</artifactId>
224 <version>${guava.version}</version>
225 <scope>compile</scope>
230 <groupId>com.jcabi</groupId>
231 <artifactId>jcabi-aspects</artifactId>
232 <version>${jcabi.version}</version>
233 <scope>compile</scope>
236 <groupId>org.aspectj</groupId>
237 <artifactId>aspectjrt</artifactId>
238 <version>${aspectjrt.version}</version>
239 <scope>compile</scope>
243 <groupId>org.apache.commons</groupId>
244 <artifactId>commons-lang3</artifactId>
245 <version>${lang3.version}</version>
246 <scope>compile</scope>
249 <!-- Inserted for ECOMP Portal Integration -->
251 <groupId>org.onap.portal.sdk</groupId>
252 <artifactId>epsdk-fw</artifactId>
253 <version>${ecomp.version}</version>
254 <scope>compile</scope>
257 <groupId>com.att.nsa</groupId>
258 <artifactId>cambriaClient</artifactId>
261 <artifactId>slf4j-log4j12</artifactId>
262 <groupId>org.slf4j</groupId>
266 <!-- System metrics -->
268 <groupId>org.fusesource</groupId>
269 <artifactId>sigar</artifactId>
270 <version>${sigar.version}</version>
271 <scope>compile</scope>
276 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
277 <artifactId>jersey-test-framework-provider-bundle</artifactId>
278 <version>${jersey-bom.version}</version>
284 <groupId>com.google.code.bean-matchers</groupId>
285 <artifactId>bean-matchers</artifactId>
286 <version>${bean-matchers.version}</version>
291 <groupId>org.eclipse.jetty</groupId>
292 <artifactId>jetty-servlet</artifactId>
293 <version>${jetty.version}</version>
298 <groupId>org.eclipse.jetty</groupId>
299 <artifactId>jetty-webapp</artifactId>
300 <version>${jetty.version}</version>
305 <groupId>org.mockito</groupId>
306 <artifactId>mockito-core</artifactId>
314 <finalName>${project.artifactId}-${project.version}</finalName>
318 <groupId>org.apache.maven.plugins</groupId>
319 <artifactId>maven-war-plugin</artifactId>
323 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
329 <directory>src/main/resources</directory>
336 <groupId>org.eclipse.jetty</groupId>
337 <artifactId>jetty-maven-plugin</artifactId>
338 <version>${jetty.version}</version>
341 <contextPath>/</contextPath>
342 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
344 <war>${project.build.directory}/${project.build.finalName}.war</war>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-deploy-plugin</artifactId>
357 <groupId>com.jcabi</groupId>
358 <artifactId>jcabi-maven-plugin</artifactId>
359 <version>${jcabi.maven.plugin.version}</version>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-clean-plugin</artifactId>
373 <id>clean.catalog.fe.folder</id>
382 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
383 <followSymlinks>false</followSymlinks>
385 <include>*.war</include>
394 <groupId>com.github.sylvainlaurent.maven</groupId>
395 <artifactId>yaml-json-validator-maven-plugin</artifactId>
399 <phase>validate</phase>
401 <goal>validate</goal>
407 <include>src/main/resources/**/*.y*ml</include>
408 <include>src/test/resources/**/*.y*ml</include>
413 <include>src/main/resources/**/*.json</include>
414 <include>src/test/resources/**/*.json</include>
427 <!--This plugin's configuration is used to store Eclipse m2e settings
428 only. It has no influence on the Maven build itself. -->
430 <groupId>org.eclipse.m2e</groupId>
431 <artifactId>lifecycle-mapping</artifactId>
432 <version>1.0.0</version>
434 <lifecycleMappingMetadata>
438 <pluginExecutionFilter>
439 <groupId>com.jcabi</groupId>
440 <artifactId>jcabi-maven-plugin</artifactId>
441 <versionRange>[0.0,)</versionRange>
445 </pluginExecutionFilter>
452 </lifecycleMappingMetadata>
456 <!-- jacbi (log injection) -->
467 <activeByDefault>false</activeByDefault>
471 <finalName>${project.artifactId}-${project.version}</finalName>
475 <id>docker-staging</id>
477 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
478 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
485 <activeByDefault>false</activeByDefault>
488 <docker.username>docker</docker.username>
489 <docker.password>docker</docker.password>
494 <groupId>org.apache.maven.plugins</groupId>
495 <artifactId>maven-resources-plugin</artifactId>
498 <id>copy-resources-fe</id>
499 <phase>verify</phase>
501 <goal>copy-resources</goal>
504 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
507 <directory>${project.parent.basedir}/catalog-fe/target</directory>
509 <include>catalog-fe-${project.version}.war</include>
513 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
515 <include>onboarding-fe-${project.version}.war</include>
524 <groupId>io.fabric8</groupId>
525 <artifactId>docker-maven-plugin</artifactId>
527 <apiVersion>1.23</apiVersion>
528 <registry>nexus3.onap.org:10001</registry>
531 <username>${docker.username}</username>
532 <password>${docker.password}</password>
537 <!-- Build frontend image -->
539 <name>onap/sdc-frontend</name>
540 <alias>sdc-frontend</alias>
542 <cleanup>try</cleanup>
543 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
545 <tag>${docker.tag}</tag>
547 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
556 <id>clean-images</id>
557 <phase>pre-clean</phase>
562 <removeAll>true</removeAll>
563 <image>onap/sdc-frontend</image>
568 <id>generate-images</id>
569 <phase>install</phase>
577 <phase>deploy</phase>
582 <image>onap/sdc-frontend</image>