blob: da494164022c88acb9f173e18641b615a46434f5 [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 Sterndd3ba982019-05-29 10:19:25 +030011 <version>5.0.0-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>
Jessica Wagantall97bec3c2019-05-11 01:01:20 +030019 <version>2.0.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>
27 <epsdk.version>2.4.0</epsdk.version>
Ittay Stern9f9e9b22019-02-28 12:09:45 +020028 <jackson.version>2.9.8</jackson.version>
Einat Vinouzed7192592019-07-07 14:15:07 +030029 <springframework.version>5.1.6.RELEASE</springframework.version>
30 <!-- epsdk-core is importing this class, which is only on spring-orm 4 but not in orm 5:
31 org.springframework.orm.hibernate4.HibernateTransactionManager
32 so following orm.version lets epsdk-core find it -->
33 <springframework.orm.version>4.3.22.RELEASE</springframework.orm.version>
biniek6f2b2082018-12-17 11:18:05 +010034 <hibernate.version>4.3.11.Final</hibernate.version>
35 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
36 <skipassembly>true</skipassembly>
biniek6f2b2082018-12-17 11:18:05 +010037 <nexusproxy>https://nexus.onap.org</nexusproxy>
Ittay Sternb93b96b2019-06-19 14:39:39 +030038 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
39 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
40 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
41 <sitePath>content/sites/site/org/onap/vid/${project.version}</sitePath>
biniek6f2b2082018-12-17 11:18:05 +010042
43 <!-- SONAR -->
biniek6f2b2082018-12-17 11:18:05 +010044 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
Ittay Stern67a23ab2019-02-25 19:21:32 +020045 <sonar.surefire.reportPaths>${project.build.directory}/surefire-reports</sonar.surefire.reportPaths>
biniek6f2b2082018-12-17 11:18:05 +010046 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Ittay Stern67a23ab2019-02-25 19:21:32 +020047 <!-- ignore all .js files on sonar coverage report -->
Ittay Sterneda81402019-02-26 06:32:43 +020048 <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
biniek6f2b2082018-12-17 11:18:05 +010049 </properties>
50
51 <repositories>
52 <repository>
53 <id>ecomp-releases</id>
54 <name>VID Release Repository</name>
Ittay Sternb93b96b2019-06-19 14:39:39 +030055 <url>${nexusproxy}/${releaseNexusPath}</url>
biniek6f2b2082018-12-17 11:18:05 +010056 </repository>
57 <repository>
58 <id>ecomp-snapshots</id>
59 <name>VID Snapshot Repository</name>
Ittay Sternb93b96b2019-06-19 14:39:39 +030060 <url>${nexusproxy}/${snapshotNexusPath}</url>
biniek6f2b2082018-12-17 11:18:05 +010061 </repository>
62 <repository>
63 <id>ecomp-staging</id>
64 <name>VID Staging Repository</name>
Ittay Sternb93b96b2019-06-19 14:39:39 +030065 <url>${nexusproxy}/${stagingNexusPath}</url>
biniek6f2b2082018-12-17 11:18:05 +010066 </repository>
67 <repository>
68 <!-- Snapshots repository has ECOMP snapshot artifacts -->
69 <id>oss-snapshots</id>
70 <name>oss Central - Snapshots</name>
71 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
72 </repository>
73 </repositories>
74 <distributionManagement>
75 <repository>
76 <id>ecomp-releases</id>
77 <name>VID Release Repository</name>
78 <url>${nexusproxy}/${releaseNexusPath}</url>
79 </repository>
80 <snapshotRepository>
81 <id>ecomp-snapshots</id>
82 <name>VID Snapshot Repository</name>
83 <url>${nexusproxy}/${snapshotNexusPath}</url>
84 </snapshotRepository>
85 <!-- added for javadoc -->
86 <site>
87 <id>ecomp-site</id>
Ittay Sternb93b96b2019-06-19 14:39:39 +030088 <url>dav:${nexusproxy}/${sitePath}</url>
biniek6f2b2082018-12-17 11:18:05 +010089 </site>
90 </distributionManagement>
91
92 <profiles>
93 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
94 <profile>
95 <id>doclint-java8-disable</id>
96 <activation>
97 <jdk>[1.8,)</jdk>
98 </activation>
99 <build>
100 <plugins>
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-javadoc-plugin</artifactId>
104 <version>2.10.4</version>
105 <configuration>
106 <additionalparam>-Xdoclint:none</additionalparam>
107 </configuration>
108 </plugin>
109 </plugins>
110 </build>
111 </profile>
112 </profiles>
113
114 <build>
115 <finalName>vid</finalName>
116 <plugins>
biniek6f2b2082018-12-17 11:18:05 +0100117 <!-- Compile to Java 1.8 class output format -->
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-compiler-plugin</artifactId>
121 <version>3.1</version>
122 <configuration>
123 <source>1.8</source>
124 <target>1.8</target>
125 </configuration>
126 </plugin>
127
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-surefire-plugin</artifactId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200131 <version>2.22.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100132 <configuration>
biniek6f2b2082018-12-17 11:18:05 +0100133 <includes>
134 <include>**/Test*.java</include>
135 <include>**/*Test.java</include>
136 <include>**/*TestCase.java</include>
137 </includes>
138 <additionalClasspathElements>
139 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
140 </additionalClasspathElements>
141 <systemPropertyVariables>
142 <container.classpath>classpath:</container.classpath>
143 </systemPropertyVariables>
144 <useSystemClassLoader>false</useSystemClassLoader>
Einat Vinouzef486e802019-07-11 16:25:44 +0300145 <properties>
146 <property>
147 <name>usedefaultlisteners</name>
148 <value>false</value>
149 </property>
150 </properties>
biniek6f2b2082018-12-17 11:18:05 +0100151 </configuration>
152 </plugin>
153
154 <!-- add version number to manifest -->
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-war-plugin</artifactId>
Ittay Stern5f458462019-07-11 12:08:03 +0300158 <version>3.2.0</version>
biniek6f2b2082018-12-17 11:18:05 +0100159 <configuration>
160 <archive>
161 <manifest>
162 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
163 </manifest>
164 <manifestEntries>
165 <Build-Number>${project.version}</Build-Number>
166 <Build-Time>${maven.build.timestamp}</Build-Time>
167 </manifestEntries>
168 </archive>
169 <overlays>
170 <overlay>
171 <groupId>org.onap.vid</groupId>
172 <artifactId>vid-app-common</artifactId>
173 </overlay>
174 <overlay>
175 <groupId>org.onap.portal.sdk</groupId>
176 <artifactId>epsdk-app-overlay</artifactId>
177 </overlay>
Ittay Stern5f458462019-07-11 12:08:03 +0300178 <overlay>
179 <groupId>org.onap.vid</groupId>
180 <artifactId>vid-webpack-master</artifactId>
181 </overlay>
biniek6f2b2082018-12-17 11:18:05 +0100182 </overlays>
183 </configuration>
184 </plugin>
185
186 <plugin>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-assembly-plugin</artifactId>
189 <version>3.0.0</version>
190 <configuration>
191 <skipAssembly>${skipassembly}</skipAssembly>
192 <descriptors>
193 <descriptor>${basedir}/distribution.xml</descriptor>
194 </descriptors>
195 </configuration>
196 <executions>
197 <execution>
198 <id>make-assembly</id>
199 <phase>package</phase>
200 <goals>
201 <goal>single</goal>
202 </goals>
203 </execution>
204 </executions>
205 </plugin>
206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-site-plugin</artifactId>
209 <version>3.6</version>
210 <dependencies>
211 <dependency>
212 <groupId>org.apache.maven.wagon</groupId>
213 <artifactId>wagon-webdav-jackrabbit</artifactId>
214 <version>2.10</version>
215 </dependency>
216 </dependencies>
217 </plugin>
218 <plugin>
Ittay Stern350c5302019-02-13 17:50:59 +0200219 <groupId>org.sonarsource.scanner.maven</groupId>
220 <artifactId>sonar-maven-plugin</artifactId>
Ittay Stern67a23ab2019-02-25 19:21:32 +0200221 <version>3.6.0.1398</version>
biniek6f2b2082018-12-17 11:18:05 +0100222 </plugin>
223 <plugin>
224 <groupId>org.jacoco</groupId>
225 <artifactId>jacoco-maven-plugin</artifactId>
Ittay Stern67a23ab2019-02-25 19:21:32 +0200226 <version>0.8.3</version>
biniek6f2b2082018-12-17 11:18:05 +0100227 <executions>
228 <execution>
229 <id>default-prepare-agent</id>
230 <goals>
231 <goal>prepare-agent</goal>
232 </goals>
233 </execution>
234 <execution>
235 <id>default-report</id>
236 <goals>
237 <goal>report</goal>
238 </goals>
239 </execution>
240 </executions>
241 </plugin>
242
243 </plugins>
244 </build>
245
246 <reporting>
247 <plugins>
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-javadoc-plugin</artifactId>
251 <version>2.10.4</version>
252 <configuration>
253 <failOnError>false</failOnError>
254 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
255 <docletArtifact>
256 <groupId>org.umlgraph</groupId>
257 <artifactId>umlgraph</artifactId>
258 <version>5.6</version>
259 </docletArtifact>
260 <additionalparam>-views</additionalparam>
261 <useStandardDocletOptions>true</useStandardDocletOptions>
262 </configuration>
263 </plugin>
264 </plugins>
265 </reporting>
266 <dependencies>
267 <!-- SDK overlay war -->
268 <dependency>
269 <groupId>org.onap.portal.sdk</groupId>
270 <artifactId>epsdk-app-overlay</artifactId>
271 <version>${epsdk.version}</version>
272 <type>war</type>
273 </dependency>
274 <dependency>
275 <groupId>org.onap.portal.sdk</groupId>
276 <artifactId>epsdk-app-common</artifactId>
277 <version>${epsdk.version}</version>
278 <type>jar</type>
biniek6f2b2082018-12-17 11:18:05 +0100279 </dependency>
280 <dependency>
281 <groupId>org.onap.vid</groupId>
282 <artifactId>vid-app-common</artifactId>
283 <version>${project.version}</version>
284 <type>war</type>
biniek6f2b2082018-12-17 11:18:05 +0100285 </dependency>
286 <dependency>
287 <groupId>org.onap.vid</groupId>
288 <artifactId>vid-app-common</artifactId>
289 <version>${project.version}</version>
290 <type>jar</type>
291 <classifier>classes</classifier>
292 </dependency>
Ittay Stern5f458462019-07-11 12:08:03 +0300293 <dependency>
294 <groupId>org.onap.vid</groupId>
295 <artifactId>vid-webpack-master</artifactId>
296 <version>${project.version}</version>
297 <type>war</type>
298 </dependency>
biniek6f2b2082018-12-17 11:18:05 +0100299 <!-- SDK components -->
300 <dependency>
301 <groupId>org.onap.portal.sdk</groupId>
302 <artifactId>epsdk-core</artifactId>
303 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100304 </dependency>
305 <dependency>
306 <groupId>org.onap.portal.sdk</groupId>
307 <artifactId>epsdk-analytics</artifactId>
308 <version>${epsdk.version}</version>
309 <exclusions>
310 <exclusion>
biniek6f2b2082018-12-17 11:18:05 +0100311 <groupId>com.lowagie</groupId>
312 <artifactId>itext</artifactId>
313 </exclusion>
314 </exclusions>
315 </dependency>
316 <dependency>
317 <groupId>org.onap.portal.sdk</groupId>
318 <artifactId>epsdk-workflow</artifactId>
319 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100320 </dependency>
321 <dependency>
322 <groupId>com.att.eelf</groupId>
323 <artifactId>eelf-core</artifactId>
324 <version>1.0.0</version>
325 </dependency>
326 <!-- Mapper -->
327 <dependency>
328 <groupId>com.fasterxml.jackson.core</groupId>
329 <artifactId>jackson-annotations</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200330 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100331 </dependency>
332 <dependency>
333 <groupId>com.fasterxml.jackson.core</groupId>
334 <artifactId>jackson-core</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200335 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100336 </dependency>
337 <dependency>
338 <groupId>com.fasterxml.jackson.core</groupId>
339 <artifactId>jackson-databind</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200340 <version>${jackson.version}</version>
341 </dependency>
Einat Vinouzef486e802019-07-11 16:25:44 +0300342 <dependency>
343 <groupId>com.fasterxml.jackson.module</groupId>
344 <artifactId>jackson-module-kotlin</artifactId>
345 <version>${jackson.version}</version>
346 </dependency>
Ittay Stern350c5302019-02-13 17:50:59 +0200347 <!-- jackson-dataformat-* are to override elasticsearch-2.2.0 deps hell -->
348 <!-- (elasticsearch is an epsdk-app-common-2.4.0 dep) -->
349 <dependency>
350 <groupId>com.fasterxml.jackson.dataformat</groupId>
351 <artifactId>jackson-dataformat-smile</artifactId>
352 <version>${jackson.version}</version>
353 </dependency>
354 <dependency>
355 <groupId>com.fasterxml.jackson.dataformat</groupId>
356 <artifactId>jackson-dataformat-yaml</artifactId>
357 <version>${jackson.version}</version>
358 </dependency>
359 <dependency>
360 <groupId>com.fasterxml.jackson.dataformat</groupId>
361 <artifactId>jackson-dataformat-cbor</artifactId>
362 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100363 </dependency>
Ittay Stern2687d312019-02-21 17:26:33 +0200364 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
biniek6f2b2082018-12-17 11:18:05 +0100365 <dependency>
366 <groupId>com.mchange</groupId>
367 <artifactId>c3p0</artifactId>
Ittay Sterna8f5de02019-04-30 10:55:44 +0300368 <version>0.9.5.4</version>
biniek6f2b2082018-12-17 11:18:05 +0100369 </dependency>
370 <dependency>
371 <groupId>io.searchbox</groupId>
372 <artifactId>jest</artifactId>
373 <version>2.0.0</version>
374 <exclusions>
375 <exclusion>
376 <groupId>commons-logging</groupId>
377 <artifactId>commons-logging</artifactId>
378 </exclusion>
379 </exclusions>
380 </dependency>
381 <dependency>
382 <groupId>javax.servlet</groupId>
383 <artifactId>javax.servlet-api</artifactId>
384 <version>3.1.0</version>
385 </dependency>
386 <dependency>
387 <groupId>junit</groupId>
388 <artifactId>junit</artifactId>
389 <version>4.12</version>
390 </dependency>
391 <dependency>
392 <groupId>org.json</groupId>
393 <artifactId>json</artifactId>
394 <version>20160212</version>
395 </dependency>
396 <dependency>
Rina Roibfcf8e42019-07-15 10:36:26 +0300397 <groupId>org.liquibase</groupId>
398 <artifactId>liquibase-core</artifactId>
399 <version>3.5.5</version>
400 </dependency>
401 <dependency>
biniek6f2b2082018-12-17 11:18:05 +0100402 <groupId>org.quartz-scheduler</groupId>
403 <artifactId>quartz</artifactId>
404 <version>2.2.1</version>
405 <exclusions>
406 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
407 <exclusion>
408 <groupId>c3p0</groupId>
409 <artifactId>c3p0</artifactId>
410 </exclusion>
411 </exclusions>
412 </dependency>
413 <!-- bridge to implement commons-logging using slf4j -->
414 <dependency>
415 <groupId>org.slf4j</groupId>
416 <artifactId>jcl-over-slf4j</artifactId>
417 <version>1.7.12</version>
418 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200419
420 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
biniek6f2b2082018-12-17 11:18:05 +0100421 <dependency>
422 <groupId>org.springframework</groupId>
423 <artifactId>spring-core</artifactId>
424 <version>${springframework.version}</version>
425 <exclusions>
426 <exclusion>
427 <groupId>commons-logging</groupId>
428 <artifactId>commons-logging</artifactId>
429 </exclusion>
430 </exclusions>
431 </dependency>
432 <dependency>
433 <groupId>org.springframework</groupId>
biniek6f2b2082018-12-17 11:18:05 +0100434 <artifactId>spring-test</artifactId>
435 <version>${springframework.version}</version>
436 </dependency>
437 <dependency>
438 <groupId>org.springframework</groupId>
439 <artifactId>spring-tx</artifactId>
440 <version>${springframework.version}</version>
441 </dependency>
442 <dependency>
443 <groupId>org.springframework</groupId>
444 <artifactId>spring-web</artifactId>
445 <version>${springframework.version}</version>
446 </dependency>
447 <dependency>
448 <groupId>org.springframework</groupId>
449 <artifactId>spring-webmvc</artifactId>
450 <version>${springframework.version}</version>
451 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200452 <dependency>
453 <groupId>org.springframework</groupId>
454 <artifactId>spring-context-support</artifactId>
455 <version>${springframework.version}</version>
456 </dependency>
457 <dependency>
458 <groupId>org.springframework</groupId>
459 <artifactId>spring-orm</artifactId>
Einat Vinouzed7192592019-07-07 14:15:07 +0300460 <version>${springframework.orm.version}</version>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200461 </dependency>
462 <dependency>
463 <groupId>org.springframework</groupId>
464 <artifactId>spring-aop</artifactId>
465 <version>${springframework.version}</version>
466 </dependency>
467
Einat Vinouzef486e802019-07-11 16:25:44 +0300468 <dependency>
469 <groupId>javax.xml.bind</groupId>
470 <artifactId>jaxb-api</artifactId>
471 <version>2.2.3</version>
472 </dependency>
473
biniek6f2b2082018-12-17 11:18:05 +0100474 </dependencies>
475</project>