blob: ac4701946d45132e8711a21f7f2aa044194a99eb [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>
Jessica Wagantall44505672019-05-10 15:01:20 -070019 <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>
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>
biniek6f2b2082018-12-17 11:18:05 +0100113 <!-- Compile to Java 1.8 class output format -->
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-compiler-plugin</artifactId>
117 <version>3.1</version>
118 <configuration>
119 <source>1.8</source>
120 <target>1.8</target>
121 </configuration>
122 </plugin>
123
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-surefire-plugin</artifactId>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200127 <version>2.22.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100128 <configuration>
biniek6f2b2082018-12-17 11:18:05 +0100129 <includes>
130 <include>**/Test*.java</include>
131 <include>**/*Test.java</include>
132 <include>**/*TestCase.java</include>
133 </includes>
134 <additionalClasspathElements>
135 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
136 </additionalClasspathElements>
137 <systemPropertyVariables>
138 <container.classpath>classpath:</container.classpath>
139 </systemPropertyVariables>
140 <useSystemClassLoader>false</useSystemClassLoader>
141 </configuration>
142 </plugin>
143
144 <!-- add version number to manifest -->
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-war-plugin</artifactId>
148 <version>2.0.2</version>
149 <configuration>
150 <archive>
151 <manifest>
152 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
153 </manifest>
154 <manifestEntries>
155 <Build-Number>${project.version}</Build-Number>
156 <Build-Time>${maven.build.timestamp}</Build-Time>
157 </manifestEntries>
158 </archive>
159 <overlays>
160 <overlay>
161 <groupId>org.onap.vid</groupId>
162 <artifactId>vid-app-common</artifactId>
163 </overlay>
164 <overlay>
165 <groupId>org.onap.portal.sdk</groupId>
166 <artifactId>epsdk-app-overlay</artifactId>
167 </overlay>
168 </overlays>
169 </configuration>
170 </plugin>
171
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-assembly-plugin</artifactId>
175 <version>3.0.0</version>
176 <configuration>
177 <skipAssembly>${skipassembly}</skipAssembly>
178 <descriptors>
179 <descriptor>${basedir}/distribution.xml</descriptor>
180 </descriptors>
181 </configuration>
182 <executions>
183 <execution>
184 <id>make-assembly</id>
185 <phase>package</phase>
186 <goals>
187 <goal>single</goal>
188 </goals>
189 </execution>
190 </executions>
191 </plugin>
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-site-plugin</artifactId>
195 <version>3.6</version>
196 <dependencies>
197 <dependency>
198 <groupId>org.apache.maven.wagon</groupId>
199 <artifactId>wagon-webdav-jackrabbit</artifactId>
200 <version>2.10</version>
201 </dependency>
202 </dependencies>
203 </plugin>
204 <plugin>
Ittay Stern350c5302019-02-13 17:50:59 +0200205 <groupId>org.sonarsource.scanner.maven</groupId>
206 <artifactId>sonar-maven-plugin</artifactId>
Ittay Stern67a23ab2019-02-25 19:21:32 +0200207 <version>3.6.0.1398</version>
biniek6f2b2082018-12-17 11:18:05 +0100208 </plugin>
209 <plugin>
210 <groupId>org.jacoco</groupId>
211 <artifactId>jacoco-maven-plugin</artifactId>
Ittay Stern67a23ab2019-02-25 19:21:32 +0200212 <version>0.8.3</version>
biniek6f2b2082018-12-17 11:18:05 +0100213 <executions>
214 <execution>
215 <id>default-prepare-agent</id>
216 <goals>
217 <goal>prepare-agent</goal>
218 </goals>
219 </execution>
220 <execution>
221 <id>default-report</id>
222 <goals>
223 <goal>report</goal>
224 </goals>
225 </execution>
226 </executions>
227 </plugin>
228
229 </plugins>
230 </build>
231
232 <reporting>
233 <plugins>
234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-javadoc-plugin</artifactId>
237 <version>2.10.4</version>
238 <configuration>
239 <failOnError>false</failOnError>
240 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
241 <docletArtifact>
242 <groupId>org.umlgraph</groupId>
243 <artifactId>umlgraph</artifactId>
244 <version>5.6</version>
245 </docletArtifact>
246 <additionalparam>-views</additionalparam>
247 <useStandardDocletOptions>true</useStandardDocletOptions>
248 </configuration>
249 </plugin>
250 </plugins>
251 </reporting>
252 <dependencies>
253 <!-- SDK overlay war -->
254 <dependency>
255 <groupId>org.onap.portal.sdk</groupId>
256 <artifactId>epsdk-app-overlay</artifactId>
257 <version>${epsdk.version}</version>
258 <type>war</type>
259 </dependency>
260 <dependency>
261 <groupId>org.onap.portal.sdk</groupId>
262 <artifactId>epsdk-app-common</artifactId>
263 <version>${epsdk.version}</version>
264 <type>jar</type>
biniek6f2b2082018-12-17 11:18:05 +0100265 </dependency>
266 <dependency>
267 <groupId>org.onap.vid</groupId>
268 <artifactId>vid-app-common</artifactId>
269 <version>${project.version}</version>
270 <type>war</type>
biniek6f2b2082018-12-17 11:18:05 +0100271 </dependency>
272 <dependency>
273 <groupId>org.onap.vid</groupId>
274 <artifactId>vid-app-common</artifactId>
275 <version>${project.version}</version>
276 <type>jar</type>
277 <classifier>classes</classifier>
278 </dependency>
279 <!-- SDK components -->
280 <dependency>
281 <groupId>org.onap.portal.sdk</groupId>
282 <artifactId>epsdk-core</artifactId>
283 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100284 </dependency>
285 <dependency>
286 <groupId>org.onap.portal.sdk</groupId>
287 <artifactId>epsdk-analytics</artifactId>
288 <version>${epsdk.version}</version>
289 <exclusions>
290 <exclusion>
biniek6f2b2082018-12-17 11:18:05 +0100291 <groupId>com.lowagie</groupId>
292 <artifactId>itext</artifactId>
293 </exclusion>
294 </exclusions>
295 </dependency>
296 <dependency>
297 <groupId>org.onap.portal.sdk</groupId>
298 <artifactId>epsdk-workflow</artifactId>
299 <version>${epsdk.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100300 </dependency>
301 <dependency>
302 <groupId>com.att.eelf</groupId>
303 <artifactId>eelf-core</artifactId>
304 <version>1.0.0</version>
305 </dependency>
306 <!-- Mapper -->
307 <dependency>
308 <groupId>com.fasterxml.jackson.core</groupId>
309 <artifactId>jackson-annotations</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200310 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100311 </dependency>
312 <dependency>
313 <groupId>com.fasterxml.jackson.core</groupId>
314 <artifactId>jackson-core</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200315 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100316 </dependency>
317 <dependency>
318 <groupId>com.fasterxml.jackson.core</groupId>
319 <artifactId>jackson-databind</artifactId>
Ittay Stern350c5302019-02-13 17:50:59 +0200320 <version>${jackson.version}</version>
321 </dependency>
322 <!-- jackson-dataformat-* are to override elasticsearch-2.2.0 deps hell -->
323 <!-- (elasticsearch is an epsdk-app-common-2.4.0 dep) -->
324 <dependency>
325 <groupId>com.fasterxml.jackson.dataformat</groupId>
326 <artifactId>jackson-dataformat-smile</artifactId>
327 <version>${jackson.version}</version>
328 </dependency>
329 <dependency>
330 <groupId>com.fasterxml.jackson.dataformat</groupId>
331 <artifactId>jackson-dataformat-yaml</artifactId>
332 <version>${jackson.version}</version>
333 </dependency>
334 <dependency>
335 <groupId>com.fasterxml.jackson.dataformat</groupId>
336 <artifactId>jackson-dataformat-cbor</artifactId>
337 <version>${jackson.version}</version>
biniek6f2b2082018-12-17 11:18:05 +0100338 </dependency>
Ittay Stern2687d312019-02-21 17:26:33 +0200339 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
biniek6f2b2082018-12-17 11:18:05 +0100340 <dependency>
341 <groupId>com.mchange</groupId>
342 <artifactId>c3p0</artifactId>
Ittay Sterna8f5de02019-04-30 10:55:44 +0300343 <version>0.9.5.4</version>
biniek6f2b2082018-12-17 11:18:05 +0100344 </dependency>
345 <dependency>
346 <groupId>io.searchbox</groupId>
347 <artifactId>jest</artifactId>
348 <version>2.0.0</version>
349 <exclusions>
350 <exclusion>
351 <groupId>commons-logging</groupId>
352 <artifactId>commons-logging</artifactId>
353 </exclusion>
354 </exclusions>
355 </dependency>
356 <dependency>
357 <groupId>javax.servlet</groupId>
358 <artifactId>javax.servlet-api</artifactId>
359 <version>3.1.0</version>
360 </dependency>
361 <dependency>
362 <groupId>junit</groupId>
363 <artifactId>junit</artifactId>
364 <version>4.12</version>
365 </dependency>
366 <dependency>
367 <groupId>org.json</groupId>
368 <artifactId>json</artifactId>
369 <version>20160212</version>
370 </dependency>
371 <dependency>
372 <groupId>org.quartz-scheduler</groupId>
373 <artifactId>quartz</artifactId>
374 <version>2.2.1</version>
375 <exclusions>
376 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
377 <exclusion>
378 <groupId>c3p0</groupId>
379 <artifactId>c3p0</artifactId>
380 </exclusion>
381 </exclusions>
382 </dependency>
383 <!-- bridge to implement commons-logging using slf4j -->
384 <dependency>
385 <groupId>org.slf4j</groupId>
386 <artifactId>jcl-over-slf4j</artifactId>
387 <version>1.7.12</version>
388 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200389
390 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
biniek6f2b2082018-12-17 11:18:05 +0100391 <dependency>
392 <groupId>org.springframework</groupId>
393 <artifactId>spring-core</artifactId>
394 <version>${springframework.version}</version>
395 <exclusions>
396 <exclusion>
397 <groupId>commons-logging</groupId>
398 <artifactId>commons-logging</artifactId>
399 </exclusion>
400 </exclusions>
401 </dependency>
402 <dependency>
403 <groupId>org.springframework</groupId>
biniek6f2b2082018-12-17 11:18:05 +0100404 <artifactId>spring-test</artifactId>
405 <version>${springframework.version}</version>
406 </dependency>
407 <dependency>
408 <groupId>org.springframework</groupId>
409 <artifactId>spring-tx</artifactId>
410 <version>${springframework.version}</version>
411 </dependency>
412 <dependency>
413 <groupId>org.springframework</groupId>
414 <artifactId>spring-web</artifactId>
415 <version>${springframework.version}</version>
416 </dependency>
417 <dependency>
418 <groupId>org.springframework</groupId>
419 <artifactId>spring-webmvc</artifactId>
420 <version>${springframework.version}</version>
421 </dependency>
Ittay Stern3bbd23f2019-03-26 11:25:37 +0200422 <dependency>
423 <groupId>org.springframework</groupId>
424 <artifactId>spring-context-support</artifactId>
425 <version>${springframework.version}</version>
426 </dependency>
427 <dependency>
428 <groupId>org.springframework</groupId>
429 <artifactId>spring-orm</artifactId>
430 <version>${springframework.version}</version>
431 </dependency>
432 <dependency>
433 <groupId>org.springframework</groupId>
434 <artifactId>spring-aop</artifactId>
435 <version>${springframework.version}</version>
436 </dependency>
437
biniek6f2b2082018-12-17 11:18:05 +0100438 </dependencies>
439</project>