blob: e5b88ba3f743a5db4dfb4e8dd72697da05e02d87 [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>
Jeremy Phelps28ecadb2017-11-17 13:49:49 -060011 <version>1.2.1-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>
Ofir Sonsinoefedea12018-02-20 18:03:30 +020020 <epsdk.version>2.1.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>
277 <groupId>commons-fileupload</groupId>
278 <artifactId>commons-fileupload</artifactId>
279 </exclusion>
280 <exclusion>
281 <groupId>com.fasterxml.jackson.core</groupId>
282 <artifactId>jackson-core</artifactId>
283 </exclusion>
284 </exclusions>
285 </dependency>
286 <!--Upgrade fileupload version-->
287 <dependency>
288 <groupId>commons-fileupload</groupId>
289 <artifactId>commons-fileupload</artifactId>
290 <version>1.3.3</version>
jimmydot3982f4f2017-05-07 14:58:24 -0400291 </dependency>
292 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200293 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400294 <artifactId>vid-app-common</artifactId>
295 <version>${project.version}</version>
296 <type>war</type>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300297 <exclusions>
298 <exclusion>
299 <groupId>com.fasterxml.jackson.core</groupId>
300 <artifactId>jackson-core</artifactId>
301 </exclusion>
302 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400303 </dependency>
304 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200305 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400306 <artifactId>vid-app-common</artifactId>
307 <version>${project.version}</version>
308 <type>jar</type>
309 <classifier>classes</classifier>
310 </dependency>
311 <!-- SDK components -->
312 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300313 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400314 <artifactId>epsdk-core</artifactId>
315 <version>${epsdk.version}</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300316 <exclusions>
317 <exclusion>
318 <groupId>com.fasterxml.jackson.core</groupId>
319 <artifactId>jackson-core</artifactId>
320 </exclusion>
321 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400322 </dependency>
323 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300324 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400325 <artifactId>epsdk-analytics</artifactId>
326 <version>${epsdk.version}</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300327 <exclusions>
328 <exclusion>
329 <groupId>com.fasterxml.jackson.core</groupId>
330 <artifactId>jackson-core</artifactId>
331 </exclusion>
332 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400333 </dependency>
334 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300335 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400336 <artifactId>epsdk-workflow</artifactId>
337 <version>${epsdk.version}</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300338 <exclusions>
339 <exclusion>
340 <groupId>com.fasterxml.jackson.core</groupId>
341 <artifactId>jackson-core</artifactId>
342 </exclusion>
343 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400344 </dependency>
345 <dependency>
346 <groupId>com.att.eelf</groupId>
347 <artifactId>eelf-core</artifactId>
348 <version>1.0.0</version>
349 </dependency>
Sonsino, Ofir (os0695)a3b6fb92018-04-02 10:25:24 +0300350
Sonsino, Ofir (os0695)628750a2018-03-21 19:09:20 +0200351
352
Sonsino, Ofir (os0695)845e43d2018-03-19 18:37:37 +0200353
jimmydot3982f4f2017-05-07 14:58:24 -0400354 <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>war</type>
359 </dependency>
360 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200361 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400362 <artifactId>vid-app-common</artifactId>
363 <version>${version}</version>
364 <type>jar</type>
365 <classifier>classes</classifier>
366 </dependency>
367 <!-- Mapper -->
368 <dependency>
369 <groupId>com.fasterxml.jackson.core</groupId>
370 <artifactId>jackson-annotations</artifactId>
371 <version>2.6.3</version>
372 </dependency>
373 <dependency>
374 <groupId>com.fasterxml.jackson.core</groupId>
Sonsino, Ofir (os0695)a3b6fb92018-04-02 10:25:24 +0300375 <artifactId>jackson-core</artifactId>
376 <version>2.8.6</version>
377 </dependency>
378 <dependency>
379 <groupId>com.fasterxml.jackson.core</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400380 <artifactId>jackson-databind</artifactId>
Sonsino, Ofir (os0695)845e43d2018-03-19 18:37:37 +0200381 <version>2.6.7.1</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300382 <exclusions>
383 <exclusion>
384 <groupId>com.fasterxml.jackson.core</groupId>
385 <artifactId>jackson-core</artifactId>
386 </exclusion>
387 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400388 </dependency>
389 <dependency>
390 <groupId>com.mchange</groupId>
391 <artifactId>c3p0</artifactId>
392 <version>0.9.5.2</version>
393 </dependency>
394 <dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400395 <groupId>io.searchbox</groupId>
396 <artifactId>jest</artifactId>
397 <version>2.0.0</version>
398 <exclusions>
399 <exclusion>
400 <groupId>commons-logging</groupId>
401 <artifactId>commons-logging</artifactId>
402 </exclusion>
403 </exclusions>
404 </dependency>
405 <dependency>
406 <groupId>javax.servlet</groupId>
407 <artifactId>javax.servlet-api</artifactId>
408 <version>3.1.0</version>
409 </dependency>
410 <dependency>
411 <groupId>junit</groupId>
412 <artifactId>junit</artifactId>
413 <version>4.12</version>
414 </dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400415 <dependency>
416 <groupId>org.json</groupId>
417 <artifactId>json</artifactId>
418 <version>20160212</version>
419 </dependency>
420 <dependency>
421 <groupId>org.quartz-scheduler</groupId>
422 <artifactId>quartz</artifactId>
423 <version>2.2.1</version>
424 <exclusions>
425 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
426 <exclusion>
427 <groupId>c3p0</groupId>
428 <artifactId>c3p0</artifactId>
429 </exclusion>
430 </exclusions>
431 </dependency>
432 <!-- bridge to implement commons-logging using slf4j -->
433 <dependency>
434 <groupId>org.slf4j</groupId>
435 <artifactId>jcl-over-slf4j</artifactId>
436 <version>1.7.12</version>
437 </dependency>
438 <dependency>
439 <groupId>org.springframework</groupId>
440 <artifactId>spring-context-support</artifactId>
441 <version>${springframework.version}</version>
442 </dependency>
443 <dependency>
444 <groupId>org.springframework</groupId>
445 <artifactId>spring-core</artifactId>
446 <version>${springframework.version}</version>
447 <exclusions>
448 <exclusion>
449 <groupId>commons-logging</groupId>
450 <artifactId>commons-logging</artifactId>
451 </exclusion>
452 </exclusions>
453 </dependency>
454 <dependency>
455 <groupId>org.springframework</groupId>
Sonsino, Ofir (os0695)8a9458f2018-03-25 16:33:41 +0300456 <artifactId>spring-aop</artifactId>
457 <version>${springframework.version}</version>
458 </dependency>
459 <dependency>
460 <groupId>org.springframework</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400461 <artifactId>spring-test</artifactId>
462 <version>${springframework.version}</version>
463 </dependency>
464 <dependency>
465 <groupId>org.springframework</groupId>
466 <artifactId>spring-tx</artifactId>
467 <version>${springframework.version}</version>
468 </dependency>
469 <dependency>
470 <groupId>org.springframework</groupId>
471 <artifactId>spring-web</artifactId>
472 <version>${springframework.version}</version>
473 </dependency>
474 <dependency>
475 <groupId>org.springframework</groupId>
476 <artifactId>spring-webmvc</artifactId>
477 <version>${springframework.version}</version>
478 </dependency>
479 </dependencies>
480</project>