blob: b8fbd853a4e1bce7917322ff8390b103d336fe08 [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001<?xml version="1.0"?>
2<project
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5 <modelVersion>4.0.0</modelVersion>
6
7 <!-- This is the Maven project object model (POM) file for VID web application
8 based on the ECOMP SDK distribution. This file stands alone; it does not
9 inherit from a parent maven module. -->
Ofir Sonsino1cfb0872018-01-31 17:19:00 +020010 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -040011 <artifactId>vid-app-common</artifactId>
Sonsino, Ofir (os0695)e33819d2018-05-28 19:08:44 +030012 <version>2.0.0-SNAPSHOT</version>
jimmydot3982f4f2017-05-07 14:58:24 -040013 <packaging>war</packaging>
14 <name>VID Common</name>
15 <description>VID Common code for opensource version</description>
16
17 <properties>
jimmydotf88fada2017-05-07 19:42:59 -040018 <encoding>UTF-8</encoding>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Ofir Sonsinoefedea12018-02-20 18:03:30 +020021 <epsdk.version>2.1.0</epsdk.version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +030022 <springframework.version>4.2.9.RELEASE</springframework.version>
jimmydotf88fada2017-05-07 19:42:59 -040023 <hibernate.version>4.3.11.Final</hibernate.version>
24 <!-- Skip assembling the zip by default -->
25 <skipassembly>true</skipassembly>
26 <!-- Tests usually require some setup that maven cannot do, so skip. -->
Ofir Sonsino3274b392017-10-08 15:04:04 +030027 <skiptests>false</skiptests>
jimmydotf88fada2017-05-07 19:42:59 -040028 <nexusproxy>https://nexus.onap.org</nexusproxy>
29 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
30 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
31 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +020032 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
jimmydot3982f4f2017-05-07 14:58:24 -040033 </properties>
jimmydotf88fada2017-05-07 19:42:59 -040034
35
jimmydot3982f4f2017-05-07 14:58:24 -040036 <!-- this should be commented for local debugging -->
37 <!-- <deployenv>local</deployenv> -->
jimmydotf88fada2017-05-07 19:42:59 -040038
jimmydot3982f4f2017-05-07 14:58:24 -040039 <repositories>
jimmydotf88fada2017-05-07 19:42:59 -040040 <repository>
41 <id>ecomp-releases</id>
42 <name>VID Release Repository</name>
43 <url>${nexusproxy}${releaseNexusPath}</url>
44 </repository>
45 <repository>
46 <id>ecomp-snapshots</id>
47 <name>VID Snapshot Repository</name>
48 <url>${nexusproxy}${snapshotNexusPath}</url>
49 </repository>
50 <repository>
51 <id>ecomp-staging</id>
52 <name>VID Staging Repository</name>
53 <url>${nexusproxy}${stagingNexusPath}</url>
54 </repository>
55 <repository>
56 <!-- Snapshots repository has ECOMP snapshot artifacts -->
57 <id>oss-snapshots</id>
58 <name>oss Central - Snapshots</name>
59 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
60 </repository>
61
jimmydot3982f4f2017-05-07 14:58:24 -040062 </repositories>
jimmydotf88fada2017-05-07 19:42:59 -040063 <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
jimmydot3982f4f2017-05-07 14:58:24 -040081 <build>
82 <finalName>vid-common</finalName>
jimmydotf88fada2017-05-07 19:42:59 -040083
jimmydot3982f4f2017-05-07 14:58:24 -040084 <plugins>
85 <plugin>
jimmydotf88fada2017-05-07 19:42:59 -040086 <groupId>org.sonatype.plugins</groupId>
87 <artifactId>nexus-staging-maven-plugin</artifactId>
88 <version>1.6.7</version>
89 <extensions>true</extensions>
90 <configuration>
91 <nexusUrl>${nexusproxy}</nexusUrl>
92 <stagingProfileId>176c31dfe190a</stagingProfileId>
93 <serverId>ecomp-staging</serverId>
94 </configuration>
95 </plugin>
96 <plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +030097 <groupId>org.jacoco</groupId>
98 <artifactId>jacoco-maven-plugin</artifactId>
99 <version>0.7.9</version>
jimmydot3982f4f2017-05-07 14:58:24 -0400100 <executions>
101 <execution>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300102 <id>default-prepare-agent</id>
jimmydot3982f4f2017-05-07 14:58:24 -0400103 <goals>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300104 <goal>prepare-agent</goal>
105 </goals>
106 </execution>
107 <execution>
108 <id>default-report</id>
109 <goals>
110 <goal>report</goal>
jimmydot3982f4f2017-05-07 14:58:24 -0400111 </goals>
112 </execution>
113 </executions>
114 </plugin>
115 <plugin>
116 <groupId>org.apache.tomcat.maven</groupId>
117 <artifactId>tomcat6-maven-plugin</artifactId>
118 <version>2.2</version>
119 </plugin>
120 <plugin>
121 <groupId>org.apache.tomcat.maven</groupId>
122 <artifactId>tomcat7-maven-plugin</artifactId>
123 <version>2.2</version>
124 </plugin>
125
126 <!-- Generate POJOs from MSO json schema -->
127 <plugin>
128 <groupId>org.jsonschema2pojo</groupId>
129 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
130 <version>0.4.23</version>
131 <configuration>
132 <sourceDirectory>${basedir}/src/main/resources/json/mso</sourceDirectory>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +0200133 <targetPackage>org.onap.vid.domain.mso</targetPackage>
jimmydot3982f4f2017-05-07 14:58:24 -0400134 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
135 </configuration>
136 <executions>
137 <execution>
138 <goals>
139 <goal>generate</goal>
140 </goals>
141 </execution>
142 </executions>
143 </plugin>
144
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-compiler-plugin</artifactId>
148 <version>3.1</version>
149 <configuration>
150 <source>1.8</source>
151 <target>1.8</target>
152 </configuration>
153 </plugin>
154
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-surefire-plugin</artifactId>
158 <version>2.19.1</version>
159 <configuration>
160 <skipTests>${skiptests}</skipTests>
161 <includes>
162 <include>**/Test*.java</include>
163 <include>**/*Test.java</include>
164 <include>**/*TestCase.java</include>
165 </includes>
166 <excludes>
167 <exclude>**/selenium/*.java</exclude>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +0200168 <exclude>**/integrationTest/*.java</exclude>
jimmydot3982f4f2017-05-07 14:58:24 -0400169 </excludes>
170 <additionalClasspathElements>
171 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
172 </additionalClasspathElements>
173 <systemPropertyVariables>
174 <container.classpath>classpath:</container.classpath>
175 </systemPropertyVariables>
176 </configuration>
177 </plugin>
178
179 <plugin>
180 <artifactId>maven-assembly-plugin</artifactId>
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>
197
198
199 <plugin>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-war-plugin</artifactId>
202 <version>3.0.0</version>
203 <configuration>
204 <!-- Build a jar with all the Java classes -->
205 <attachClasses>true</attachClasses>
206 <!-- Do not put any jars in the war -->
207 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
208 </configuration>
209 </plugin>
jimmydot15eae842017-05-09 11:03:39 -0400210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-site-plugin</artifactId>
213 <version>3.6</version>
214 <dependencies>
215 <dependency>
216 <groupId>org.apache.maven.wagon</groupId>
217 <artifactId>wagon-webdav-jackrabbit</artifactId>
218 <version>2.10</version>
219 </dependency>
220 </dependencies>
221 </plugin>
jimmydot3982f4f2017-05-07 14:58:24 -0400222 </plugins>
jimmydot3982f4f2017-05-07 14:58:24 -0400223 </build>
224
jimmydot15eae842017-05-09 11:03:39 -0400225 <reporting>
226 <plugins>
227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-javadoc-plugin</artifactId>
230 <version>2.10.4</version>
231 <configuration>
232 <failOnError>false</failOnError>
233 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
234 <docletArtifact>
235 <groupId>org.umlgraph</groupId>
236 <artifactId>umlgraph</artifactId>
237 <version>5.6</version>
238 </docletArtifact>
239 <additionalparam>-views</additionalparam>
240 <useStandardDocletOptions>true</useStandardDocletOptions>
241 </configuration>
242 </plugin>
243 </plugins>
244 </reporting>
245
jimmydot3982f4f2017-05-07 14:58:24 -0400246 <dependencies>
Ofir Sonsinob94bd702018-02-11 19:21:35 +0200247
248 <dependency>
249 <groupId>com.opencsv</groupId>
250 <artifactId>opencsv</artifactId>
251 <version>4.1</version>
252 </dependency>
kobloszd47fd3b2018-08-20 16:42:57 +0200253
254 <!-- HTTP client -->
255 <dependency>
256 <groupId>com.xebialabs.restito</groupId>
257 <artifactId>restito</artifactId>
258 <version>0.9.3</version>
259 <scope>test</scope>
260 </dependency>
Ofir Sonsinob94bd702018-02-11 19:21:35 +0200261
jimmydot3982f4f2017-05-07 14:58:24 -0400262 <!-- SDK overlay war -->
263
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>
jimmydotf88fada2017-05-07 19:42:59 -0400276
jimmydot3982f4f2017-05-07 14:58:24 -0400277 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300278 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400279 <artifactId>epsdk-core</artifactId>
280 <version>${epsdk.version}</version>
281 </dependency>
282 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300283 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400284 <artifactId>epsdk-analytics</artifactId>
285 <version>${epsdk.version}</version>
286 </dependency>
287 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300288 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400289 <artifactId>epsdk-workflow</artifactId>
290 <version>${epsdk.version}</version>
291 </dependency>
292 <dependency>
293 <groupId>com.att.eelf</groupId>
294 <artifactId>eelf-core</artifactId>
295 <version>1.0.0</version>
296 </dependency>
Sonsino, Ofir (os0695)845e43d2018-03-19 18:37:37 +0200297 <dependency>
298 <groupId>ch.qos.logback</groupId>
299 <artifactId>logback-core</artifactId>
300 <version>1.2.3</version>
301 </dependency>
302 <dependency>
303 <groupId>ch.qos.logback</groupId>
304 <artifactId>logback-classic</artifactId>
305 <version>1.2.3</version>
306 </dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400307
308 <!-- Mapper -->
309 <dependency>
310 <groupId>com.fasterxml.jackson.core</groupId>
311 <artifactId>jackson-annotations</artifactId>
312 <version>2.6.3</version>
313 </dependency>
314 <dependency>
315 <groupId>com.fasterxml.jackson.core</groupId>
316 <artifactId>jackson-core</artifactId>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300317 <version>2.8.6</version>
jimmydot3982f4f2017-05-07 14:58:24 -0400318 </dependency>
319 <dependency>
320 <groupId>com.fasterxml.jackson.core</groupId>
321 <artifactId>jackson-databind</artifactId>
Sonsino, Ofir (os0695)845e43d2018-03-19 18:37:37 +0200322 <version>2.6.7.1</version>
jimmydot3982f4f2017-05-07 14:58:24 -0400323 </dependency>
324 <dependency>
325 <groupId>org.codehaus.jackson</groupId>
326 <artifactId>jackson-mapper-asl</artifactId>
327 <version>1.9.13</version>
328 </dependency>
329 <dependency>
330 <groupId>com.mchange</groupId>
331 <artifactId>c3p0</artifactId>
332 <version>0.9.5.2</version>
333 </dependency>
334 <dependency>
335 <groupId>io.searchbox</groupId>
336 <artifactId>jest</artifactId>
337 <version>2.0.0</version>
338 <exclusions>
339 <exclusion>
340 <groupId>commons-logging</groupId>
341 <artifactId>commons-logging</artifactId>
342 </exclusion>
343 </exclusions>
344 </dependency>
345 <dependency>
346 <groupId>javax.servlet</groupId>
347 <artifactId>javax.servlet-api</artifactId>
348 <version>3.1.0</version>
349 <scope>provided</scope>
350 </dependency>
351 <dependency>
352 <groupId>junit</groupId>
353 <artifactId>junit</artifactId>
354 <version>4.12</version>
355 </dependency>
356 <dependency>
tgolabek5f147732018-05-21 12:13:08 +0200357 <groupId>com.google.code.bean-matchers</groupId>
358 <artifactId>bean-matchers</artifactId>
359 <version>0.11</version>
360 <scope>test</scope>
361 </dependency>
362 <dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400363 <groupId>org.json</groupId>
364 <artifactId>json</artifactId>
365 <version>20160212</version>
366 </dependency>
367 <dependency>
368 <groupId>org.quartz-scheduler</groupId>
369 <artifactId>quartz</artifactId>
370 <version>2.2.1</version>
371 <exclusions>
372 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
373 <exclusion>
374 <groupId>c3p0</groupId>
375 <artifactId>c3p0</artifactId>
376 </exclusion>
377 </exclusions>
378 </dependency>
379 <!-- bridge to implement commons-logging using slf4j -->
380 <dependency>
381 <groupId>org.slf4j</groupId>
382 <artifactId>jcl-over-slf4j</artifactId>
383 <version>1.7.12</version>
384 </dependency>
385 <dependency>
386 <groupId>org.springframework</groupId>
387 <artifactId>spring-context-support</artifactId>
388 <version>${springframework.version}</version>
389 </dependency>
390 <dependency>
391 <groupId>org.springframework</groupId>
392 <artifactId>spring-core</artifactId>
393 <version>${springframework.version}</version>
394 <exclusions>
395 <exclusion>
396 <groupId>commons-logging</groupId>
397 <artifactId>commons-logging</artifactId>
398 </exclusion>
399 </exclusions>
400 </dependency>
401 <dependency>
402 <groupId>org.springframework</groupId>
403 <artifactId>spring-test</artifactId>
404 <version>${springframework.version}</version>
405 </dependency>
406 <dependency>
407 <groupId>org.springframework</groupId>
408 <artifactId>spring-tx</artifactId>
409 <version>${springframework.version}</version>
410 </dependency>
411 <dependency>
412 <groupId>org.springframework</groupId>
413 <artifactId>spring-web</artifactId>
414 <version>${springframework.version}</version>
415 </dependency>
416 <dependency>
417 <groupId>org.springframework</groupId>
418 <artifactId>spring-webmvc</artifactId>
419 <version>${springframework.version}</version>
420 </dependency>
421 <dependency>
422 <groupId>org.glassfish.jersey.core</groupId>
423 <artifactId>jersey-client</artifactId>
424 <version>2.23.1</version>
425 </dependency>
426 <dependency>
427 <groupId>org.glassfish.jersey.connectors</groupId>
428 <artifactId>jersey-jetty-connector</artifactId>
429 <version>2.23.1</version>
430 </dependency>
431 <dependency>
432 <groupId>com.fasterxml.jackson.jaxrs</groupId>
433 <artifactId>jackson-jaxrs-json-provider</artifactId>
434 <version>2.6.3</version>
435 </dependency>
436 <dependency>
437 <groupId>commons-beanutils</groupId>
438 <artifactId>commons-beanutils</artifactId>
439 <version>1.9.3</version>
440 </dependency>
441 <dependency>
442 <groupId>com.googlecode.json-simple</groupId>
443 <artifactId>json-simple</artifactId>
444 <version>1.1.1</version>
445 </dependency>
446 <dependency>
447 <groupId>org.seleniumhq.selenium</groupId>
448 <artifactId>selenium-java</artifactId>
449 <version>2.53.1</version>
450 <scope>test</scope>
451 </dependency>
452 <dependency>
453 <groupId>org.seleniumhq.selenium</groupId>
454 <artifactId>selenium-api</artifactId>
455 <version>2.53.1</version>
456 <scope>test</scope>
457 </dependency>
458 <dependency>
459 <groupId>org.testng</groupId>
460 <artifactId>testng</artifactId>
461 <version>6.8</version>
462 <scope>test</scope>
463 </dependency>
464 <dependency>
465 <groupId>org.seleniumhq.selenium</groupId>
466 <artifactId>selenium-firefox-driver</artifactId>
467 <version>2.53.1</version>
468 </dependency>
469 <dependency>
470 <groupId>xml-apis</groupId>
471 <artifactId>xml-apis</artifactId>
472 <version>1.4.01</version>
473 </dependency>
474 <dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400475 <groupId>org.yaml</groupId>
476 <artifactId>snakeyaml</artifactId>
477 <version>1.16</version>
478 </dependency>
Ofir Sonsinob3567072017-09-04 14:52:07 +0300479 <dependency>
480 <groupId>org.skyscreamer</groupId>
481 <artifactId>jsonassert</artifactId>
482 <version>1.5.0</version>
483 </dependency>
484 <dependency>
Sonsino, Ofir (os0695)a94ec862018-03-19 15:22:39 +0200485 <groupId>org.onap.sdc.sdc-tosca</groupId>
Ofir Sonsinob3567072017-09-04 14:52:07 +0300486 <artifactId>sdc-tosca</artifactId>
Sonsino, Ofir (os0695)290473a2018-08-15 14:38:20 +0300487 <version>1.4.1</version>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +0200488 <scope>compile</scope>
Ofir Sonsinob3567072017-09-04 14:52:07 +0300489 </dependency>
490 <dependency>
491 <groupId>net.javacrumbs.json-unit</groupId>
492 <artifactId>json-unit</artifactId>
493 <version>1.23.0</version>
494 <scope>test</scope>
495 </dependency>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +0200496 <dependency>
497 <groupId>org.apache.commons</groupId>
498 <artifactId>commons-text</artifactId>
499 <version>1.1</version>
500 </dependency>
501 <dependency>
502 <groupId>org.hamcrest</groupId>
503 <artifactId>java-hamcrest</artifactId>
504 <version>2.0.0.0</version>
505 <scope>test</scope>
506 </dependency>
Sonsino, Ofir (os0695)c72d5652018-07-10 14:20:54 +0300507 <dependency>
508 <groupId>org.togglz</groupId>
509 <artifactId>togglz-spring-core</artifactId>
510 <version>2.5.0.Final</version>
511 </dependency>
kobloszd47fd3b2018-08-20 16:42:57 +0200512 <dependency>
513 <groupId>org.assertj</groupId>
514 <artifactId>assertj-core</artifactId>
515 <version>3.10.0</version>
516 <scope>compile</scope>
517 </dependency>
Ofir Sonsino1cfb0872018-01-31 17:19:00 +0200518 </dependencies>
jimmydot3982f4f2017-05-07 14:58:24 -0400519</project>