blob: 8d4d209d113451d6f91de48a525a5b03323944e9 [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>
11 <version>4.0.0-SNAPSHOT</version>
12 <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>
19 <version>1.2.3</version>
20 <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>
Ittay Stern3bbd23f2019-03-26 11:25:37 +020029 <springframework.version>4.3.22.RELEASE</springframework.version>
biniek6f2b2082018-12-17 11:18:05 +010030 <hibernate.version>4.3.11.Final</hibernate.version>
31 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
32 <skipassembly>true</skipassembly>
biniek6f2b2082018-12-17 11:18:05 +010033 <nexusproxy>https://nexus.onap.org</nexusproxy>
34 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
35 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
36 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
37 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
38
39 <!-- SONAR -->
biniek6f2b2082018-12-17 11:18:05 +010040 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
Ittay Stern67a23ab2019-02-25 19:21:32 +020041 <sonar.surefire.reportPaths>${project.build.directory}/surefire-reports</sonar.surefire.reportPaths>
biniek6f2b2082018-12-17 11:18:05 +010042 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Ittay Stern67a23ab2019-02-25 19:21:32 +020043 <!-- ignore all .js files on sonar coverage report -->
Ittay Sterneda81402019-02-26 06:32:43 +020044 <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
biniek6f2b2082018-12-17 11:18:05 +010045 </properties>
46
47 <repositories>
48 <repository>
49 <id>ecomp-releases</id>
50 <name>VID Release Repository</name>
51 <url>${nexusproxy}${releaseNexusPath}</url>
52 </repository>
53 <repository>
54 <id>ecomp-snapshots</id>
55 <name>VID Snapshot Repository</name>
56 <url>${nexusproxy}${snapshotNexusPath}</url>
57 </repository>
58 <repository>
59 <id>ecomp-staging</id>
60 <name>VID Staging Repository</name>
61 <url>${nexusproxy}${stagingNexusPath}</url>
62 </repository>
63 <repository>
64 <!-- Snapshots repository has ECOMP snapshot artifacts -->
65 <id>oss-snapshots</id>
66 <name>oss Central - Snapshots</name>
67 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
68 </repository>
69 </repositories>
70 <distributionManagement>
71 <repository>
72 <id>ecomp-releases</id>
73 <name>VID Release Repository</name>
74 <url>${nexusproxy}/${releaseNexusPath}</url>
75 </repository>
76 <snapshotRepository>
77 <id>ecomp-snapshots</id>
78 <name>VID Snapshot Repository</name>
79 <url>${nexusproxy}/${snapshotNexusPath}</url>
80 </snapshotRepository>
81 <!-- added for javadoc -->
82 <site>
83 <id>ecomp-site</id>
84 <url>dav:${nexusproxy}${sitePath}</url>
85 </site>
86 </distributionManagement>
87
88 <profiles>
89 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
90 <profile>
91 <id>doclint-java8-disable</id>
92 <activation>
93 <jdk>[1.8,)</jdk>
94 </activation>
95 <build>
96 <plugins>
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-javadoc-plugin</artifactId>
100 <version>2.10.4</version>
101 <configuration>
102 <additionalparam>-Xdoclint:none</additionalparam>
103 </configuration>
104 </plugin>
105 </plugins>
106 </build>
107 </profile>
108 </profiles>
109
110 <build>
111 <finalName>vid</finalName>
112 <plugins>
113 <plugin>
114 <groupId>org.sonatype.plugins</groupId>
115 <artifactId>nexus-staging-maven-plugin</artifactId>
116 <version>1.6.7</version>
117 <extensions>true</extensions>
118 <configuration>
119 <nexusUrl>${nexusproxy}</nexusUrl>
120 <stagingProfileId>176c31dfe190a</stagingProfileId>
121 <serverId>ecomp-staging</serverId>
122 </configuration>
123 </plugin>
124
125 <!-- Compile to Java 1.8 class output format -->
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-compiler-plugin</artifactId>
129 <version>3.1</version>
130 <configuration>
131 <source>1.8</source>
132 <target>1.8</target>
133 </configuration>
134 </plugin>
135
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-surefire-plugin</artifactId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200139 <version>2.22.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100140 <configuration>
biniek6f2b2082018-12-17 11:18:05 +0100141 <includes>
142 <include>**/Test*.java</include>
143 <include>**/*Test.java</include>
144 <include>**/*TestCase.java</include>
145 </includes>
146 <additionalClasspathElements>
147 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
148 </additionalClasspathElements>
149 <systemPropertyVariables>
150 <container.classpath>classpath:</container.classpath>
151 </systemPropertyVariables>
152 <useSystemClassLoader>false</useSystemClassLoader>
153 </configuration>
154 </plugin>
155
156 <!-- add version number to manifest -->
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-war-plugin</artifactId>
160 <version>2.0.2</version>
161 <configuration>
162 <archive>
163 <manifest>
164 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
165 </manifest>
166 <manifestEntries>
167 <Build-Number>${project.version}</Build-Number>
168 <Build-Time>${maven.build.timestamp}</Build-Time>
169 </manifestEntries>
170 </archive>
171 <overlays>
172 <overlay>
173 <groupId>org.onap.vid</groupId>
174 <artifactId>vid-app-common</artifactId>
175 </overlay>
176 <overlay>
177 <groupId>org.onap.portal.sdk</groupId>
178 <artifactId>epsdk-app-overlay</artifactId>
179 </overlay>
180 </overlays>
181 </configuration>
182 </plugin>
183
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-assembly-plugin</artifactId>
187 <version>3.0.0</version>
188 <configuration>
189 <skipAssembly>${skipassembly}</skipAssembly>
190 <descriptors>
191 <descriptor>${basedir}/distribution.xml</descriptor>
192 </descriptors>
193 </configuration>
194 <executions>
195 <execution>
196 <id>make-assembly</id>
197 <phase>package</phase>
198 <goals>
199 <goal>single</goal>
200 </goals>
201 </execution>
202 </executions>
203 </plugin>
204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-site-plugin</artifactId>
207 <version>3.6</version>
208 <dependencies>
209 <dependency>
210 <groupId>org.apache.maven.wagon</groupId>
211 <artifactId>wagon-webdav-jackrabbit</artifactId>
212 <version>2.10</version>
213 </dependency>
214 </dependencies>
215 </plugin>
216 <plugin>
Ittay Stern350c5302019-02-13 17:50:59 +0200217 <groupId>org.sonarsource.scanner.maven</groupId>
218 <artifactId>sonar-maven-plugin</artifactId>
Ittay Stern67a23ab2019-02-25 19:21:32 +0200219 <version>3.6.0.1398</version>
biniek6f2b2082018-12-17 11:18:05 +0100220 </plugin>
221 <plugin>
222 <groupId>org.jacoco</groupId>
223 <artifactId>jacoco-maven-plugin</artifactId>
Ittay Stern67a23ab2019-02-25 19:21:32 +0200224 <version>0.8.3</version>
biniek6f2b2082018-12-17 11:18:05 +0100225 <executions>
226 <execution>
227 <id>default-prepare-agent</id>
228 <goals>
229 <goal>prepare-agent</goal>
230 </goals>
231 </execution>
232 <execution>
233 <id>default-report</id>
234 <goals>
235 <goal>report</goal>
236 </goals>
237 </execution>
238 </executions>
239 </plugin>
240
241 </plugins>
242 </build>
243
244 <reporting>
245 <plugins>
246 <plugin>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-javadoc-plugin</artifactId>
249 <version>2.10.4</version>
250 <configuration>
251 <failOnError>false</failOnError>
252 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
253 <docletArtifact>
254 <groupId>org.umlgraph</groupId>
255 <artifactId>umlgraph</artifactId>
256 <version>5.6</version>
257 </docletArtifact>
258 <additionalparam>-views</additionalparam>
259 <useStandardDocletOptions>true</useStandardDocletOptions>
260 </configuration>
261 </plugin>
262 </plugins>
263 </reporting>
264 <dependencies>
265 <!-- SDK overlay war -->
266 <dependency>
267 <groupId>org.onap.portal.sdk</groupId>
268 <artifactId>epsdk-app-overlay</artifactId>
269 <version>${epsdk.version}</version>
270 <type>war</type>
271 </dependency>
272 <dependency>
273 <groupId>org.onap.portal.sdk</groupId>
274 <artifactId>epsdk-app-common</artifactId>
275 <version>${epsdk.version}</version>
276 <type>jar</type>
biniek6f2b2082018-12-17 11:18:05 +0100277 </dependency>
278 <dependency>
279 <groupId>org.onap.vid</groupId>
280 <artifactId>vid-app-common</artifactId>
281 <version>${project.version}</version>
282 <type>war</type>
biniek6f2b2082018-12-17 11:18:05 +0100283 </dependency>
284 <dependency>
285 <groupId>org.onap.vid</groupId>
286 <artifactId>vid-app-common</artifactId>
287 <version>${project.version}</version>
288 <type>jar</type>
289 <classifier>classes</classifier>
290 </dependency>
291 <!-- SDK components -->
292 <dependency>
293 <groupId>org.onap.portal.sdk</groupId>
294 <artifactId>epsdk-core</artifactId>
295 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100296 </dependency>
297 <dependency>
298 <groupId>org.onap.portal.sdk</groupId>
299 <artifactId>epsdk-analytics</artifactId>
300 <version>${epsdk.version}</version>
301 <exclusions>
302 <exclusion>
biniek6f2b2082018-12-17 11:18:05 +0100303 <groupId>com.lowagie</groupId>
304 <artifactId>itext</artifactId>
305 </exclusion>
306 </exclusions>
307 </dependency>
308 <dependency>
309 <groupId>org.onap.portal.sdk</groupId>
310 <artifactId>epsdk-workflow</artifactId>
311 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100312 </dependency>
313 <dependency>
314 <groupId>com.att.eelf</groupId>
315 <artifactId>eelf-core</artifactId>
316 <version>1.0.0</version>
317 </dependency>
318 <!-- Mapper -->
319 <dependency>
320 <groupId>com.fasterxml.jackson.core</groupId>
321 <artifactId>jackson-annotations</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200322 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100323 </dependency>
324 <dependency>
325 <groupId>com.fasterxml.jackson.core</groupId>
326 <artifactId>jackson-core</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200327 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100328 </dependency>
329 <dependency>
330 <groupId>com.fasterxml.jackson.core</groupId>
331 <artifactId>jackson-databind</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200332 <version>${jackson.version}</version>
333 </dependency>
334 <!-- jackson-dataformat-* are to override elasticsearch-2.2.0 deps hell -->
335 <!-- (elasticsearch is an epsdk-app-common-2.4.0 dep) -->
336 <dependency>
337 <groupId>com.fasterxml.jackson.dataformat</groupId>
338 <artifactId>jackson-dataformat-smile</artifactId>
339 <version>${jackson.version}</version>
340 </dependency>
341 <dependency>
342 <groupId>com.fasterxml.jackson.dataformat</groupId>
343 <artifactId>jackson-dataformat-yaml</artifactId>
344 <version>${jackson.version}</version>
345 </dependency>
346 <dependency>
347 <groupId>com.fasterxml.jackson.dataformat</groupId>
348 <artifactId>jackson-dataformat-cbor</artifactId>
349 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100350 </dependency>
Ittay Stern2687d312019-02-21 17:26:33 +0200351 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
biniek6f2b2082018-12-17 11:18:05 +0100352 <dependency>
353 <groupId>com.mchange</groupId>
354 <artifactId>c3p0</artifactId>
Ittay Stern2687d312019-02-21 17:26:33 +0200355 <version>0.9.5.3</version>
biniek6f2b2082018-12-17 11:18:05 +0100356 </dependency>
357 <dependency>
358 <groupId>io.searchbox</groupId>
359 <artifactId>jest</artifactId>
360 <version>2.0.0</version>
361 <exclusions>
362 <exclusion>
363 <groupId>commons-logging</groupId>
364 <artifactId>commons-logging</artifactId>
365 </exclusion>
366 </exclusions>
367 </dependency>
368 <dependency>
369 <groupId>javax.servlet</groupId>
370 <artifactId>javax.servlet-api</artifactId>
371 <version>3.1.0</version>
372 </dependency>
373 <dependency>
374 <groupId>junit</groupId>
375 <artifactId>junit</artifactId>
376 <version>4.12</version>
377 </dependency>
378 <dependency>
379 <groupId>org.json</groupId>
380 <artifactId>json</artifactId>
381 <version>20160212</version>
382 </dependency>
383 <dependency>
384 <groupId>org.quartz-scheduler</groupId>
385 <artifactId>quartz</artifactId>
386 <version>2.2.1</version>
387 <exclusions>
388 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
389 <exclusion>
390 <groupId>c3p0</groupId>
391 <artifactId>c3p0</artifactId>
392 </exclusion>
393 </exclusions>
394 </dependency>
395 <!-- bridge to implement commons-logging using slf4j -->
396 <dependency>
397 <groupId>org.slf4j</groupId>
398 <artifactId>jcl-over-slf4j</artifactId>
399 <version>1.7.12</version>
400 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200401
402 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
biniek6f2b2082018-12-17 11:18:05 +0100403 <dependency>
404 <groupId>org.springframework</groupId>
405 <artifactId>spring-core</artifactId>
406 <version>${springframework.version}</version>
407 <exclusions>
408 <exclusion>
409 <groupId>commons-logging</groupId>
410 <artifactId>commons-logging</artifactId>
411 </exclusion>
412 </exclusions>
413 </dependency>
414 <dependency>
415 <groupId>org.springframework</groupId>
biniek6f2b2082018-12-17 11:18:05 +0100416 <artifactId>spring-test</artifactId>
417 <version>${springframework.version}</version>
418 </dependency>
419 <dependency>
420 <groupId>org.springframework</groupId>
421 <artifactId>spring-tx</artifactId>
422 <version>${springframework.version}</version>
423 </dependency>
424 <dependency>
425 <groupId>org.springframework</groupId>
426 <artifactId>spring-web</artifactId>
427 <version>${springframework.version}</version>
428 </dependency>
429 <dependency>
430 <groupId>org.springframework</groupId>
431 <artifactId>spring-webmvc</artifactId>
432 <version>${springframework.version}</version>
433 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200434 <dependency>
435 <groupId>org.springframework</groupId>
436 <artifactId>spring-context-support</artifactId>
437 <version>${springframework.version}</version>
438 </dependency>
439 <dependency>
440 <groupId>org.springframework</groupId>
441 <artifactId>spring-orm</artifactId>
442 <version>${springframework.version}</version>
443 </dependency>
444 <dependency>
445 <groupId>org.springframework</groupId>
446 <artifactId>spring-aop</artifactId>
447 <version>${springframework.version}</version>
448 </dependency>
449
biniek6f2b2082018-12-17 11:18:05 +0100450 </dependencies>
451</project>