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.5.2-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>security-utils</artifactId>
32 <version>${project.version}</version>
33 <scope>compile</scope>
37 <groupId>org.openecomp.sdc</groupId>
38 <artifactId>common-app-api</artifactId>
39 <version>${project.version}</version>
42 <!-- File changes listener -->
44 <groupId>ch.qos.logback</groupId>
45 <artifactId>logback-classic</artifactId>
46 <version>${logback.version}</version>
47 <scope>compile</scope>
51 <groupId>org.codehaus.groovy</groupId>
52 <artifactId>groovy</artifactId>
53 <scope>compile</scope>
57 <groupId>org.codehaus.janino</groupId>
58 <artifactId>janino</artifactId>
59 <version>${janino.version}</version>
60 <scope>compile</scope>
64 <groupId>org.yaml</groupId>
65 <artifactId>snakeyaml</artifactId>
66 <version>${snakeyaml.version}</version>
67 <scope>compile</scope>
71 <groupId>org.apache.commons</groupId>
72 <artifactId>commons-jci-core</artifactId>
73 <version>${commons-jci-core.version}</version>
74 <scope>compile</scope>
78 <groupId>com.google.code.gson</groupId>
79 <artifactId>gson</artifactId>
80 <version>${gson.version}</version>
81 <scope>compile</scope>
85 <groupId>org.glassfish.jersey.containers</groupId>
86 <artifactId>jersey-container-servlet</artifactId>
87 <version>${jersey-bom.version}</version>
88 <scope>compile</scope>
92 <groupId>org.glassfish.jersey.media</groupId>
93 <artifactId>jersey-media-multipart</artifactId>
94 <version>${jersey-bom.version}</version>
95 <scope>compile</scope>
99 <groupId>org.glassfish.jersey.media</groupId>
100 <artifactId>jersey-media-moxy</artifactId>
101 <version>${jersey-bom.version}</version>
102 <scope>compile</scope>
107 <groupId>org.glassfish.jersey.media</groupId>
108 <artifactId>jersey-media-json-jackson</artifactId>
109 <version>${jersey-bom.version}</version>
110 <scope>compile</scope>
114 <groupId>org.glassfish.jersey.inject</groupId>
115 <artifactId>jersey-hk2</artifactId>
116 <version>${jersey-bom.version}</version>
120 <groupId>com.fasterxml.jackson.core</groupId>
121 <artifactId>jackson-core</artifactId>
122 <version>${jackson.version}</version>
123 <scope>compile</scope>
127 <groupId>com.fasterxml.jackson.core</groupId>
128 <artifactId>jackson-databind</artifactId>
129 <version>${jackson.version}</version>
130 <scope>compile</scope>
134 <groupId>com.fasterxml.jackson.core</groupId>
135 <artifactId>jackson-annotations</artifactId>
136 <version>${jackson-annotations.version}</version>
137 <scope>compile</scope>
142 <groupId>org.apache.httpcomponents</groupId>
143 <artifactId>httpclient</artifactId>
144 <version>${httpclient.version}</version>
145 <scope>compile</scope>
149 <groupId>org.apache.httpcomponents</groupId>
150 <artifactId>httpcore</artifactId>
151 <version>${httpcore.version}</version>
152 <scope>compile</scope>
156 <groupId>org.apache.httpcomponents</groupId>
157 <artifactId>httpmime</artifactId>
158 <version>${httpclient.version}</version>
159 <scope>compile</scope>
163 <groupId>commons-logging</groupId>
164 <artifactId>commons-logging</artifactId>
165 <version>${commons-logging}</version>
166 <scope>compile</scope>
170 <groupId>commons-codec</groupId>
171 <artifactId>commons-codec</artifactId>
172 <version>${commons-codec}</version>
173 <scope>compile</scope>
175 <!-- http client END -->
178 <groupId>javax.servlet</groupId>
179 <artifactId>javax.servlet-api</artifactId>
180 <version>${servlet-api.version}</version>
181 <scope>provided</scope>
184 <!-- JSON and YAML Parsing -->
186 <groupId>com.fasterxml.jackson.dataformat</groupId>
187 <artifactId>jackson-dataformat-yaml</artifactId>
188 <version>${jackson.version}</version>
189 <scope>compile</scope>
194 <groupId>org.eclipse.jetty</groupId>
195 <artifactId>jetty-proxy</artifactId>
196 <version>${jetty.version}</version>
197 <scope>compile</scope>
201 <groupId>org.eclipse.jetty</groupId>
202 <artifactId>jetty-servlets</artifactId>
203 <version>${jetty.version}</version>
204 <scope>compile</scope>
207 <!-- Proxy servlet -->
209 <groupId>com.google.guava</groupId>
210 <artifactId>guava</artifactId>
211 <version>${guava.version}</version>
212 <scope>compile</scope>
217 <groupId>com.jcabi</groupId>
218 <artifactId>jcabi-aspects</artifactId>
219 <version>${jcabi.version}</version>
220 <scope>compile</scope>
223 <groupId>org.aspectj</groupId>
224 <artifactId>aspectjrt</artifactId>
225 <version>${aspectjrt.version}</version>
226 <scope>compile</scope>
230 <groupId>org.apache.commons</groupId>
231 <artifactId>commons-lang3</artifactId>
232 <version>${lang3.version}</version>
233 <scope>compile</scope>
236 <!-- Inserted for ECOMP Portal Integration -->
238 <groupId>org.onap.portal.sdk</groupId>
239 <artifactId>epsdk-fw</artifactId>
240 <version>${ecomp.version}</version>
241 <scope>compile</scope>
244 <groupId>com.att.nsa</groupId>
245 <artifactId>cambriaClient</artifactId>
248 <artifactId>slf4j-log4j12</artifactId>
249 <groupId>org.slf4j</groupId>
253 <!-- System metrics -->
255 <groupId>org.fusesource</groupId>
256 <artifactId>sigar</artifactId>
257 <version>${sigar.version}</version>
258 <scope>compile</scope>
263 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
264 <artifactId>jersey-test-framework-provider-bundle</artifactId>
265 <version>${jersey-bom.version}</version>
271 <groupId>com.google.code.bean-matchers</groupId>
272 <artifactId>bean-matchers</artifactId>
273 <version>${bean-matchers.version}</version>
278 <groupId>org.eclipse.jetty</groupId>
279 <artifactId>jetty-servlet</artifactId>
280 <version>${jetty.version}</version>
285 <groupId>org.eclipse.jetty</groupId>
286 <artifactId>jetty-webapp</artifactId>
287 <version>${jetty.version}</version>
292 <groupId>org.mockito</groupId>
293 <artifactId>mockito-core</artifactId>
301 <finalName>${project.artifactId}-${project.version}</finalName>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-war-plugin</artifactId>
310 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
316 <directory>src/main/resources</directory>
323 <groupId>org.eclipse.jetty</groupId>
324 <artifactId>jetty-maven-plugin</artifactId>
325 <version>${jetty.version}</version>
328 <contextPath>/</contextPath>
329 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
331 <war>${project.build.directory}/${project.build.finalName}.war</war>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-deploy-plugin</artifactId>
344 <groupId>com.jcabi</groupId>
345 <artifactId>jcabi-maven-plugin</artifactId>
346 <version>${jcabi.maven.plugin.version}</version>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-clean-plugin</artifactId>
360 <id>clean.catalog.fe.folder</id>
369 <directory>${project.parent.basedir}/catalog-fe/sdc-frontend/</directory>
370 <followSymlinks>false</followSymlinks>
372 <include>*.war</include>
381 <groupId>com.github.sylvainlaurent.maven</groupId>
382 <artifactId>yaml-json-validator-maven-plugin</artifactId>
386 <phase>validate</phase>
388 <goal>validate</goal>
394 <include>src/main/resources/**/*.y*ml</include>
395 <include>src/test/resources/**/*.y*ml</include>
400 <include>src/main/resources/**/*.json</include>
401 <include>src/test/resources/**/*.json</include>
414 <!--This plugin's configuration is used to store Eclipse m2e settings
415 only. It has no influence on the Maven build itself. -->
417 <groupId>org.eclipse.m2e</groupId>
418 <artifactId>lifecycle-mapping</artifactId>
419 <version>1.0.0</version>
421 <lifecycleMappingMetadata>
425 <pluginExecutionFilter>
426 <groupId>com.jcabi</groupId>
427 <artifactId>jcabi-maven-plugin</artifactId>
428 <versionRange>[0.0,)</versionRange>
432 </pluginExecutionFilter>
439 </lifecycleMappingMetadata>
443 <!-- jacbi (log injection) -->
454 <activeByDefault>false</activeByDefault>
458 <finalName>${project.artifactId}-${project.version}</finalName>
462 <id>docker-staging</id>
464 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
465 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
472 <activeByDefault>false</activeByDefault>
475 <docker.username>docker</docker.username>
476 <docker.password>docker</docker.password>
481 <groupId>org.apache.maven.plugins</groupId>
482 <artifactId>maven-resources-plugin</artifactId>
485 <id>copy-resources-fe</id>
486 <phase>verify</phase>
488 <goal>copy-resources</goal>
491 <outputDirectory>${basedir}/sdc-frontend</outputDirectory>
494 <directory>${project.parent.basedir}/catalog-fe/target</directory>
496 <include>catalog-fe-${project.version}.war</include>
500 <directory>${project.parent.basedir}/openecomp-ui/target</directory>
502 <include>onboarding-fe-${project.version}.war</include>
511 <groupId>io.fabric8</groupId>
512 <artifactId>docker-maven-plugin</artifactId>
514 <apiVersion>1.23</apiVersion>
515 <registry>nexus3.onap.org:10001</registry>
518 <username>${docker.username}</username>
519 <password>${docker.password}</password>
524 <!-- Build frontend image -->
526 <name>onap/sdc-frontend</name>
527 <alias>sdc-frontend</alias>
529 <cleanup>try</cleanup>
530 <dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
532 <tag>${docker.tag}</tag>
533 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
541 <id>clean-images</id>
542 <phase>pre-clean</phase>
547 <removeAll>true</removeAll>
548 <image>onap/sdc-frontend</image>
553 <id>generate-images</id>
554 <phase>install</phase>
562 <phase>deploy</phase>
567 <image>onap/sdc-frontend</image>