blob: 892ea126551f35fc3d5580b3a3234c4284aa9ecf [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. -->
jimmydotd8d45ec2017-05-08 11:20:53 -04009 <groupId>org.openecomp.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -040010 <artifactId>epsdk-app-onap</artifactId>
11 <version>1.1.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>
Ofir Sonsino564a0d72017-10-22 17:03:35 +030020 <epsdk.version>1.3.1</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>
107 <groupId>org.codehaus.mojo</groupId>
108 <artifactId>versions-maven-plugin</artifactId>
109 <version>1.3.1</version>
110 </plugin>
111 <plugin>
112 <groupId>org.sonatype.plugins</groupId>
113 <artifactId>nexus-staging-maven-plugin</artifactId>
114 <version>1.6.7</version>
115 <extensions>true</extensions>
116 <configuration>
117 <nexusUrl>${nexusproxy}</nexusUrl>
118 <stagingProfileId>176c31dfe190a</stagingProfileId>
119 <serverId>ecomp-staging</serverId>
120 </configuration>
121 </plugin>
122
jimmydot3982f4f2017-05-07 14:58:24 -0400123 <!-- Compile to Java 1.8 class output format -->
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-compiler-plugin</artifactId>
127 <version>3.1</version>
128 <configuration>
129 <source>1.8</source>
130 <target>1.8</target>
131 </configuration>
132 </plugin>
133
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-surefire-plugin</artifactId>
137 <version>2.19.1</version>
138 <configuration>
139 <skipTests>${skiptests}</skipTests>
140 <includes>
141 <include>**/Test*.java</include>
142 <include>**/*Test.java</include>
143 <include>**/*TestCase.java</include>
144 </includes>
145 <additionalClasspathElements>
146 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
147 </additionalClasspathElements>
148 <systemPropertyVariables>
149 <container.classpath>classpath:</container.classpath>
150 </systemPropertyVariables>
151 </configuration>
152 </plugin>
153
154 <!-- add version number to manifest -->
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-war-plugin</artifactId>
158 <version>2.0.2</version>
159 <configuration>
160 <archive>
161 <manifest>
162 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
163 </manifest>
164 <manifestEntries>
165 <Build-Number>${project.version}</Build-Number>
166 <Build-Time>${maven.build.timestamp}</Build-Time>
167 </manifestEntries>
168 </archive>
169 <overlays>
170 <overlay>
171 <groupId>org.openecomp.vid</groupId>
172 <artifactId>vid-app-common</artifactId>
173 </overlay>
174 <overlay>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300175 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400176 <artifactId>epsdk-app-overlay</artifactId>
177 </overlay>
178 </overlays>
179 </configuration>
180 </plugin>
181
182 <plugin>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-assembly-plugin</artifactId>
185 <version>3.0.0</version>
186 <configuration>
187 <skipAssembly>${skipassembly}</skipAssembly>
188 <descriptors>
189 <descriptor>${basedir}/distribution.xml</descriptor>
190 </descriptors>
191 </configuration>
192 <executions>
193 <execution>
194 <id>make-assembly</id>
195 <phase>package</phase>
196 <goals>
197 <goal>single</goal>
198 </goals>
199 </execution>
200 </executions>
201 </plugin>
jimmydot15eae842017-05-09 11:03:39 -0400202 <plugin>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-site-plugin</artifactId>
205 <version>3.6</version>
206 <dependencies>
207 <dependency>
208 <groupId>org.apache.maven.wagon</groupId>
209 <artifactId>wagon-webdav-jackrabbit</artifactId>
210 <version>2.10</version>
211 </dependency>
212 </dependencies>
213 </plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300214
Ofir Sonsino60fcc812017-09-11 15:21:09 +0300215 <plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300216 <artifactId>maven-surefire-plugin</artifactId>
217 <version>2.17</version>
218 </plugin>
Ofir Sonsino60fcc812017-09-11 15:21:09 +0300219 <plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300220 <groupId>org.sonarsource.scanner.maven</groupId>
221 <artifactId>sonar-maven-plugin</artifactId>
222 <version>3.2</version>
223 </plugin>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300224 <plugin>
225 <groupId>org.jacoco</groupId>
226 <artifactId>jacoco-maven-plugin</artifactId>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300227 <version>0.7.9</version>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300228 <executions>
229 <execution>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300230 <id>default-prepare-agent</id>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300231 <goals>
232 <goal>prepare-agent</goal>
233 </goals>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300234 </execution>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300235 <execution>
236 <id>default-report</id>
237 <goals>
238 <goal>report</goal>
239 </goals>
240 </execution>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300241 </executions>
242 </plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300243
jimmydot3982f4f2017-05-07 14:58:24 -0400244 </plugins>
245 </build>
246
jimmydot15eae842017-05-09 11:03:39 -0400247 <reporting>
248 <plugins>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-javadoc-plugin</artifactId>
252 <version>2.10.4</version>
253 <configuration>
254 <failOnError>false</failOnError>
255 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
256 <docletArtifact>
257 <groupId>org.umlgraph</groupId>
258 <artifactId>umlgraph</artifactId>
259 <version>5.6</version>
260 </docletArtifact>
261 <additionalparam>-views</additionalparam>
262 <useStandardDocletOptions>true</useStandardDocletOptions>
263 </configuration>
264 </plugin>
265 </plugins>
266 </reporting>
jimmydot3982f4f2017-05-07 14:58:24 -0400267 <dependencies>
268 <!-- SDK overlay war -->
269 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300270 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400271 <artifactId>epsdk-app-overlay</artifactId>
272 <version>${epsdk.version}</version>
273 <type>war</type>
274 </dependency>
275 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300276 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400277 <artifactId>epsdk-app-common</artifactId>
278 <version>${epsdk.version}</version>
279 <type>jar</type>
280 </dependency>
281 <dependency>
282 <groupId>org.openecomp.vid</groupId>
283 <artifactId>vid-app-common</artifactId>
284 <version>${project.version}</version>
285 <type>war</type>
286 </dependency>
287 <dependency>
288 <groupId>org.openecomp.vid</groupId>
289 <artifactId>vid-app-common</artifactId>
290 <version>${project.version}</version>
291 <type>jar</type>
292 <classifier>classes</classifier>
293 </dependency>
294 <!-- SDK components -->
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-core</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-analytics</artifactId>
303 <version>${epsdk.version}</version>
304 </dependency>
305 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300306 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400307 <artifactId>epsdk-workflow</artifactId>
308 <version>${epsdk.version}</version>
309 </dependency>
310 <dependency>
311 <groupId>com.att.eelf</groupId>
312 <artifactId>eelf-core</artifactId>
313 <version>1.0.0</version>
314 </dependency>
315 <dependency>
316 <groupId>org.openecomp.vid</groupId>
317 <artifactId>vid-app-common</artifactId>
318 <version>${version}</version>
319 <type>war</type>
320 </dependency>
321 <dependency>
322 <groupId>org.openecomp.vid</groupId>
323 <artifactId>vid-app-common</artifactId>
324 <version>${version}</version>
325 <type>jar</type>
326 <classifier>classes</classifier>
327 </dependency>
328 <!-- Mapper -->
329 <dependency>
330 <groupId>com.fasterxml.jackson.core</groupId>
331 <artifactId>jackson-annotations</artifactId>
332 <version>2.6.3</version>
333 </dependency>
334 <dependency>
335 <groupId>com.fasterxml.jackson.core</groupId>
336 <artifactId>jackson-core</artifactId>
337 <version>2.6.3</version>
338 </dependency>
339 <dependency>
340 <groupId>com.fasterxml.jackson.core</groupId>
341 <artifactId>jackson-databind</artifactId>
342 <version>2.6.3</version>
343 </dependency>
344 <dependency>
345 <groupId>com.mchange</groupId>
346 <artifactId>c3p0</artifactId>
347 <version>0.9.5.2</version>
348 </dependency>
349 <dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400350 <groupId>io.searchbox</groupId>
351 <artifactId>jest</artifactId>
352 <version>2.0.0</version>
353 <exclusions>
354 <exclusion>
355 <groupId>commons-logging</groupId>
356 <artifactId>commons-logging</artifactId>
357 </exclusion>
358 </exclusions>
359 </dependency>
360 <dependency>
361 <groupId>javax.servlet</groupId>
362 <artifactId>javax.servlet-api</artifactId>
363 <version>3.1.0</version>
364 </dependency>
365 <dependency>
366 <groupId>junit</groupId>
367 <artifactId>junit</artifactId>
368 <version>4.12</version>
369 </dependency>
370 <!-- Elastic Search -->
371 <!-- <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId>
372 <version>2.2.0</version> </dependency> -->
373 <dependency>
374 <groupId>org.json</groupId>
375 <artifactId>json</artifactId>
376 <version>20160212</version>
377 </dependency>
378 <dependency>
379 <groupId>org.quartz-scheduler</groupId>
380 <artifactId>quartz</artifactId>
381 <version>2.2.1</version>
382 <exclusions>
383 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
384 <exclusion>
385 <groupId>c3p0</groupId>
386 <artifactId>c3p0</artifactId>
387 </exclusion>
388 </exclusions>
389 </dependency>
390 <!-- bridge to implement commons-logging using slf4j -->
391 <dependency>
392 <groupId>org.slf4j</groupId>
393 <artifactId>jcl-over-slf4j</artifactId>
394 <version>1.7.12</version>
395 </dependency>
396 <dependency>
397 <groupId>org.springframework</groupId>
398 <artifactId>spring-context-support</artifactId>
399 <version>${springframework.version}</version>
400 </dependency>
401 <dependency>
402 <groupId>org.springframework</groupId>
403 <artifactId>spring-core</artifactId>
404 <version>${springframework.version}</version>
405 <exclusions>
406 <exclusion>
407 <groupId>commons-logging</groupId>
408 <artifactId>commons-logging</artifactId>
409 </exclusion>
410 </exclusions>
411 </dependency>
412 <dependency>
413 <groupId>org.springframework</groupId>
414 <artifactId>spring-test</artifactId>
415 <version>${springframework.version}</version>
416 </dependency>
417 <dependency>
418 <groupId>org.springframework</groupId>
419 <artifactId>spring-tx</artifactId>
420 <version>${springframework.version}</version>
421 </dependency>
422 <dependency>
423 <groupId>org.springframework</groupId>
424 <artifactId>spring-web</artifactId>
425 <version>${springframework.version}</version>
426 </dependency>
427 <dependency>
428 <groupId>org.springframework</groupId>
429 <artifactId>spring-webmvc</artifactId>
430 <version>${springframework.version}</version>
431 </dependency>
432 </dependencies>
433</project>