blob: 489fd309e5c75e049e9179d5e3f30f39fa2d2b26 [file] [log] [blame]
biniek6f2b2082018-12-17 11:18:05 +01001<?xml version="1.0"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
4 <modelVersion>4.0.0</modelVersion>
5
6 <!-- This is the Maven project object model (POM) file for the open-source
7 SDK web app. This is NOT the Portal - but it is developed and supported by
8 the Portal team. -->
9 <groupId>org.onap.vid</groupId>
10 <artifactId>epsdk-app-onap</artifactId>
Ittay Stern212806a2020-01-26 18:12:47 +020011 <version>6.0.3-SNAPSHOT</version>
biniek6f2b2082018-12-17 11:18:05 +010012 <packaging>war</packaging>
13 <name>ECOMP SDK Webapp for OpenSource</name>
14 <description>ECOMP SDK Web Application for public release</description>
15
Ittay Stern9f9e9b22019-02-28 12:09:45 +020016 <parent>
17 <groupId>org.onap.oparent</groupId>
18 <artifactId>oparent</artifactId>
Ittay Stern6c2d0932019-12-15 18:33:18 +020019 <version>2.1.0</version>
Ittay Stern9f9e9b22019-02-28 12:09:45 +020020 <relativePath/>
21 </parent>
22
biniek6f2b2082018-12-17 11:18:05 +010023 <properties>
24 <encoding>UTF-8</encoding>
25 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Ittay Stern68803a22020-01-20 21:46:47 +020027 <epsdk.version>2.6.0</epsdk.version>
28 <epsdk.overlay.version>2.5.0</epsdk.overlay.version>
Ittay Stern0f8e77d2020-02-24 13:55:38 +020029 <jaxb.version>2.3.2</jaxb.version>
Eylon Malin434c95a2019-11-28 15:35:16 +020030 <jackson.version>2.10.1</jackson.version>
31 <jackson.databind.version>2.10.1</jackson.databind.version>
Amichai Hemli2ca9ef32020-02-02 15:46:13 +020032 <springframework.version>5.2.3.RELEASE</springframework.version>
Einat Vinouzed7192592019-07-07 14:15:07 +030033 <!-- epsdk-core is importing this class, which is only on spring-orm 4 but not in orm 5:
34 org.springframework.orm.hibernate4.HibernateTransactionManager
35 so following orm.version lets epsdk-core find it -->
36 <springframework.orm.version>4.3.22.RELEASE</springframework.orm.version>
biniek6f2b2082018-12-17 11:18:05 +010037 <hibernate.version>4.3.11.Final</hibernate.version>
38 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
39 <skipassembly>true</skipassembly>
biniek6f2b2082018-12-17 11:18:05 +010040 <nexusproxy>https://nexus.onap.org</nexusproxy>
Ittay Sternb93b96b2019-06-19 14:39:39 +030041 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
42 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
43 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
44 <sitePath>content/sites/site/org/onap/vid/${project.version}</sitePath>
biniek6f2b2082018-12-17 11:18:05 +010045
46 <!-- SONAR -->
biniek6f2b2082018-12-17 11:18:05 +010047 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
Ittay Stern67a23ab2019-02-25 19:21:32 +020048 <sonar.surefire.reportPaths>${project.build.directory}/surefire-reports</sonar.surefire.reportPaths>
biniek6f2b2082018-12-17 11:18:05 +010049 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Ittay Stern67a23ab2019-02-25 19:21:32 +020050 <!-- ignore all .js files on sonar coverage report -->
Ittay Sterneda81402019-02-26 06:32:43 +020051 <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
biniek6f2b2082018-12-17 11:18:05 +010052 </properties>
53
54 <repositories>
55 <repository>
56 <id>ecomp-releases</id>
57 <name>VID Release Repository</name>
Ittay Sternb93b96b2019-06-19 14:39:39 +030058 <url>${nexusproxy}/${releaseNexusPath}</url>
biniek6f2b2082018-12-17 11:18:05 +010059 </repository>
60 <repository>
61 <id>ecomp-snapshots</id>
62 <name>VID Snapshot Repository</name>
Ittay Sternb93b96b2019-06-19 14:39:39 +030063 <url>${nexusproxy}/${snapshotNexusPath}</url>
biniek6f2b2082018-12-17 11:18:05 +010064 </repository>
65 <repository>
66 <id>ecomp-staging</id>
67 <name>VID Staging Repository</name>
Ittay Sternb93b96b2019-06-19 14:39:39 +030068 <url>${nexusproxy}/${stagingNexusPath}</url>
biniek6f2b2082018-12-17 11:18:05 +010069 </repository>
70 <repository>
71 <!-- Snapshots repository has ECOMP snapshot artifacts -->
72 <id>oss-snapshots</id>
73 <name>oss Central - Snapshots</name>
74 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
75 </repository>
76 </repositories>
77 <distributionManagement>
78 <repository>
79 <id>ecomp-releases</id>
80 <name>VID Release Repository</name>
81 <url>${nexusproxy}/${releaseNexusPath}</url>
82 </repository>
83 <snapshotRepository>
84 <id>ecomp-snapshots</id>
85 <name>VID Snapshot Repository</name>
86 <url>${nexusproxy}/${snapshotNexusPath}</url>
87 </snapshotRepository>
88 <!-- added for javadoc -->
89 <site>
90 <id>ecomp-site</id>
Ittay Sternb93b96b2019-06-19 14:39:39 +030091 <url>dav:${nexusproxy}/${sitePath}</url>
biniek6f2b2082018-12-17 11:18:05 +010092 </site>
93 </distributionManagement>
94
95 <profiles>
96 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
97 <profile>
98 <id>doclint-java8-disable</id>
99 <activation>
100 <jdk>[1.8,)</jdk>
101 </activation>
102 <build>
103 <plugins>
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-javadoc-plugin</artifactId>
107 <version>2.10.4</version>
108 <configuration>
109 <additionalparam>-Xdoclint:none</additionalparam>
110 </configuration>
111 </plugin>
112 </plugins>
113 </build>
114 </profile>
115 </profiles>
116
117 <build>
118 <finalName>vid</finalName>
119 <plugins>
biniek6f2b2082018-12-17 11:18:05 +0100120 <!-- Compile to Java 1.8 class output format -->
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-compiler-plugin</artifactId>
124 <version>3.1</version>
125 <configuration>
126 <source>1.8</source>
127 <target>1.8</target>
128 </configuration>
129 </plugin>
130
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-surefire-plugin</artifactId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200134 <version>2.22.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100135 <configuration>
biniek6f2b2082018-12-17 11:18:05 +0100136 <includes>
137 <include>**/Test*.java</include>
138 <include>**/*Test.java</include>
139 <include>**/*TestCase.java</include>
140 </includes>
141 <additionalClasspathElements>
142 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
143 </additionalClasspathElements>
144 <systemPropertyVariables>
145 <container.classpath>classpath:</container.classpath>
146 </systemPropertyVariables>
147 <useSystemClassLoader>false</useSystemClassLoader>
Einat Vinouzef486e802019-07-11 16:25:44 +0300148 <properties>
149 <property>
150 <name>usedefaultlisteners</name>
151 <value>false</value>
152 </property>
153 </properties>
biniek6f2b2082018-12-17 11:18:05 +0100154 </configuration>
155 </plugin>
156
157 <!-- add version number to manifest -->
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-war-plugin</artifactId>
Ittay Stern5f458462019-07-11 12:08:03 +0300161 <version>3.2.0</version>
biniek6f2b2082018-12-17 11:18:05 +0100162 <configuration>
163 <archive>
164 <manifest>
165 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
166 </manifest>
167 <manifestEntries>
168 <Build-Number>${project.version}</Build-Number>
169 <Build-Time>${maven.build.timestamp}</Build-Time>
170 </manifestEntries>
171 </archive>
172 <overlays>
173 <overlay>
174 <groupId>org.onap.vid</groupId>
175 <artifactId>vid-app-common</artifactId>
176 </overlay>
177 <overlay>
178 <groupId>org.onap.portal.sdk</groupId>
179 <artifactId>epsdk-app-overlay</artifactId>
180 </overlay>
Ittay Stern5f458462019-07-11 12:08:03 +0300181 <overlay>
182 <groupId>org.onap.vid</groupId>
183 <artifactId>vid-webpack-master</artifactId>
184 </overlay>
biniek6f2b2082018-12-17 11:18:05 +0100185 </overlays>
186 </configuration>
187 </plugin>
188
189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-assembly-plugin</artifactId>
192 <version>3.0.0</version>
193 <configuration>
194 <skipAssembly>${skipassembly}</skipAssembly>
195 <descriptors>
196 <descriptor>${basedir}/distribution.xml</descriptor>
197 </descriptors>
198 </configuration>
199 <executions>
200 <execution>
201 <id>make-assembly</id>
202 <phase>package</phase>
203 <goals>
204 <goal>single</goal>
205 </goals>
206 </execution>
207 </executions>
208 </plugin>
209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-site-plugin</artifactId>
212 <version>3.6</version>
213 <dependencies>
214 <dependency>
215 <groupId>org.apache.maven.wagon</groupId>
216 <artifactId>wagon-webdav-jackrabbit</artifactId>
217 <version>2.10</version>
218 </dependency>
219 </dependencies>
220 </plugin>
221 <plugin>
Ittay Stern6c8df5b2019-08-05 21:21:02 +0300222 <groupId>org.sonarsource.scanner.maven</groupId>
223 <artifactId>sonar-maven-plugin</artifactId>
224 <version>3.6.0.1398</version>
biniek6f2b2082018-12-17 11:18:05 +0100225 </plugin>
226 <plugin>
227 <groupId>org.jacoco</groupId>
228 <artifactId>jacoco-maven-plugin</artifactId>
Ittay Stern6c8df5b2019-08-05 21:21:02 +0300229 <version>0.8.4</version>
biniek6f2b2082018-12-17 11:18:05 +0100230 <executions>
231 <execution>
232 <id>default-prepare-agent</id>
233 <goals>
234 <goal>prepare-agent</goal>
235 </goals>
236 </execution>
237 <execution>
238 <id>default-report</id>
239 <goals>
240 <goal>report</goal>
241 </goals>
242 </execution>
243 </executions>
244 </plugin>
245
246 </plugins>
247 </build>
248
249 <reporting>
250 <plugins>
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-javadoc-plugin</artifactId>
254 <version>2.10.4</version>
255 <configuration>
256 <failOnError>false</failOnError>
257 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
258 <docletArtifact>
259 <groupId>org.umlgraph</groupId>
260 <artifactId>umlgraph</artifactId>
261 <version>5.6</version>
262 </docletArtifact>
263 <additionalparam>-views</additionalparam>
264 <useStandardDocletOptions>true</useStandardDocletOptions>
265 </configuration>
266 </plugin>
267 </plugins>
268 </reporting>
269 <dependencies>
270 <!-- SDK overlay war -->
271 <dependency>
272 <groupId>org.onap.portal.sdk</groupId>
273 <artifactId>epsdk-app-overlay</artifactId>
Ittay Stern68803a22020-01-20 21:46:47 +0200274 <version>${epsdk.overlay.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100275 <type>war</type>
276 </dependency>
277 <dependency>
278 <groupId>org.onap.portal.sdk</groupId>
279 <artifactId>epsdk-app-common</artifactId>
280 <version>${epsdk.version}</version>
281 <type>jar</type>
biniek6f2b2082018-12-17 11:18:05 +0100282 </dependency>
283 <dependency>
284 <groupId>org.onap.vid</groupId>
285 <artifactId>vid-app-common</artifactId>
286 <version>${project.version}</version>
287 <type>war</type>
biniek6f2b2082018-12-17 11:18:05 +0100288 </dependency>
289 <dependency>
290 <groupId>org.onap.vid</groupId>
291 <artifactId>vid-app-common</artifactId>
292 <version>${project.version}</version>
293 <type>jar</type>
294 <classifier>classes</classifier>
295 </dependency>
Ittay Stern5f458462019-07-11 12:08:03 +0300296 <dependency>
297 <groupId>org.onap.vid</groupId>
298 <artifactId>vid-webpack-master</artifactId>
299 <version>${project.version}</version>
300 <type>war</type>
301 </dependency>
biniek6f2b2082018-12-17 11:18:05 +0100302 <!-- SDK components -->
303 <dependency>
304 <groupId>org.onap.portal.sdk</groupId>
305 <artifactId>epsdk-core</artifactId>
306 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100307 </dependency>
308 <dependency>
309 <groupId>org.onap.portal.sdk</groupId>
310 <artifactId>epsdk-analytics</artifactId>
311 <version>${epsdk.version}</version>
312 <exclusions>
313 <exclusion>
biniek6f2b2082018-12-17 11:18:05 +0100314 <groupId>com.lowagie</groupId>
315 <artifactId>itext</artifactId>
316 </exclusion>
317 </exclusions>
318 </dependency>
319 <dependency>
320 <groupId>org.onap.portal.sdk</groupId>
321 <artifactId>epsdk-workflow</artifactId>
322 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100323 </dependency>
324 <dependency>
325 <groupId>com.att.eelf</groupId>
326 <artifactId>eelf-core</artifactId>
327 <version>1.0.0</version>
328 </dependency>
329 <!-- Mapper -->
330 <dependency>
331 <groupId>com.fasterxml.jackson.core</groupId>
332 <artifactId>jackson-annotations</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200333 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100334 </dependency>
335 <dependency>
336 <groupId>com.fasterxml.jackson.core</groupId>
337 <artifactId>jackson-core</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200338 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100339 </dependency>
340 <dependency>
341 <groupId>com.fasterxml.jackson.core</groupId>
342 <artifactId>jackson-databind</artifactId>
Amichai Hemli98794612019-09-16 10:53:47 +0300343 <version>${jackson.databind.version}</version>
Ittay Stern350c5302019-02-13 17:50:59 +0200344 </dependency>
Einat Vinouzef486e802019-07-11 16:25:44 +0300345 <dependency>
346 <groupId>com.fasterxml.jackson.module</groupId>
347 <artifactId>jackson-module-kotlin</artifactId>
348 <version>${jackson.version}</version>
349 </dependency>
Ittay Stern350c5302019-02-13 17:50:59 +0200350 <!-- jackson-dataformat-* are to override elasticsearch-2.2.0 deps hell -->
351 <!-- (elasticsearch is an epsdk-app-common-2.4.0 dep) -->
352 <dependency>
353 <groupId>com.fasterxml.jackson.dataformat</groupId>
354 <artifactId>jackson-dataformat-smile</artifactId>
355 <version>${jackson.version}</version>
356 </dependency>
357 <dependency>
358 <groupId>com.fasterxml.jackson.dataformat</groupId>
359 <artifactId>jackson-dataformat-yaml</artifactId>
360 <version>${jackson.version}</version>
361 </dependency>
362 <dependency>
363 <groupId>com.fasterxml.jackson.dataformat</groupId>
364 <artifactId>jackson-dataformat-cbor</artifactId>
365 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100366 </dependency>
Ittay Stern2687d312019-02-21 17:26:33 +0200367 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
biniek6f2b2082018-12-17 11:18:05 +0100368 <dependency>
369 <groupId>com.mchange</groupId>
370 <artifactId>c3p0</artifactId>
Ittay Sterna8f5de02019-04-30 10:55:44 +0300371 <version>0.9.5.4</version>
biniek6f2b2082018-12-17 11:18:05 +0100372 </dependency>
373 <dependency>
374 <groupId>io.searchbox</groupId>
375 <artifactId>jest</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300376 <version>6.3.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100377 <exclusions>
378 <exclusion>
379 <groupId>commons-logging</groupId>
380 <artifactId>commons-logging</artifactId>
381 </exclusion>
382 </exclusions>
383 </dependency>
384 <dependency>
385 <groupId>javax.servlet</groupId>
386 <artifactId>javax.servlet-api</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300387 <version>4.0.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100388 </dependency>
389 <dependency>
390 <groupId>junit</groupId>
391 <artifactId>junit</artifactId>
392 <version>4.12</version>
393 </dependency>
394 <dependency>
395 <groupId>org.json</groupId>
396 <artifactId>json</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300397 <version>20190722</version>
biniek6f2b2082018-12-17 11:18:05 +0100398 </dependency>
399 <dependency>
Rina Roibfcf8e42019-07-15 10:36:26 +0300400 <groupId>org.liquibase</groupId>
401 <artifactId>liquibase-core</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300402 <version>3.7.0</version>
Rina Roibfcf8e42019-07-15 10:36:26 +0300403 </dependency>
404 <dependency>
biniek6f2b2082018-12-17 11:18:05 +0100405 <groupId>org.quartz-scheduler</groupId>
406 <artifactId>quartz</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300407 <version>2.3.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100408 <exclusions>
409 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
410 <exclusion>
411 <groupId>c3p0</groupId>
412 <artifactId>c3p0</artifactId>
413 </exclusion>
414 </exclusions>
415 </dependency>
416 <!-- bridge to implement commons-logging using slf4j -->
417 <dependency>
418 <groupId>org.slf4j</groupId>
419 <artifactId>jcl-over-slf4j</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300420 <version>1.7.27</version>
biniek6f2b2082018-12-17 11:18:05 +0100421 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200422
423 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
biniek6f2b2082018-12-17 11:18:05 +0100424 <dependency>
425 <groupId>org.springframework</groupId>
426 <artifactId>spring-core</artifactId>
427 <version>${springframework.version}</version>
428 <exclusions>
429 <exclusion>
430 <groupId>commons-logging</groupId>
431 <artifactId>commons-logging</artifactId>
432 </exclusion>
433 </exclusions>
434 </dependency>
435 <dependency>
436 <groupId>org.springframework</groupId>
biniek6f2b2082018-12-17 11:18:05 +0100437 <artifactId>spring-test</artifactId>
438 <version>${springframework.version}</version>
439 </dependency>
440 <dependency>
441 <groupId>org.springframework</groupId>
442 <artifactId>spring-tx</artifactId>
443 <version>${springframework.version}</version>
444 </dependency>
445 <dependency>
446 <groupId>org.springframework</groupId>
447 <artifactId>spring-web</artifactId>
448 <version>${springframework.version}</version>
449 </dependency>
450 <dependency>
451 <groupId>org.springframework</groupId>
452 <artifactId>spring-webmvc</artifactId>
453 <version>${springframework.version}</version>
454 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200455 <dependency>
456 <groupId>org.springframework</groupId>
457 <artifactId>spring-context-support</artifactId>
458 <version>${springframework.version}</version>
459 </dependency>
460 <dependency>
461 <groupId>org.springframework</groupId>
462 <artifactId>spring-orm</artifactId>
Einat Vinouzed7192592019-07-07 14:15:07 +0300463 <version>${springframework.orm.version}</version>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200464 </dependency>
465 <dependency>
466 <groupId>org.springframework</groupId>
467 <artifactId>spring-aop</artifactId>
468 <version>${springframework.version}</version>
469 </dependency>
470
Ittay Stern0f8e77d2020-02-24 13:55:38 +0200471 <!-- https://eclipse-ee4j.github.io/jaxb-ri/#maven-artifacts -->
472 <!-- API -->
Einat Vinouzef486e802019-07-11 16:25:44 +0300473 <dependency>
Ittay Stern0f8e77d2020-02-24 13:55:38 +0200474 <groupId>jakarta.xml.bind</groupId>
475 <artifactId>jakarta.xml.bind-api</artifactId>
476 <version>${jaxb.version}</version>
477 </dependency>
478 <!-- Runtime -->
479 <dependency>
480 <groupId>org.glassfish.jaxb</groupId>
481 <artifactId>jaxb-runtime</artifactId>
482 <version>${jaxb.version}</version>
Einat Vinouzef486e802019-07-11 16:25:44 +0300483 </dependency>
484
biniek6f2b2082018-12-17 11:18:05 +0100485 </dependencies>
486</project>