blob: 85731d1b9e58eccdea5b62f24f4f3da00c43142b [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001<?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. -->
Ofir Sonsino1cfb0872018-01-31 17:19:00 +02009 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -040010 <artifactId>epsdk-app-onap</artifactId>
Sonsino, Ofir (os0695)660da8a2018-10-24 15:00:44 +030011 <version>4.0.0-SNAPSHOT</version>
jimmydot3982f4f2017-05-07 14:58:24 -040012 <packaging>war</packaging>
13 <name>ECOMP SDK Webapp for OpenSource</name>
14 <description>ECOMP SDK Web Application for public release</description>
15
16 <properties>
17 <encoding>UTF-8</encoding>
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Sonsino, Ofir (os0695)7059a9c2018-09-05 16:06:16 +030020 <epsdk.version>2.4.0</epsdk.version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +030021 <springframework.version>4.2.9.RELEASE</springframework.version>
jimmydot3982f4f2017-05-07 14:58:24 -040022 <hibernate.version>4.3.11.Final</hibernate.version>
23 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
24 <skipassembly>true</skipassembly>
25 <!-- Tests usually require some setup that maven cannot do, so skip. -->
Ofir Sonsino3274b392017-10-08 15:04:04 +030026 <skiptests>false</skiptests>
jimmydot3982f4f2017-05-07 14:58:24 -040027 <nexusproxy>https://nexus.onap.org</nexusproxy>
28 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
29 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
30 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +020031 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
Ofir Sonsino3274b392017-10-08 15:04:04 +030032
Ofir Sonsino60fcc812017-09-11 15:21:09 +030033 <!-- SONAR -->
Ofir Sonsino3274b392017-10-08 15:04:04 +030034 <sonar.language>java</sonar.language>
35 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
36 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
37 <sonar.projectVersion>${project.version}</sonar.projectVersion>
jimmydot3982f4f2017-05-07 14:58:24 -040038 </properties>
39
jimmydot15eae842017-05-09 11:03:39 -040040 <repositories>
41 <repository>
42 <id>ecomp-releases</id>
43 <name>VID Release Repository</name>
44 <url>${nexusproxy}${releaseNexusPath}</url>
45 </repository>
46 <repository>
47 <id>ecomp-snapshots</id>
48 <name>VID Snapshot Repository</name>
49 <url>${nexusproxy}${snapshotNexusPath}</url>
50 </repository>
51 <repository>
52 <id>ecomp-staging</id>
53 <name>VID Staging Repository</name>
54 <url>${nexusproxy}${stagingNexusPath}</url>
55 </repository>
56 <repository>
57 <!-- Snapshots repository has ECOMP snapshot artifacts -->
58 <id>oss-snapshots</id>
59 <name>oss Central - Snapshots</name>
60 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
61 </repository>
62 </repositories>
63 <distributionManagement>
64 <repository>
65 <id>ecomp-releases</id>
66 <name>VID Release Repository</name>
67 <url>${nexusproxy}/${releaseNexusPath}</url>
68 </repository>
69 <snapshotRepository>
70 <id>ecomp-snapshots</id>
71 <name>VID Snapshot Repository</name>
72 <url>${nexusproxy}/${snapshotNexusPath}</url>
73 </snapshotRepository>
74 <!-- added for javadoc -->
75 <site>
76 <id>ecomp-site</id>
77 <url>dav:${nexusproxy}${sitePath}</url>
78 </site>
79 </distributionManagement>
jimmydot97bd2522017-05-08 08:38:14 -040080
81 <profiles>
82 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
83 <profile>
84 <id>doclint-java8-disable</id>
85 <activation>
86 <jdk>[1.8,)</jdk>
87 </activation>
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-javadoc-plugin</artifactId>
93 <version>2.10.4</version>
94 <configuration>
95 <additionalparam>-Xdoclint:none</additionalparam>
96 </configuration>
97 </plugin>
98 </plugins>
99 </build>
jimmydot3982f4f2017-05-07 14:58:24 -0400100 </profile>
101 </profiles>
102
103 <build>
104 <finalName>vid</finalName>
105 <plugins>
jimmydotf88fada2017-05-07 19:42:59 -0400106 <plugin>
jimmydotf88fada2017-05-07 19:42:59 -0400107 <groupId>org.sonatype.plugins</groupId>
108 <artifactId>nexus-staging-maven-plugin</artifactId>
109 <version>1.6.7</version>
110 <extensions>true</extensions>
111 <configuration>
112 <nexusUrl>${nexusproxy}</nexusUrl>
113 <stagingProfileId>176c31dfe190a</stagingProfileId>
114 <serverId>ecomp-staging</serverId>
115 </configuration>
116 </plugin>
117
jimmydot3982f4f2017-05-07 14:58:24 -0400118 <!-- 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>
132 <version>2.19.1</version>
133 <configuration>
134 <skipTests>${skiptests}</skipTests>
135 <includes>
136 <include>**/Test*.java</include>
137 <include>**/*Test.java</include>
138 <include>**/*TestCase.java</include>
139 </includes>
140 <additionalClasspathElements>
141 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
142 </additionalClasspathElements>
143 <systemPropertyVariables>
144 <container.classpath>classpath:</container.classpath>
145 </systemPropertyVariables>
146 </configuration>
147 </plugin>
148
149 <!-- add version number to manifest -->
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-war-plugin</artifactId>
153 <version>2.0.2</version>
154 <configuration>
155 <archive>
156 <manifest>
157 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
158 </manifest>
159 <manifestEntries>
160 <Build-Number>${project.version}</Build-Number>
161 <Build-Time>${maven.build.timestamp}</Build-Time>
162 </manifestEntries>
163 </archive>
164 <overlays>
165 <overlay>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200166 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400167 <artifactId>vid-app-common</artifactId>
168 </overlay>
169 <overlay>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300170 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400171 <artifactId>epsdk-app-overlay</artifactId>
172 </overlay>
173 </overlays>
174 </configuration>
175 </plugin>
176
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-assembly-plugin</artifactId>
180 <version>3.0.0</version>
181 <configuration>
182 <skipAssembly>${skipassembly}</skipAssembly>
183 <descriptors>
184 <descriptor>${basedir}/distribution.xml</descriptor>
185 </descriptors>
186 </configuration>
187 <executions>
188 <execution>
189 <id>make-assembly</id>
190 <phase>package</phase>
191 <goals>
192 <goal>single</goal>
193 </goals>
194 </execution>
195 </executions>
196 </plugin>
jimmydot15eae842017-05-09 11:03:39 -0400197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-site-plugin</artifactId>
200 <version>3.6</version>
201 <dependencies>
202 <dependency>
203 <groupId>org.apache.maven.wagon</groupId>
204 <artifactId>wagon-webdav-jackrabbit</artifactId>
205 <version>2.10</version>
206 </dependency>
207 </dependencies>
208 </plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300209
Ofir Sonsino60fcc812017-09-11 15:21:09 +0300210 <plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300211 <artifactId>maven-surefire-plugin</artifactId>
212 <version>2.17</version>
213 </plugin>
Ofir Sonsino60fcc812017-09-11 15:21:09 +0300214 <plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300215 <groupId>org.sonarsource.scanner.maven</groupId>
216 <artifactId>sonar-maven-plugin</artifactId>
Ofir Sonsino1a0d63f2017-12-10 13:02:40 +0200217 <version>3.3.0.603</version>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300218 </plugin>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300219 <plugin>
220 <groupId>org.jacoco</groupId>
221 <artifactId>jacoco-maven-plugin</artifactId>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300222 <version>0.7.9</version>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300223 <executions>
224 <execution>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300225 <id>default-prepare-agent</id>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300226 <goals>
227 <goal>prepare-agent</goal>
228 </goals>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300229 </execution>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300230 <execution>
231 <id>default-report</id>
232 <goals>
233 <goal>report</goal>
234 </goals>
235 </execution>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300236 </executions>
237 </plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300238
jimmydot3982f4f2017-05-07 14:58:24 -0400239 </plugins>
240 </build>
241
jimmydot15eae842017-05-09 11:03:39 -0400242 <reporting>
243 <plugins>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-javadoc-plugin</artifactId>
247 <version>2.10.4</version>
248 <configuration>
249 <failOnError>false</failOnError>
250 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
251 <docletArtifact>
252 <groupId>org.umlgraph</groupId>
253 <artifactId>umlgraph</artifactId>
254 <version>5.6</version>
255 </docletArtifact>
256 <additionalparam>-views</additionalparam>
257 <useStandardDocletOptions>true</useStandardDocletOptions>
258 </configuration>
259 </plugin>
260 </plugins>
261 </reporting>
jimmydot3982f4f2017-05-07 14:58:24 -0400262 <dependencies>
263 <!-- SDK overlay war -->
264 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300265 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400266 <artifactId>epsdk-app-overlay</artifactId>
267 <version>${epsdk.version}</version>
268 <type>war</type>
269 </dependency>
270 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300271 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400272 <artifactId>epsdk-app-common</artifactId>
273 <version>${epsdk.version}</version>
274 <type>jar</type>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300275 <exclusions>
276 <exclusion>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300277 <groupId>com.fasterxml.jackson.core</groupId>
278 <artifactId>jackson-core</artifactId>
279 </exclusion>
280 </exclusions>
281 </dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400282 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200283 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400284 <artifactId>vid-app-common</artifactId>
285 <version>${project.version}</version>
286 <type>war</type>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300287 <exclusions>
288 <exclusion>
289 <groupId>com.fasterxml.jackson.core</groupId>
290 <artifactId>jackson-core</artifactId>
291 </exclusion>
292 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400293 </dependency>
294 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200295 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400296 <artifactId>vid-app-common</artifactId>
297 <version>${project.version}</version>
298 <type>jar</type>
299 <classifier>classes</classifier>
300 </dependency>
301 <!-- SDK components -->
302 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300303 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400304 <artifactId>epsdk-core</artifactId>
305 <version>${epsdk.version}</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300306 <exclusions>
307 <exclusion>
308 <groupId>com.fasterxml.jackson.core</groupId>
309 <artifactId>jackson-core</artifactId>
310 </exclusion>
311 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400312 </dependency>
313 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300314 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400315 <artifactId>epsdk-analytics</artifactId>
316 <version>${epsdk.version}</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300317 <exclusions>
318 <exclusion>
319 <groupId>com.fasterxml.jackson.core</groupId>
320 <artifactId>jackson-core</artifactId>
321 </exclusion>
Sonsino, Ofir (os0695)a2178fe2018-11-14 10:42:45 +0200322 <exclusion>
323 <groupId>com.lowagie</groupId>
324 <artifactId>itext</artifactId>
325 </exclusion>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300326 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400327 </dependency>
328 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300329 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400330 <artifactId>epsdk-workflow</artifactId>
331 <version>${epsdk.version}</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300332 <exclusions>
333 <exclusion>
334 <groupId>com.fasterxml.jackson.core</groupId>
335 <artifactId>jackson-core</artifactId>
336 </exclusion>
337 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400338 </dependency>
339 <dependency>
340 <groupId>com.att.eelf</groupId>
341 <artifactId>eelf-core</artifactId>
342 <version>1.0.0</version>
343 </dependency>
Sonsino, Ofir (os0695)a3b6fb92018-04-02 10:25:24 +0300344
Sonsino, Ofir (os0695)628750a2018-03-21 19:09:20 +0200345
346
Sonsino, Ofir (os0695)845e43d2018-03-19 18:37:37 +0200347
jimmydot3982f4f2017-05-07 14:58:24 -0400348 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200349 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400350 <artifactId>vid-app-common</artifactId>
351 <version>${version}</version>
352 <type>war</type>
353 </dependency>
354 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200355 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400356 <artifactId>vid-app-common</artifactId>
357 <version>${version}</version>
358 <type>jar</type>
359 <classifier>classes</classifier>
360 </dependency>
361 <!-- Mapper -->
362 <dependency>
363 <groupId>com.fasterxml.jackson.core</groupId>
364 <artifactId>jackson-annotations</artifactId>
365 <version>2.6.3</version>
366 </dependency>
367 <dependency>
368 <groupId>com.fasterxml.jackson.core</groupId>
Sonsino, Ofir (os0695)a3b6fb92018-04-02 10:25:24 +0300369 <artifactId>jackson-core</artifactId>
370 <version>2.8.6</version>
371 </dependency>
372 <dependency>
373 <groupId>com.fasterxml.jackson.core</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400374 <artifactId>jackson-databind</artifactId>
Sonsino, Ofir (os0695)845e43d2018-03-19 18:37:37 +0200375 <version>2.6.7.1</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300376 <exclusions>
377 <exclusion>
378 <groupId>com.fasterxml.jackson.core</groupId>
379 <artifactId>jackson-core</artifactId>
380 </exclusion>
381 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400382 </dependency>
383 <dependency>
384 <groupId>com.mchange</groupId>
385 <artifactId>c3p0</artifactId>
386 <version>0.9.5.2</version>
387 </dependency>
388 <dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400389 <groupId>io.searchbox</groupId>
390 <artifactId>jest</artifactId>
391 <version>2.0.0</version>
392 <exclusions>
393 <exclusion>
394 <groupId>commons-logging</groupId>
395 <artifactId>commons-logging</artifactId>
396 </exclusion>
397 </exclusions>
398 </dependency>
399 <dependency>
400 <groupId>javax.servlet</groupId>
401 <artifactId>javax.servlet-api</artifactId>
402 <version>3.1.0</version>
403 </dependency>
404 <dependency>
405 <groupId>junit</groupId>
406 <artifactId>junit</artifactId>
407 <version>4.12</version>
408 </dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400409 <dependency>
410 <groupId>org.json</groupId>
411 <artifactId>json</artifactId>
412 <version>20160212</version>
413 </dependency>
414 <dependency>
415 <groupId>org.quartz-scheduler</groupId>
416 <artifactId>quartz</artifactId>
417 <version>2.2.1</version>
418 <exclusions>
419 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
420 <exclusion>
421 <groupId>c3p0</groupId>
422 <artifactId>c3p0</artifactId>
423 </exclusion>
424 </exclusions>
425 </dependency>
426 <!-- bridge to implement commons-logging using slf4j -->
427 <dependency>
428 <groupId>org.slf4j</groupId>
429 <artifactId>jcl-over-slf4j</artifactId>
430 <version>1.7.12</version>
431 </dependency>
432 <dependency>
433 <groupId>org.springframework</groupId>
434 <artifactId>spring-context-support</artifactId>
435 <version>${springframework.version}</version>
436 </dependency>
437 <dependency>
438 <groupId>org.springframework</groupId>
439 <artifactId>spring-core</artifactId>
440 <version>${springframework.version}</version>
441 <exclusions>
442 <exclusion>
443 <groupId>commons-logging</groupId>
444 <artifactId>commons-logging</artifactId>
445 </exclusion>
446 </exclusions>
447 </dependency>
448 <dependency>
449 <groupId>org.springframework</groupId>
Sonsino, Ofir (os0695)8a9458f2018-03-25 16:33:41 +0300450 <artifactId>spring-aop</artifactId>
451 <version>${springframework.version}</version>
452 </dependency>
453 <dependency>
454 <groupId>org.springframework</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400455 <artifactId>spring-test</artifactId>
456 <version>${springframework.version}</version>
457 </dependency>
458 <dependency>
459 <groupId>org.springframework</groupId>
460 <artifactId>spring-tx</artifactId>
461 <version>${springframework.version}</version>
462 </dependency>
463 <dependency>
464 <groupId>org.springframework</groupId>
465 <artifactId>spring-web</artifactId>
466 <version>${springframework.version}</version>
467 </dependency>
468 <dependency>
469 <groupId>org.springframework</groupId>
470 <artifactId>spring-webmvc</artifactId>
471 <version>${springframework.version}</version>
472 </dependency>
473 </dependencies>
474</project>