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