blob: e8622f01218a66bcda101bee85eed4324243847f [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>
Ofir Sonsinoe895f012017-12-04 13:59:17 +020011 <version>1.1.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 Sonsino6d223e92017-11-08 19:34:25 +020020 <epsdk.version>1.3.2</epsdk.version>
jimmydot3982f4f2017-05-07 14:58:24 -040021 <springframework.version>4.2.0.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. -->
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>
31 <sitePath>/content/sites/site/org/openecomp/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>
166 <groupId>org.openecomp.vid</groupId>
167 <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>
275 </dependency>
276 <dependency>
277 <groupId>org.openecomp.vid</groupId>
278 <artifactId>vid-app-common</artifactId>
279 <version>${project.version}</version>
280 <type>war</type>
281 </dependency>
282 <dependency>
283 <groupId>org.openecomp.vid</groupId>
284 <artifactId>vid-app-common</artifactId>
285 <version>${project.version}</version>
286 <type>jar</type>
287 <classifier>classes</classifier>
288 </dependency>
289 <!-- SDK components -->
290 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300291 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400292 <artifactId>epsdk-core</artifactId>
293 <version>${epsdk.version}</version>
294 </dependency>
295 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300296 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400297 <artifactId>epsdk-analytics</artifactId>
298 <version>${epsdk.version}</version>
299 </dependency>
300 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300301 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400302 <artifactId>epsdk-workflow</artifactId>
303 <version>${epsdk.version}</version>
304 </dependency>
305 <dependency>
306 <groupId>com.att.eelf</groupId>
307 <artifactId>eelf-core</artifactId>
308 <version>1.0.0</version>
309 </dependency>
310 <dependency>
311 <groupId>org.openecomp.vid</groupId>
312 <artifactId>vid-app-common</artifactId>
313 <version>${version}</version>
314 <type>war</type>
315 </dependency>
316 <dependency>
317 <groupId>org.openecomp.vid</groupId>
318 <artifactId>vid-app-common</artifactId>
319 <version>${version}</version>
320 <type>jar</type>
321 <classifier>classes</classifier>
322 </dependency>
323 <!-- Mapper -->
324 <dependency>
325 <groupId>com.fasterxml.jackson.core</groupId>
326 <artifactId>jackson-annotations</artifactId>
327 <version>2.6.3</version>
328 </dependency>
329 <dependency>
330 <groupId>com.fasterxml.jackson.core</groupId>
331 <artifactId>jackson-core</artifactId>
332 <version>2.6.3</version>
333 </dependency>
334 <dependency>
335 <groupId>com.fasterxml.jackson.core</groupId>
336 <artifactId>jackson-databind</artifactId>
337 <version>2.6.3</version>
338 </dependency>
339 <dependency>
340 <groupId>com.mchange</groupId>
341 <artifactId>c3p0</artifactId>
342 <version>0.9.5.2</version>
343 </dependency>
344 <dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400345 <groupId>io.searchbox</groupId>
346 <artifactId>jest</artifactId>
347 <version>2.0.0</version>
348 <exclusions>
349 <exclusion>
350 <groupId>commons-logging</groupId>
351 <artifactId>commons-logging</artifactId>
352 </exclusion>
353 </exclusions>
354 </dependency>
355 <dependency>
356 <groupId>javax.servlet</groupId>
357 <artifactId>javax.servlet-api</artifactId>
358 <version>3.1.0</version>
359 </dependency>
360 <dependency>
361 <groupId>junit</groupId>
362 <artifactId>junit</artifactId>
363 <version>4.12</version>
364 </dependency>
365 <!-- Elastic Search -->
366 <!-- <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId>
367 <version>2.2.0</version> </dependency> -->
368 <dependency>
369 <groupId>org.json</groupId>
370 <artifactId>json</artifactId>
371 <version>20160212</version>
372 </dependency>
373 <dependency>
374 <groupId>org.quartz-scheduler</groupId>
375 <artifactId>quartz</artifactId>
376 <version>2.2.1</version>
377 <exclusions>
378 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
379 <exclusion>
380 <groupId>c3p0</groupId>
381 <artifactId>c3p0</artifactId>
382 </exclusion>
383 </exclusions>
384 </dependency>
385 <!-- bridge to implement commons-logging using slf4j -->
386 <dependency>
387 <groupId>org.slf4j</groupId>
388 <artifactId>jcl-over-slf4j</artifactId>
389 <version>1.7.12</version>
390 </dependency>
391 <dependency>
392 <groupId>org.springframework</groupId>
393 <artifactId>spring-context-support</artifactId>
394 <version>${springframework.version}</version>
395 </dependency>
396 <dependency>
397 <groupId>org.springframework</groupId>
398 <artifactId>spring-core</artifactId>
399 <version>${springframework.version}</version>
400 <exclusions>
401 <exclusion>
402 <groupId>commons-logging</groupId>
403 <artifactId>commons-logging</artifactId>
404 </exclusion>
405 </exclusions>
406 </dependency>
407 <dependency>
408 <groupId>org.springframework</groupId>
409 <artifactId>spring-test</artifactId>
410 <version>${springframework.version}</version>
411 </dependency>
412 <dependency>
413 <groupId>org.springframework</groupId>
414 <artifactId>spring-tx</artifactId>
415 <version>${springframework.version}</version>
416 </dependency>
417 <dependency>
418 <groupId>org.springframework</groupId>
419 <artifactId>spring-web</artifactId>
420 <version>${springframework.version}</version>
421 </dependency>
422 <dependency>
423 <groupId>org.springframework</groupId>
424 <artifactId>spring-webmvc</artifactId>
425 <version>${springframework.version}</version>
426 </dependency>
427 </dependencies>
428</project>