blob: d7885759d290160e0a18a20cb796329fe6f866a4 [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>
Krzysztof Kwiecien4c1fe212017-07-21 11:37:05 +020021 <epsdk.version>1.3.0-SNAPSHOT</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>
86 <groupId>org.codehaus.mojo</groupId>
jimmydotf88fada2017-05-07 19:42:59 -040087 <artifactId>versions-maven-plugin</artifactId>
88 <version>1.3.1</version>
89 </plugin>
90 <plugin>
91 <groupId>org.sonatype.plugins</groupId>
92 <artifactId>nexus-staging-maven-plugin</artifactId>
93 <version>1.6.7</version>
94 <extensions>true</extensions>
95 <configuration>
96 <nexusUrl>${nexusproxy}</nexusUrl>
97 <stagingProfileId>176c31dfe190a</stagingProfileId>
98 <serverId>ecomp-staging</serverId>
99 </configuration>
100 </plugin>
101 <plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300102 <groupId>org.jacoco</groupId>
103 <artifactId>jacoco-maven-plugin</artifactId>
104 <version>0.7.9</version>
jimmydot3982f4f2017-05-07 14:58:24 -0400105 <executions>
106 <execution>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300107 <id>default-prepare-agent</id>
jimmydot3982f4f2017-05-07 14:58:24 -0400108 <goals>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300109 <goal>prepare-agent</goal>
110 </goals>
111 </execution>
112 <execution>
113 <id>default-report</id>
114 <goals>
115 <goal>report</goal>
jimmydot3982f4f2017-05-07 14:58:24 -0400116 </goals>
117 </execution>
118 </executions>
119 </plugin>
120 <plugin>
121 <groupId>org.apache.tomcat.maven</groupId>
122 <artifactId>tomcat6-maven-plugin</artifactId>
123 <version>2.2</version>
124 </plugin>
125 <plugin>
126 <groupId>org.apache.tomcat.maven</groupId>
127 <artifactId>tomcat7-maven-plugin</artifactId>
128 <version>2.2</version>
129 </plugin>
130
131 <!-- Generate POJOs from MSO json schema -->
132 <plugin>
133 <groupId>org.jsonschema2pojo</groupId>
134 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
135 <version>0.4.23</version>
136 <configuration>
137 <sourceDirectory>${basedir}/src/main/resources/json/mso</sourceDirectory>
138 <targetPackage>org.openecomp.vid.domain.mso</targetPackage>
139 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
140 </configuration>
141 <executions>
142 <execution>
143 <goals>
144 <goal>generate</goal>
145 </goals>
146 </execution>
147 </executions>
148 </plugin>
149
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-compiler-plugin</artifactId>
153 <version>3.1</version>
154 <configuration>
155 <source>1.8</source>
156 <target>1.8</target>
157 </configuration>
158 </plugin>
159
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-surefire-plugin</artifactId>
163 <version>2.19.1</version>
164 <configuration>
165 <skipTests>${skiptests}</skipTests>
166 <includes>
167 <include>**/Test*.java</include>
168 <include>**/*Test.java</include>
169 <include>**/*TestCase.java</include>
170 </includes>
171 <excludes>
172 <exclude>**/selenium/*.java</exclude>
173 </excludes>
174 <additionalClasspathElements>
175 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
176 </additionalClasspathElements>
177 <systemPropertyVariables>
178 <container.classpath>classpath:</container.classpath>
179 </systemPropertyVariables>
180 </configuration>
181 </plugin>
182
183 <plugin>
184 <artifactId>maven-assembly-plugin</artifactId>
185 <configuration>
186 <skipAssembly>${skipassembly}</skipAssembly>
187 <descriptors>
188 <descriptor>${basedir}/distribution.xml</descriptor>
189 </descriptors>
190 </configuration>
191 <executions>
192 <execution>
193 <id>make-assembly</id>
194 <phase>package</phase>
195 <goals>
196 <goal>single</goal>
197 </goals>
198 </execution>
199 </executions>
200 </plugin>
201
202
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-war-plugin</artifactId>
206 <version>3.0.0</version>
207 <configuration>
208 <!-- Build a jar with all the Java classes -->
209 <attachClasses>true</attachClasses>
210 <!-- Do not put any jars in the war -->
211 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
212 </configuration>
213 </plugin>
jimmydot15eae842017-05-09 11:03:39 -0400214 <plugin>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-site-plugin</artifactId>
217 <version>3.6</version>
218 <dependencies>
219 <dependency>
220 <groupId>org.apache.maven.wagon</groupId>
221 <artifactId>wagon-webdav-jackrabbit</artifactId>
222 <version>2.10</version>
223 </dependency>
224 </dependencies>
225 </plugin>
jimmydot3982f4f2017-05-07 14:58:24 -0400226 </plugins>
jimmydot3982f4f2017-05-07 14:58:24 -0400227 </build>
228
jimmydot15eae842017-05-09 11:03:39 -0400229 <reporting>
230 <plugins>
231 <plugin>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-javadoc-plugin</artifactId>
234 <version>2.10.4</version>
235 <configuration>
236 <failOnError>false</failOnError>
237 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
238 <docletArtifact>
239 <groupId>org.umlgraph</groupId>
240 <artifactId>umlgraph</artifactId>
241 <version>5.6</version>
242 </docletArtifact>
243 <additionalparam>-views</additionalparam>
244 <useStandardDocletOptions>true</useStandardDocletOptions>
245 </configuration>
246 </plugin>
247 </plugins>
248 </reporting>
249
jimmydot3982f4f2017-05-07 14:58:24 -0400250 <dependencies>
251 <!-- SDK overlay war -->
252
253 <dependency>
254 <groupId>org.openecomp.ecompsdkos</groupId>
255 <artifactId>epsdk-app-overlay</artifactId>
256 <version>${epsdk.version}</version>
257 <type>war</type>
258 </dependency>
259 <dependency>
260 <groupId>org.openecomp.ecompsdkos</groupId>
261 <artifactId>epsdk-app-common</artifactId>
262 <version>${epsdk.version}</version>
263 <type>jar</type>
264 </dependency>
jimmydotf88fada2017-05-07 19:42:59 -0400265
jimmydot3982f4f2017-05-07 14:58:24 -0400266 <dependency>
267 <groupId>org.openecomp.ecompsdkos</groupId>
268 <artifactId>epsdk-core</artifactId>
269 <version>${epsdk.version}</version>
270 </dependency>
271 <dependency>
272 <groupId>org.openecomp.ecompsdkos</groupId>
273 <artifactId>epsdk-analytics</artifactId>
274 <version>${epsdk.version}</version>
275 </dependency>
276 <dependency>
277 <groupId>org.openecomp.ecompsdkos</groupId>
278 <artifactId>epsdk-workflow</artifactId>
279 <version>${epsdk.version}</version>
280 </dependency>
281 <dependency>
282 <groupId>com.att.eelf</groupId>
283 <artifactId>eelf-core</artifactId>
284 <version>1.0.0</version>
285 </dependency>
286
287 <!-- Mapper -->
288 <dependency>
289 <groupId>com.fasterxml.jackson.core</groupId>
290 <artifactId>jackson-annotations</artifactId>
291 <version>2.6.3</version>
292 </dependency>
293 <dependency>
294 <groupId>com.fasterxml.jackson.core</groupId>
295 <artifactId>jackson-core</artifactId>
296 <version>2.6.3</version>
297 </dependency>
298 <dependency>
299 <groupId>com.fasterxml.jackson.core</groupId>
300 <artifactId>jackson-databind</artifactId>
301 <version>2.6.3</version>
302 </dependency>
303 <dependency>
304 <groupId>org.codehaus.jackson</groupId>
305 <artifactId>jackson-mapper-asl</artifactId>
306 <version>1.9.13</version>
307 </dependency>
308 <dependency>
309 <groupId>com.mchange</groupId>
310 <artifactId>c3p0</artifactId>
311 <version>0.9.5.2</version>
312 </dependency>
313 <dependency>
314 <groupId>io.searchbox</groupId>
315 <artifactId>jest</artifactId>
316 <version>2.0.0</version>
317 <exclusions>
318 <exclusion>
319 <groupId>commons-logging</groupId>
320 <artifactId>commons-logging</artifactId>
321 </exclusion>
322 </exclusions>
323 </dependency>
324 <dependency>
325 <groupId>javax.servlet</groupId>
326 <artifactId>javax.servlet-api</artifactId>
327 <version>3.1.0</version>
328 <scope>provided</scope>
329 </dependency>
330 <dependency>
331 <groupId>junit</groupId>
332 <artifactId>junit</artifactId>
333 <version>4.12</version>
334 </dependency>
335 <dependency>
336 <groupId>org.json</groupId>
337 <artifactId>json</artifactId>
338 <version>20160212</version>
339 </dependency>
340 <dependency>
341 <groupId>org.quartz-scheduler</groupId>
342 <artifactId>quartz</artifactId>
343 <version>2.2.1</version>
344 <exclusions>
345 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
346 <exclusion>
347 <groupId>c3p0</groupId>
348 <artifactId>c3p0</artifactId>
349 </exclusion>
350 </exclusions>
351 </dependency>
352 <!-- bridge to implement commons-logging using slf4j -->
353 <dependency>
354 <groupId>org.slf4j</groupId>
355 <artifactId>jcl-over-slf4j</artifactId>
356 <version>1.7.12</version>
357 </dependency>
358 <dependency>
359 <groupId>org.springframework</groupId>
360 <artifactId>spring-context-support</artifactId>
361 <version>${springframework.version}</version>
362 </dependency>
363 <dependency>
364 <groupId>org.springframework</groupId>
365 <artifactId>spring-core</artifactId>
366 <version>${springframework.version}</version>
367 <exclusions>
368 <exclusion>
369 <groupId>commons-logging</groupId>
370 <artifactId>commons-logging</artifactId>
371 </exclusion>
372 </exclusions>
373 </dependency>
374 <dependency>
375 <groupId>org.springframework</groupId>
376 <artifactId>spring-test</artifactId>
377 <version>${springframework.version}</version>
378 </dependency>
379 <dependency>
380 <groupId>org.springframework</groupId>
381 <artifactId>spring-tx</artifactId>
382 <version>${springframework.version}</version>
383 </dependency>
384 <dependency>
385 <groupId>org.springframework</groupId>
386 <artifactId>spring-web</artifactId>
387 <version>${springframework.version}</version>
388 </dependency>
389 <dependency>
390 <groupId>org.springframework</groupId>
391 <artifactId>spring-webmvc</artifactId>
392 <version>${springframework.version}</version>
393 </dependency>
394 <dependency>
395 <groupId>org.glassfish.jersey.core</groupId>
396 <artifactId>jersey-client</artifactId>
397 <version>2.23.1</version>
398 </dependency>
399 <dependency>
400 <groupId>org.glassfish.jersey.connectors</groupId>
401 <artifactId>jersey-jetty-connector</artifactId>
402 <version>2.23.1</version>
403 </dependency>
404 <dependency>
405 <groupId>com.fasterxml.jackson.jaxrs</groupId>
406 <artifactId>jackson-jaxrs-json-provider</artifactId>
407 <version>2.6.3</version>
408 </dependency>
409 <dependency>
410 <groupId>commons-beanutils</groupId>
411 <artifactId>commons-beanutils</artifactId>
412 <version>1.9.3</version>
413 </dependency>
414 <dependency>
415 <groupId>com.googlecode.json-simple</groupId>
416 <artifactId>json-simple</artifactId>
417 <version>1.1.1</version>
418 </dependency>
419 <dependency>
420 <groupId>org.seleniumhq.selenium</groupId>
421 <artifactId>selenium-java</artifactId>
422 <version>2.53.1</version>
423 <scope>test</scope>
424 </dependency>
425 <dependency>
426 <groupId>org.seleniumhq.selenium</groupId>
427 <artifactId>selenium-api</artifactId>
428 <version>2.53.1</version>
429 <scope>test</scope>
430 </dependency>
431 <dependency>
432 <groupId>org.testng</groupId>
433 <artifactId>testng</artifactId>
434 <version>6.8</version>
435 <scope>test</scope>
436 </dependency>
437 <dependency>
438 <groupId>org.seleniumhq.selenium</groupId>
439 <artifactId>selenium-firefox-driver</artifactId>
440 <version>2.53.1</version>
441 </dependency>
442 <dependency>
443 <groupId>xml-apis</groupId>
444 <artifactId>xml-apis</artifactId>
445 <version>1.4.01</version>
446 </dependency>
447 <dependency>
448 <groupId>org.mariadb.jdbc</groupId>
449 <artifactId>mariadb-java-client</artifactId>
450 <version>1.4.6</version>
451 </dependency>
452 <dependency>
453 <groupId>org.yaml</groupId>
454 <artifactId>snakeyaml</artifactId>
455 <version>1.16</version>
456 </dependency>
Ofir Sonsinob3567072017-09-04 14:52:07 +0300457 <dependency>
458 <groupId>org.skyscreamer</groupId>
459 <artifactId>jsonassert</artifactId>
460 <version>1.5.0</version>
461 </dependency>
462 <dependency>
463 <groupId>org.openecomp.sdc.sdc-tosca</groupId>
464 <artifactId>sdc-tosca</artifactId>
465 <version>1.1.32-SNAPSHOT</version>
466 </dependency>
467 <dependency>
468 <groupId>net.javacrumbs.json-unit</groupId>
469 <artifactId>json-unit</artifactId>
470 <version>1.23.0</version>
471 <scope>test</scope>
472 </dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400473 </dependencies>
474</project>