blob: 9ebbb4dd1a9533ee7218e2ac9400031b811e6d0e [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. -->
10 <groupId>org.openecomp.vid</groupId>
11 <artifactId>vid-app-common</artifactId>
12 <version>1.1.0-SNAPSHOT</version>
13 <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 Sonsino564a0d72017-10-22 17:03:35 +030021 <epsdk.version>1.3.1</epsdk.version>
jimmydotf88fada2017-05-07 19:42:59 -040022 <springframework.version>4.2.0.RELEASE</springframework.version>
23 <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>
32 <sitePath>/content/sites/site/org/openecomp/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>
133 <targetPackage>org.openecomp.vid.domain.mso</targetPackage>
134 <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>
168 </excludes>
169 <additionalClasspathElements>
170 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
171 </additionalClasspathElements>
172 <systemPropertyVariables>
173 <container.classpath>classpath:</container.classpath>
174 </systemPropertyVariables>
175 </configuration>
176 </plugin>
177
178 <plugin>
179 <artifactId>maven-assembly-plugin</artifactId>
180 <configuration>
181 <skipAssembly>${skipassembly}</skipAssembly>
182 <descriptors>
183 <descriptor>${basedir}/distribution.xml</descriptor>
184 </descriptors>
185 </configuration>
186 <executions>
187 <execution>
188 <id>make-assembly</id>
189 <phase>package</phase>
190 <goals>
191 <goal>single</goal>
192 </goals>
193 </execution>
194 </executions>
195 </plugin>
196
197
198 <plugin>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-war-plugin</artifactId>
201 <version>3.0.0</version>
202 <configuration>
203 <!-- Build a jar with all the Java classes -->
204 <attachClasses>true</attachClasses>
205 <!-- Do not put any jars in the war -->
206 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
207 </configuration>
208 </plugin>
jimmydot15eae842017-05-09 11:03:39 -0400209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-site-plugin</artifactId>
212 <version>3.6</version>
213 <dependencies>
214 <dependency>
215 <groupId>org.apache.maven.wagon</groupId>
216 <artifactId>wagon-webdav-jackrabbit</artifactId>
217 <version>2.10</version>
218 </dependency>
219 </dependencies>
220 </plugin>
jimmydot3982f4f2017-05-07 14:58:24 -0400221 </plugins>
jimmydot3982f4f2017-05-07 14:58:24 -0400222 </build>
223
jimmydot15eae842017-05-09 11:03:39 -0400224 <reporting>
225 <plugins>
226 <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-javadoc-plugin</artifactId>
229 <version>2.10.4</version>
230 <configuration>
231 <failOnError>false</failOnError>
232 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
233 <docletArtifact>
234 <groupId>org.umlgraph</groupId>
235 <artifactId>umlgraph</artifactId>
236 <version>5.6</version>
237 </docletArtifact>
238 <additionalparam>-views</additionalparam>
239 <useStandardDocletOptions>true</useStandardDocletOptions>
240 </configuration>
241 </plugin>
242 </plugins>
243 </reporting>
244
jimmydot3982f4f2017-05-07 14:58:24 -0400245 <dependencies>
246 <!-- SDK overlay war -->
247
248 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300249 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400250 <artifactId>epsdk-app-overlay</artifactId>
251 <version>${epsdk.version}</version>
252 <type>war</type>
253 </dependency>
254 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300255 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400256 <artifactId>epsdk-app-common</artifactId>
257 <version>${epsdk.version}</version>
258 <type>jar</type>
259 </dependency>
jimmydotf88fada2017-05-07 19:42:59 -0400260
jimmydot3982f4f2017-05-07 14:58:24 -0400261 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300262 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400263 <artifactId>epsdk-core</artifactId>
264 <version>${epsdk.version}</version>
265 </dependency>
266 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300267 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400268 <artifactId>epsdk-analytics</artifactId>
269 <version>${epsdk.version}</version>
270 </dependency>
271 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300272 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400273 <artifactId>epsdk-workflow</artifactId>
274 <version>${epsdk.version}</version>
275 </dependency>
276 <dependency>
277 <groupId>com.att.eelf</groupId>
278 <artifactId>eelf-core</artifactId>
279 <version>1.0.0</version>
280 </dependency>
281
282 <!-- Mapper -->
283 <dependency>
284 <groupId>com.fasterxml.jackson.core</groupId>
285 <artifactId>jackson-annotations</artifactId>
286 <version>2.6.3</version>
287 </dependency>
288 <dependency>
289 <groupId>com.fasterxml.jackson.core</groupId>
290 <artifactId>jackson-core</artifactId>
291 <version>2.6.3</version>
292 </dependency>
293 <dependency>
294 <groupId>com.fasterxml.jackson.core</groupId>
295 <artifactId>jackson-databind</artifactId>
296 <version>2.6.3</version>
297 </dependency>
298 <dependency>
299 <groupId>org.codehaus.jackson</groupId>
300 <artifactId>jackson-mapper-asl</artifactId>
301 <version>1.9.13</version>
302 </dependency>
303 <dependency>
304 <groupId>com.mchange</groupId>
305 <artifactId>c3p0</artifactId>
306 <version>0.9.5.2</version>
307 </dependency>
308 <dependency>
309 <groupId>io.searchbox</groupId>
310 <artifactId>jest</artifactId>
311 <version>2.0.0</version>
312 <exclusions>
313 <exclusion>
314 <groupId>commons-logging</groupId>
315 <artifactId>commons-logging</artifactId>
316 </exclusion>
317 </exclusions>
318 </dependency>
319 <dependency>
320 <groupId>javax.servlet</groupId>
321 <artifactId>javax.servlet-api</artifactId>
322 <version>3.1.0</version>
323 <scope>provided</scope>
324 </dependency>
325 <dependency>
326 <groupId>junit</groupId>
327 <artifactId>junit</artifactId>
328 <version>4.12</version>
329 </dependency>
330 <dependency>
331 <groupId>org.json</groupId>
332 <artifactId>json</artifactId>
333 <version>20160212</version>
334 </dependency>
335 <dependency>
336 <groupId>org.quartz-scheduler</groupId>
337 <artifactId>quartz</artifactId>
338 <version>2.2.1</version>
339 <exclusions>
340 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
341 <exclusion>
342 <groupId>c3p0</groupId>
343 <artifactId>c3p0</artifactId>
344 </exclusion>
345 </exclusions>
346 </dependency>
347 <!-- bridge to implement commons-logging using slf4j -->
348 <dependency>
349 <groupId>org.slf4j</groupId>
350 <artifactId>jcl-over-slf4j</artifactId>
351 <version>1.7.12</version>
352 </dependency>
353 <dependency>
354 <groupId>org.springframework</groupId>
355 <artifactId>spring-context-support</artifactId>
356 <version>${springframework.version}</version>
357 </dependency>
358 <dependency>
359 <groupId>org.springframework</groupId>
360 <artifactId>spring-core</artifactId>
361 <version>${springframework.version}</version>
362 <exclusions>
363 <exclusion>
364 <groupId>commons-logging</groupId>
365 <artifactId>commons-logging</artifactId>
366 </exclusion>
367 </exclusions>
368 </dependency>
369 <dependency>
370 <groupId>org.springframework</groupId>
371 <artifactId>spring-test</artifactId>
372 <version>${springframework.version}</version>
373 </dependency>
374 <dependency>
375 <groupId>org.springframework</groupId>
376 <artifactId>spring-tx</artifactId>
377 <version>${springframework.version}</version>
378 </dependency>
379 <dependency>
380 <groupId>org.springframework</groupId>
381 <artifactId>spring-web</artifactId>
382 <version>${springframework.version}</version>
383 </dependency>
384 <dependency>
385 <groupId>org.springframework</groupId>
386 <artifactId>spring-webmvc</artifactId>
387 <version>${springframework.version}</version>
388 </dependency>
389 <dependency>
390 <groupId>org.glassfish.jersey.core</groupId>
391 <artifactId>jersey-client</artifactId>
392 <version>2.23.1</version>
393 </dependency>
394 <dependency>
395 <groupId>org.glassfish.jersey.connectors</groupId>
396 <artifactId>jersey-jetty-connector</artifactId>
397 <version>2.23.1</version>
398 </dependency>
399 <dependency>
400 <groupId>com.fasterxml.jackson.jaxrs</groupId>
401 <artifactId>jackson-jaxrs-json-provider</artifactId>
402 <version>2.6.3</version>
403 </dependency>
404 <dependency>
405 <groupId>commons-beanutils</groupId>
406 <artifactId>commons-beanutils</artifactId>
407 <version>1.9.3</version>
408 </dependency>
409 <dependency>
410 <groupId>com.googlecode.json-simple</groupId>
411 <artifactId>json-simple</artifactId>
412 <version>1.1.1</version>
413 </dependency>
414 <dependency>
415 <groupId>org.seleniumhq.selenium</groupId>
416 <artifactId>selenium-java</artifactId>
417 <version>2.53.1</version>
418 <scope>test</scope>
419 </dependency>
420 <dependency>
421 <groupId>org.seleniumhq.selenium</groupId>
422 <artifactId>selenium-api</artifactId>
423 <version>2.53.1</version>
424 <scope>test</scope>
425 </dependency>
426 <dependency>
427 <groupId>org.testng</groupId>
428 <artifactId>testng</artifactId>
429 <version>6.8</version>
430 <scope>test</scope>
431 </dependency>
432 <dependency>
433 <groupId>org.seleniumhq.selenium</groupId>
434 <artifactId>selenium-firefox-driver</artifactId>
435 <version>2.53.1</version>
436 </dependency>
437 <dependency>
438 <groupId>xml-apis</groupId>
439 <artifactId>xml-apis</artifactId>
440 <version>1.4.01</version>
441 </dependency>
442 <dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400443 <groupId>org.yaml</groupId>
444 <artifactId>snakeyaml</artifactId>
445 <version>1.16</version>
446 </dependency>
Ofir Sonsinob3567072017-09-04 14:52:07 +0300447 <dependency>
448 <groupId>org.skyscreamer</groupId>
449 <artifactId>jsonassert</artifactId>
450 <version>1.5.0</version>
451 </dependency>
452 <dependency>
453 <groupId>org.openecomp.sdc.sdc-tosca</groupId>
454 <artifactId>sdc-tosca</artifactId>
Ofir Sonsinoefe64702017-11-01 15:57:45 +0200455 <version>1.1.32</version>
Ofir Sonsinob3567072017-09-04 14:52:07 +0300456 </dependency>
457 <dependency>
458 <groupId>net.javacrumbs.json-unit</groupId>
459 <artifactId>json-unit</artifactId>
460 <version>1.23.0</version>
461 <scope>test</scope>
462 </dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400463 </dependencies>
464</project>