blob: 235716bd847960c8f6a2400122ec9724284c6fc2 [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
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>
20 <epsdk.version>2.4.0</epsdk.version>
21 <springframework.version>4.2.9.RELEASE</springframework.version>
22 <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. -->
26 <skiptests>false</skiptests>
27 <nexusproxy>https://nexus.onap.org</nexusproxy>
28 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
29 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
30 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
31 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
32
33 <!-- SONAR -->
34 <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>
38 </properties>
39
40 <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>
80
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>
100 </profile>
101 </profiles>
102
103 <build>
104 <finalName>vid</finalName>
105 <plugins>
106 <plugin>
107 <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
118 <!-- 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>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200132 <version>2.22.1</version>
biniek6f2b2082018-12-17 11:18:05 +0100133 <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 <useSystemClassLoader>false</useSystemClassLoader>
147 </configuration>
148 </plugin>
149
150 <!-- add version number to manifest -->
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-war-plugin</artifactId>
154 <version>2.0.2</version>
155 <configuration>
156 <archive>
157 <manifest>
158 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
159 </manifest>
160 <manifestEntries>
161 <Build-Number>${project.version}</Build-Number>
162 <Build-Time>${maven.build.timestamp}</Build-Time>
163 </manifestEntries>
164 </archive>
165 <overlays>
166 <overlay>
167 <groupId>org.onap.vid</groupId>
168 <artifactId>vid-app-common</artifactId>
169 </overlay>
170 <overlay>
171 <groupId>org.onap.portal.sdk</groupId>
172 <artifactId>epsdk-app-overlay</artifactId>
173 </overlay>
174 </overlays>
175 </configuration>
176 </plugin>
177
178 <plugin>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-assembly-plugin</artifactId>
181 <version>3.0.0</version>
182 <configuration>
183 <skipAssembly>${skipassembly}</skipAssembly>
184 <descriptors>
185 <descriptor>${basedir}/distribution.xml</descriptor>
186 </descriptors>
187 </configuration>
188 <executions>
189 <execution>
190 <id>make-assembly</id>
191 <phase>package</phase>
192 <goals>
193 <goal>single</goal>
194 </goals>
195 </execution>
196 </executions>
197 </plugin>
198 <plugin>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-site-plugin</artifactId>
201 <version>3.6</version>
202 <dependencies>
203 <dependency>
204 <groupId>org.apache.maven.wagon</groupId>
205 <artifactId>wagon-webdav-jackrabbit</artifactId>
206 <version>2.10</version>
207 </dependency>
208 </dependencies>
209 </plugin>
210 <plugin>
Ittay Stern6ad41e32018-12-31 17:21:27 +0200211 <groupId>org.sonarsource.scanner.maven</groupId>
biniek6f2b2082018-12-17 11:18:05 +0100212 <artifactId>sonar-maven-plugin</artifactId>
213 <version>3.3.0.603</version>
214 </plugin>
215 <plugin>
216 <groupId>org.jacoco</groupId>
217 <artifactId>jacoco-maven-plugin</artifactId>
218 <version>0.7.9</version>
219 <executions>
220 <execution>
221 <id>default-prepare-agent</id>
222 <goals>
223 <goal>prepare-agent</goal>
224 </goals>
225 </execution>
226 <execution>
227 <id>default-report</id>
228 <goals>
229 <goal>report</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
234
235 </plugins>
236 </build>
237
238 <reporting>
239 <plugins>
240 <plugin>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-javadoc-plugin</artifactId>
243 <version>2.10.4</version>
244 <configuration>
245 <failOnError>false</failOnError>
246 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
247 <docletArtifact>
248 <groupId>org.umlgraph</groupId>
249 <artifactId>umlgraph</artifactId>
250 <version>5.6</version>
251 </docletArtifact>
252 <additionalparam>-views</additionalparam>
253 <useStandardDocletOptions>true</useStandardDocletOptions>
254 </configuration>
255 </plugin>
256 </plugins>
257 </reporting>
258 <dependencies>
259 <!-- SDK overlay war -->
260 <dependency>
261 <groupId>org.onap.portal.sdk</groupId>
262 <artifactId>epsdk-app-overlay</artifactId>
263 <version>${epsdk.version}</version>
264 <type>war</type>
265 </dependency>
266 <dependency>
267 <groupId>org.onap.portal.sdk</groupId>
268 <artifactId>epsdk-app-common</artifactId>
269 <version>${epsdk.version}</version>
270 <type>jar</type>
271 <exclusions>
272 <exclusion>
273 <groupId>com.fasterxml.jackson.core</groupId>
274 <artifactId>jackson-core</artifactId>
275 </exclusion>
276 </exclusions>
277 </dependency>
278 <dependency>
279 <groupId>org.onap.vid</groupId>
280 <artifactId>vid-app-common</artifactId>
281 <version>${project.version}</version>
282 <type>war</type>
283 <exclusions>
284 <exclusion>
285 <groupId>com.fasterxml.jackson.core</groupId>
286 <artifactId>jackson-core</artifactId>
287 </exclusion>
288 </exclusions>
289 </dependency>
290 <dependency>
291 <groupId>org.onap.vid</groupId>
292 <artifactId>vid-app-common</artifactId>
293 <version>${project.version}</version>
294 <type>jar</type>
295 <classifier>classes</classifier>
296 </dependency>
297 <!-- SDK components -->
298 <dependency>
299 <groupId>org.onap.portal.sdk</groupId>
300 <artifactId>epsdk-core</artifactId>
301 <version>${epsdk.version}</version>
302 <exclusions>
303 <exclusion>
304 <groupId>com.fasterxml.jackson.core</groupId>
305 <artifactId>jackson-core</artifactId>
306 </exclusion>
307 </exclusions>
308 </dependency>
309 <dependency>
310 <groupId>org.onap.portal.sdk</groupId>
311 <artifactId>epsdk-analytics</artifactId>
312 <version>${epsdk.version}</version>
313 <exclusions>
314 <exclusion>
315 <groupId>com.fasterxml.jackson.core</groupId>
316 <artifactId>jackson-core</artifactId>
317 </exclusion>
318 <exclusion>
319 <groupId>com.lowagie</groupId>
320 <artifactId>itext</artifactId>
321 </exclusion>
322 </exclusions>
323 </dependency>
324 <dependency>
325 <groupId>org.onap.portal.sdk</groupId>
326 <artifactId>epsdk-workflow</artifactId>
327 <version>${epsdk.version}</version>
328 <exclusions>
329 <exclusion>
330 <groupId>com.fasterxml.jackson.core</groupId>
331 <artifactId>jackson-core</artifactId>
332 </exclusion>
333 </exclusions>
334 </dependency>
335 <dependency>
336 <groupId>com.att.eelf</groupId>
337 <artifactId>eelf-core</artifactId>
338 <version>1.0.0</version>
339 </dependency>
340 <!-- Mapper -->
341 <dependency>
342 <groupId>com.fasterxml.jackson.core</groupId>
343 <artifactId>jackson-annotations</artifactId>
344 <version>2.6.3</version>
345 </dependency>
346 <dependency>
347 <groupId>com.fasterxml.jackson.core</groupId>
348 <artifactId>jackson-core</artifactId>
349 <version>2.8.6</version>
350 </dependency>
351 <dependency>
352 <groupId>com.fasterxml.jackson.core</groupId>
353 <artifactId>jackson-databind</artifactId>
354 <version>2.6.7.1</version>
355 <exclusions>
356 <exclusion>
357 <groupId>com.fasterxml.jackson.core</groupId>
358 <artifactId>jackson-core</artifactId>
359 </exclusion>
360 </exclusions>
361 </dependency>
362 <dependency>
363 <groupId>com.mchange</groupId>
364 <artifactId>c3p0</artifactId>
365 <version>0.9.5.2</version>
366 </dependency>
367 <dependency>
368 <groupId>io.searchbox</groupId>
369 <artifactId>jest</artifactId>
370 <version>2.0.0</version>
371 <exclusions>
372 <exclusion>
373 <groupId>commons-logging</groupId>
374 <artifactId>commons-logging</artifactId>
375 </exclusion>
376 </exclusions>
377 </dependency>
378 <dependency>
379 <groupId>javax.servlet</groupId>
380 <artifactId>javax.servlet-api</artifactId>
381 <version>3.1.0</version>
382 </dependency>
383 <dependency>
384 <groupId>junit</groupId>
385 <artifactId>junit</artifactId>
386 <version>4.12</version>
387 </dependency>
388 <dependency>
389 <groupId>org.json</groupId>
390 <artifactId>json</artifactId>
391 <version>20160212</version>
392 </dependency>
393 <dependency>
394 <groupId>org.quartz-scheduler</groupId>
395 <artifactId>quartz</artifactId>
396 <version>2.2.1</version>
397 <exclusions>
398 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
399 <exclusion>
400 <groupId>c3p0</groupId>
401 <artifactId>c3p0</artifactId>
402 </exclusion>
403 </exclusions>
404 </dependency>
405 <!-- bridge to implement commons-logging using slf4j -->
406 <dependency>
407 <groupId>org.slf4j</groupId>
408 <artifactId>jcl-over-slf4j</artifactId>
409 <version>1.7.12</version>
410 </dependency>
411 <dependency>
412 <groupId>org.springframework</groupId>
413 <artifactId>spring-context-support</artifactId>
414 <version>${springframework.version}</version>
415 </dependency>
416 <dependency>
417 <groupId>org.springframework</groupId>
418 <artifactId>spring-core</artifactId>
419 <version>${springframework.version}</version>
420 <exclusions>
421 <exclusion>
422 <groupId>commons-logging</groupId>
423 <artifactId>commons-logging</artifactId>
424 </exclusion>
425 </exclusions>
426 </dependency>
427 <dependency>
428 <groupId>org.springframework</groupId>
429 <artifactId>spring-aop</artifactId>
430 <version>${springframework.version}</version>
431 </dependency>
432 <dependency>
433 <groupId>org.springframework</groupId>
434 <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>
452 </dependencies>
453</project>