blob: 0b9b609969748401d1a82a85c8ee8434a1703bb4 [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 Stern2e0d6b12020-01-08 17:35:45 +020011 <version>6.0.2-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>
Eylon Malind36ae5e2019-08-07 18:36:49 +030027 <epsdk.version>2.5.0</epsdk.version>
Eylon Malin434c95a2019-11-28 15:35:16 +020028 <jackson.version>2.10.1</jackson.version>
29 <jackson.databind.version>2.10.1</jackson.databind.version>
Amichai Hemli2ca9ef32020-02-02 15:46:13 +020030 <springframework.version>5.2.3.RELEASE</springframework.version>
Einat Vinouzed7192592019-07-07 14:15:07 +030031 <!-- epsdk-core is importing this class, which is only on spring-orm 4 but not in orm 5:
32 org.springframework.orm.hibernate4.HibernateTransactionManager
33 so following orm.version lets epsdk-core find it -->
34 <springframework.orm.version>4.3.22.RELEASE</springframework.orm.version>
biniek6f2b2082018-12-17 11:18:05 +010035 <hibernate.version>4.3.11.Final</hibernate.version>
36 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
37 <skipassembly>true</skipassembly>
biniek6f2b2082018-12-17 11:18:05 +010038 <nexusproxy>https://nexus.onap.org</nexusproxy>
Ittay Sternb93b96b2019-06-19 14:39:39 +030039 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
40 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
41 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
42 <sitePath>content/sites/site/org/onap/vid/${project.version}</sitePath>
biniek6f2b2082018-12-17 11:18:05 +010043
44 <!-- SONAR -->
biniek6f2b2082018-12-17 11:18:05 +010045 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
Ittay Stern67a23ab2019-02-25 19:21:32 +020046 <sonar.surefire.reportPaths>${project.build.directory}/surefire-reports</sonar.surefire.reportPaths>
biniek6f2b2082018-12-17 11:18:05 +010047 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Ittay Stern67a23ab2019-02-25 19:21:32 +020048 <!-- ignore all .js files on sonar coverage report -->
Ittay Sterneda81402019-02-26 06:32:43 +020049 <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
biniek6f2b2082018-12-17 11:18:05 +010050 </properties>
51
52 <repositories>
53 <repository>
54 <id>ecomp-releases</id>
55 <name>VID Release Repository</name>
Ittay Sternb93b96b2019-06-19 14:39:39 +030056 <url>${nexusproxy}/${releaseNexusPath}</url>
biniek6f2b2082018-12-17 11:18:05 +010057 </repository>
58 <repository>
59 <id>ecomp-snapshots</id>
60 <name>VID Snapshot Repository</name>
Ittay Sternb93b96b2019-06-19 14:39:39 +030061 <url>${nexusproxy}/${snapshotNexusPath}</url>
biniek6f2b2082018-12-17 11:18:05 +010062 </repository>
63 <repository>
64 <id>ecomp-staging</id>
65 <name>VID Staging Repository</name>
Ittay Sternb93b96b2019-06-19 14:39:39 +030066 <url>${nexusproxy}/${stagingNexusPath}</url>
biniek6f2b2082018-12-17 11:18:05 +010067 </repository>
68 <repository>
69 <!-- Snapshots repository has ECOMP snapshot artifacts -->
70 <id>oss-snapshots</id>
71 <name>oss Central - Snapshots</name>
72 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
73 </repository>
74 </repositories>
75 <distributionManagement>
76 <repository>
77 <id>ecomp-releases</id>
78 <name>VID Release Repository</name>
79 <url>${nexusproxy}/${releaseNexusPath}</url>
80 </repository>
81 <snapshotRepository>
82 <id>ecomp-snapshots</id>
83 <name>VID Snapshot Repository</name>
84 <url>${nexusproxy}/${snapshotNexusPath}</url>
85 </snapshotRepository>
86 <!-- added for javadoc -->
87 <site>
88 <id>ecomp-site</id>
Ittay Sternb93b96b2019-06-19 14:39:39 +030089 <url>dav:${nexusproxy}/${sitePath}</url>
biniek6f2b2082018-12-17 11:18:05 +010090 </site>
91 </distributionManagement>
92
93 <profiles>
94 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
95 <profile>
96 <id>doclint-java8-disable</id>
97 <activation>
98 <jdk>[1.8,)</jdk>
99 </activation>
100 <build>
101 <plugins>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-javadoc-plugin</artifactId>
105 <version>2.10.4</version>
106 <configuration>
107 <additionalparam>-Xdoclint:none</additionalparam>
108 </configuration>
109 </plugin>
110 </plugins>
111 </build>
112 </profile>
113 </profiles>
114
115 <build>
116 <finalName>vid</finalName>
117 <plugins>
biniek6f2b2082018-12-17 11:18:05 +0100118 <!-- Compile to Java 1.8 class output format -->
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-compiler-plugin</artifactId>
122 <version>3.1</version>
123 <configuration>
124 <source>1.8</source>
125 <target>1.8</target>
126 </configuration>
127 </plugin>
128
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-surefire-plugin</artifactId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200132 <version>2.22.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100133 <configuration>
biniek6f2b2082018-12-17 11:18:05 +0100134 <includes>
135 <include>**/Test*.java</include>
136 <include>**/*Test.java</include>
137 <include>**/*TestCase.java</include>
138 </includes>
139 <additionalClasspathElements>
140 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
141 </additionalClasspathElements>
142 <systemPropertyVariables>
143 <container.classpath>classpath:</container.classpath>
144 </systemPropertyVariables>
145 <useSystemClassLoader>false</useSystemClassLoader>
Einat Vinouzef486e802019-07-11 16:25:44 +0300146 <properties>
147 <property>
148 <name>usedefaultlisteners</name>
149 <value>false</value>
150 </property>
151 </properties>
biniek6f2b2082018-12-17 11:18:05 +0100152 </configuration>
153 </plugin>
154
155 <!-- add version number to manifest -->
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-war-plugin</artifactId>
Ittay Stern5f458462019-07-11 12:08:03 +0300159 <version>3.2.0</version>
biniek6f2b2082018-12-17 11:18:05 +0100160 <configuration>
161 <archive>
162 <manifest>
163 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
164 </manifest>
165 <manifestEntries>
166 <Build-Number>${project.version}</Build-Number>
167 <Build-Time>${maven.build.timestamp}</Build-Time>
168 </manifestEntries>
169 </archive>
170 <overlays>
171 <overlay>
172 <groupId>org.onap.vid</groupId>
173 <artifactId>vid-app-common</artifactId>
174 </overlay>
175 <overlay>
176 <groupId>org.onap.portal.sdk</groupId>
177 <artifactId>epsdk-app-overlay</artifactId>
178 </overlay>
Ittay Stern5f458462019-07-11 12:08:03 +0300179 <overlay>
180 <groupId>org.onap.vid</groupId>
181 <artifactId>vid-webpack-master</artifactId>
182 </overlay>
biniek6f2b2082018-12-17 11:18:05 +0100183 </overlays>
184 </configuration>
185 </plugin>
186
187 <plugin>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-assembly-plugin</artifactId>
190 <version>3.0.0</version>
191 <configuration>
192 <skipAssembly>${skipassembly}</skipAssembly>
193 <descriptors>
194 <descriptor>${basedir}/distribution.xml</descriptor>
195 </descriptors>
196 </configuration>
197 <executions>
198 <execution>
199 <id>make-assembly</id>
200 <phase>package</phase>
201 <goals>
202 <goal>single</goal>
203 </goals>
204 </execution>
205 </executions>
206 </plugin>
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-site-plugin</artifactId>
210 <version>3.6</version>
211 <dependencies>
212 <dependency>
213 <groupId>org.apache.maven.wagon</groupId>
214 <artifactId>wagon-webdav-jackrabbit</artifactId>
215 <version>2.10</version>
216 </dependency>
217 </dependencies>
218 </plugin>
219 <plugin>
Ittay Stern6c8df5b2019-08-05 21:21:02 +0300220 <groupId>org.sonarsource.scanner.maven</groupId>
221 <artifactId>sonar-maven-plugin</artifactId>
222 <version>3.6.0.1398</version>
biniek6f2b2082018-12-17 11:18:05 +0100223 </plugin>
224 <plugin>
225 <groupId>org.jacoco</groupId>
226 <artifactId>jacoco-maven-plugin</artifactId>
Ittay Stern6c8df5b2019-08-05 21:21:02 +0300227 <version>0.8.4</version>
biniek6f2b2082018-12-17 11:18:05 +0100228 <executions>
229 <execution>
230 <id>default-prepare-agent</id>
231 <goals>
232 <goal>prepare-agent</goal>
233 </goals>
234 </execution>
235 <execution>
236 <id>default-report</id>
237 <goals>
238 <goal>report</goal>
239 </goals>
240 </execution>
241 </executions>
242 </plugin>
243
244 </plugins>
245 </build>
246
247 <reporting>
248 <plugins>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-javadoc-plugin</artifactId>
252 <version>2.10.4</version>
253 <configuration>
254 <failOnError>false</failOnError>
255 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
256 <docletArtifact>
257 <groupId>org.umlgraph</groupId>
258 <artifactId>umlgraph</artifactId>
259 <version>5.6</version>
260 </docletArtifact>
261 <additionalparam>-views</additionalparam>
262 <useStandardDocletOptions>true</useStandardDocletOptions>
263 </configuration>
264 </plugin>
265 </plugins>
266 </reporting>
267 <dependencies>
268 <!-- SDK overlay war -->
269 <dependency>
270 <groupId>org.onap.portal.sdk</groupId>
271 <artifactId>epsdk-app-overlay</artifactId>
272 <version>${epsdk.version}</version>
273 <type>war</type>
274 </dependency>
275 <dependency>
276 <groupId>org.onap.portal.sdk</groupId>
277 <artifactId>epsdk-app-common</artifactId>
278 <version>${epsdk.version}</version>
279 <type>jar</type>
biniek6f2b2082018-12-17 11:18:05 +0100280 </dependency>
281 <dependency>
282 <groupId>org.onap.vid</groupId>
283 <artifactId>vid-app-common</artifactId>
284 <version>${project.version}</version>
285 <type>war</type>
biniek6f2b2082018-12-17 11:18:05 +0100286 </dependency>
287 <dependency>
288 <groupId>org.onap.vid</groupId>
289 <artifactId>vid-app-common</artifactId>
290 <version>${project.version}</version>
291 <type>jar</type>
292 <classifier>classes</classifier>
293 </dependency>
Ittay Stern5f458462019-07-11 12:08:03 +0300294 <dependency>
295 <groupId>org.onap.vid</groupId>
296 <artifactId>vid-webpack-master</artifactId>
297 <version>${project.version}</version>
298 <type>war</type>
299 </dependency>
biniek6f2b2082018-12-17 11:18:05 +0100300 <!-- SDK components -->
301 <dependency>
302 <groupId>org.onap.portal.sdk</groupId>
303 <artifactId>epsdk-core</artifactId>
304 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100305 </dependency>
306 <dependency>
307 <groupId>org.onap.portal.sdk</groupId>
308 <artifactId>epsdk-analytics</artifactId>
309 <version>${epsdk.version}</version>
310 <exclusions>
311 <exclusion>
biniek6f2b2082018-12-17 11:18:05 +0100312 <groupId>com.lowagie</groupId>
313 <artifactId>itext</artifactId>
314 </exclusion>
315 </exclusions>
316 </dependency>
317 <dependency>
318 <groupId>org.onap.portal.sdk</groupId>
319 <artifactId>epsdk-workflow</artifactId>
320 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100321 </dependency>
322 <dependency>
323 <groupId>com.att.eelf</groupId>
324 <artifactId>eelf-core</artifactId>
325 <version>1.0.0</version>
326 </dependency>
327 <!-- Mapper -->
328 <dependency>
329 <groupId>com.fasterxml.jackson.core</groupId>
330 <artifactId>jackson-annotations</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200331 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100332 </dependency>
333 <dependency>
334 <groupId>com.fasterxml.jackson.core</groupId>
335 <artifactId>jackson-core</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200336 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100337 </dependency>
338 <dependency>
339 <groupId>com.fasterxml.jackson.core</groupId>
340 <artifactId>jackson-databind</artifactId>
Amichai Hemli98794612019-09-16 10:53:47 +0300341 <version>${jackson.databind.version}</version>
Ittay Stern350c5302019-02-13 17:50:59 +0200342 </dependency>
Einat Vinouzef486e802019-07-11 16:25:44 +0300343 <dependency>
344 <groupId>com.fasterxml.jackson.module</groupId>
345 <artifactId>jackson-module-kotlin</artifactId>
346 <version>${jackson.version}</version>
347 </dependency>
Ittay Stern350c5302019-02-13 17:50:59 +0200348 <!-- jackson-dataformat-* are to override elasticsearch-2.2.0 deps hell -->
349 <!-- (elasticsearch is an epsdk-app-common-2.4.0 dep) -->
350 <dependency>
351 <groupId>com.fasterxml.jackson.dataformat</groupId>
352 <artifactId>jackson-dataformat-smile</artifactId>
353 <version>${jackson.version}</version>
354 </dependency>
355 <dependency>
356 <groupId>com.fasterxml.jackson.dataformat</groupId>
357 <artifactId>jackson-dataformat-yaml</artifactId>
358 <version>${jackson.version}</version>
359 </dependency>
360 <dependency>
361 <groupId>com.fasterxml.jackson.dataformat</groupId>
362 <artifactId>jackson-dataformat-cbor</artifactId>
363 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100364 </dependency>
Ittay Stern2687d312019-02-21 17:26:33 +0200365 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
biniek6f2b2082018-12-17 11:18:05 +0100366 <dependency>
367 <groupId>com.mchange</groupId>
368 <artifactId>c3p0</artifactId>
Ittay Sterna8f5de02019-04-30 10:55:44 +0300369 <version>0.9.5.4</version>
biniek6f2b2082018-12-17 11:18:05 +0100370 </dependency>
371 <dependency>
372 <groupId>io.searchbox</groupId>
373 <artifactId>jest</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300374 <version>6.3.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100375 <exclusions>
376 <exclusion>
377 <groupId>commons-logging</groupId>
378 <artifactId>commons-logging</artifactId>
379 </exclusion>
380 </exclusions>
381 </dependency>
382 <dependency>
383 <groupId>javax.servlet</groupId>
384 <artifactId>javax.servlet-api</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300385 <version>4.0.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100386 </dependency>
387 <dependency>
388 <groupId>junit</groupId>
389 <artifactId>junit</artifactId>
390 <version>4.12</version>
391 </dependency>
392 <dependency>
393 <groupId>org.json</groupId>
394 <artifactId>json</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300395 <version>20190722</version>
biniek6f2b2082018-12-17 11:18:05 +0100396 </dependency>
397 <dependency>
Rina Roibfcf8e42019-07-15 10:36:26 +0300398 <groupId>org.liquibase</groupId>
399 <artifactId>liquibase-core</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300400 <version>3.7.0</version>
Rina Roibfcf8e42019-07-15 10:36:26 +0300401 </dependency>
402 <dependency>
biniek6f2b2082018-12-17 11:18:05 +0100403 <groupId>org.quartz-scheduler</groupId>
404 <artifactId>quartz</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300405 <version>2.3.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100406 <exclusions>
407 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
408 <exclusion>
409 <groupId>c3p0</groupId>
410 <artifactId>c3p0</artifactId>
411 </exclusion>
412 </exclusions>
413 </dependency>
414 <!-- bridge to implement commons-logging using slf4j -->
415 <dependency>
416 <groupId>org.slf4j</groupId>
417 <artifactId>jcl-over-slf4j</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300418 <version>1.7.27</version>
biniek6f2b2082018-12-17 11:18:05 +0100419 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200420
421 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
biniek6f2b2082018-12-17 11:18:05 +0100422 <dependency>
423 <groupId>org.springframework</groupId>
424 <artifactId>spring-core</artifactId>
425 <version>${springframework.version}</version>
426 <exclusions>
427 <exclusion>
428 <groupId>commons-logging</groupId>
429 <artifactId>commons-logging</artifactId>
430 </exclusion>
431 </exclusions>
432 </dependency>
433 <dependency>
434 <groupId>org.springframework</groupId>
biniek6f2b2082018-12-17 11:18:05 +0100435 <artifactId>spring-test</artifactId>
436 <version>${springframework.version}</version>
437 </dependency>
438 <dependency>
439 <groupId>org.springframework</groupId>
440 <artifactId>spring-tx</artifactId>
441 <version>${springframework.version}</version>
442 </dependency>
443 <dependency>
444 <groupId>org.springframework</groupId>
445 <artifactId>spring-web</artifactId>
446 <version>${springframework.version}</version>
447 </dependency>
448 <dependency>
449 <groupId>org.springframework</groupId>
450 <artifactId>spring-webmvc</artifactId>
451 <version>${springframework.version}</version>
452 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200453 <dependency>
454 <groupId>org.springframework</groupId>
455 <artifactId>spring-context-support</artifactId>
456 <version>${springframework.version}</version>
457 </dependency>
458 <dependency>
459 <groupId>org.springframework</groupId>
460 <artifactId>spring-orm</artifactId>
Einat Vinouzed7192592019-07-07 14:15:07 +0300461 <version>${springframework.orm.version}</version>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200462 </dependency>
463 <dependency>
464 <groupId>org.springframework</groupId>
465 <artifactId>spring-aop</artifactId>
466 <version>${springframework.version}</version>
467 </dependency>
468
Einat Vinouzef486e802019-07-11 16:25:44 +0300469 <dependency>
470 <groupId>javax.xml.bind</groupId>
471 <artifactId>jaxb-api</artifactId>
Einat Vinouze83157b32019-07-11 16:25:44 +0300472 <version>2.3.1</version>
Einat Vinouzef486e802019-07-11 16:25:44 +0300473 </dependency>
474
biniek6f2b2082018-12-17 11:18:05 +0100475 </dependencies>
476</project>