blob: 942680e5a42f18a78d995ef6f5d3ecdf45463aa4 [file] [log] [blame]
st782sb54df0d2017-05-04 07:48:42 -04001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -04004 <parent>
5 <groupId>org.onap.portal</groupId>
6 <artifactId>onap-portal-parent</artifactId>
Christopher Lott (cl778h)0bb15c12017-09-29 14:51:47 -04007 <version>1.3.0</version>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -04008 </parent>
9
st782sb54df0d2017-05-04 07:48:42 -040010 <artifactId>ecompportal-be-common</artifactId>
11 <packaging>war</packaging>
st782sb54df0d2017-05-04 07:48:42 -040012
13 <properties>
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -040014 <skipTests>false</skipTests>
st782sb54df0d2017-05-04 07:48:42 -040015 </properties>
16
st782sb54df0d2017-05-04 07:48:42 -040017 <build>
18 <!-- The war file name carries no version number -->
19 <finalName>${project.artifactId}</finalName>
20
21 <plugins>
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -040022 <plugin>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -040023 <groupId>org.jacoco</groupId>
24 <artifactId>jacoco-maven-plugin</artifactId>
25 <version>0.7.6.201602180812</version>
26 <inherited>True</inherited>
27 <executions>
28 <!-- Unit-Tests -->
29 <execution>
30 <id>prepare-agent</id>
31 <goals>
32 <goal>prepare-agent</goal>
33 </goals>
34 <configuration>
35 <skipTests>false</skipTests>
36 <destFile>${sonar.jacoco.reportPath}</destFile>
37 </configuration>
38 </execution>
39 <execution>
40 <id>default-instrument</id>
41 <goals>
42 <goal>instrument</goal>
43 </goals>
44 <configuration>
45 <skipTests>false</skipTests>
46 </configuration>
47 </execution>
48 <execution>
49 <id>default-restore-instrumented-classes</id>
50 <phase>test</phase>
51 <goals>
52 <goal>restore-instrumented-classes</goal>
53 </goals>
54 <configuration>
55 <skipTests>false</skipTests>
56 </configuration>
57 </execution>
58 <execution>
59 <id>post-unit-test</id>
60 <phase>test</phase>
61 <goals>
62 <goal>report</goal>
63 </goals>
64 <configuration>
65 <skipTests>false</skipTests>
66 <dataFile>${sonar.jacoco.reportPath}</dataFile>
67 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
68 </configuration>
69 </execution>
70 <execution>
71 <id>report-integration</id>
72 <phase>test</phase>
73 <goals>
74 <goal>report-integration</goal>
75 </goals>
76 <configuration>
77 <skipTests>false</skipTests>
78 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
79 <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
80 </configuration>
81 </execution>
82 </executions>
st782sb54df0d2017-05-04 07:48:42 -040083 </plugin>
84
85 <!-- Generate javadoc jar; see profile for Java 8 -->
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-javadoc-plugin</artifactId>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -040089 <version>3.0.0-M1</version>
st782sb54df0d2017-05-04 07:48:42 -040090 <executions>
91 <execution>
92 <id>attach-javadocs</id>
93 <goals>
94 <goal>jar</goal>
95 </goals>
96 </execution>
97 </executions>
98 </plugin>
99
100 <!-- Generate source jar -->
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-source-plugin</artifactId>
104 <version>3.0.0</version>
105 <executions>
106 <execution>
107 <id>attach-sources</id>
108 <goals>
109 <goal>jar</goal>
110 </goals>
111 </execution>
112 </executions>
113 </plugin>
114
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-war-plugin</artifactId>
118 <version>3.0.0</version>
119 <configuration>
120 <!-- Build a jar with all the Java classes -->
121 <attachClasses>true</attachClasses>
122 <!-- Do not put any jars in the war -->
123 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
124 </configuration>
125 </plugin>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400126
Christopher Lott (cl778h)31ba5d12017-07-12 14:28:05 -0400127 <!-- No deployment step for this project -->
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-deploy-plugin</artifactId>
131 <version>2.8</version>
132 <configuration>
133 <skip>true</skip>
134 </configuration>
135 </plugin>
136
st782sb54df0d2017-05-04 07:48:42 -0400137 </plugins>
138
139 <testResources>
140 <testResource>
141 <directory>src/test/java</directory>
142 <includes>
143 <include>**/*Test*.*</include>
144 </includes>
145 </testResource>
146 </testResources>
147
148 <resources>
149 <resource>
150 <directory>src/main/resources</directory>
151 <includes>
152 <include>**/*</include>
153 </includes>
154 </resource>
155 <!-- picks up the applicationcodes.properties file presented in \src\
156 path -->
157 <resource>
158 <directory>src/main/java</directory>
159 <includes>
160 <include>**/*.xml</include>
161 <include>**/*.properties</include>
162 </includes>
163 </resource>
164 </resources>
165
166 </build>
167
168 <dependencies>
169 <dependency>
170 <groupId>com.att.eelf</groupId>
171 <artifactId>eelf-core</artifactId>
172 <version>${eelf.version}</version>
173 </dependency>
174 <dependency>
175 <groupId>com.google.code.gson</groupId>
176 <artifactId>gson</artifactId>
177 <version>2.5</version>
178 </dependency>
179
180 <!-- Spring -->
181 <dependency>
182 <groupId>org.springframework</groupId>
183 <artifactId>spring-core</artifactId>
184 <version>${springframework.version}</version>
185 </dependency>
186 <dependency>
187 <groupId>org.springframework</groupId>
188 <artifactId>spring-web</artifactId>
189 <version>${springframework.version}</version>
190 </dependency>
191 <dependency>
192 <groupId>org.springframework</groupId>
193 <artifactId>spring-webmvc</artifactId>
194 <version>${springframework.version}</version>
195 </dependency>
196 <dependency>
197 <groupId>org.springframework</groupId>
198 <artifactId>spring-tx</artifactId>
199 <version>${springframework.version}</version>
200 </dependency>
201 <dependency>
202 <groupId>org.springframework</groupId>
203 <artifactId>spring-context-support</artifactId>
204 <version>${springframework.version}</version>
205 </dependency>
206 <dependency>
207 <groupId>org.springframework</groupId>
208 <artifactId>spring-orm</artifactId>
209 <version>${springframework.version}</version>
210 </dependency>
211 <dependency>
212 <groupId>org.springframework</groupId>
213 <artifactId>spring-test</artifactId>
214 <version>${springframework.version}</version>
215 </dependency>
216 <dependency>
217 <groupId>org.springframework.boot</groupId>
218 <artifactId>spring-boot-starter</artifactId>
219 <version>1.3.0.RELEASE</version>
220 <exclusions>
221 <exclusion>
222 <groupId>org.slf4j</groupId>
223 <artifactId>log4j-over-slf4j</artifactId>
224 </exclusion>
225 <exclusion>
226 <groupId>ch.qos.logback</groupId>
227 <artifactId>logback-classic</artifactId>
228 </exclusion>
229 </exclusions>
230 </dependency>
231
232 <!-- Hibernate -->
233 <dependency>
234 <groupId>org.hibernate</groupId>
235 <artifactId>hibernate-core</artifactId>
236 <version>${hibernate.version}</version>
237 </dependency>
238 <dependency>
239 <groupId>org.hibernate</groupId>
240 <artifactId>hibernate-validator</artifactId>
241 <version>5.1.3.Final</version>
242 </dependency>
243
244 <!-- hibernate-core depends on dom4j, which has optional dependencies.
245 On jenkins, contrary to doc, mvn 3.0.5 packages the optional dependencies
246 in the war. Workaround: exclude them explicitly. -->
247 <dependency>
248 <groupId>dom4j</groupId>
249 <artifactId>dom4j</artifactId>
250 <version>1.6.1</version>
251 <exclusions>
252 <exclusion>
253 <groupId>jaxme</groupId>
254 <artifactId>jaxme-api</artifactId>
255 </exclusion>
256 <exclusion>
257 <groupId>jaxen</groupId>
258 <artifactId>jaxen</artifactId>
259 </exclusion>
260 <exclusion>
261 <groupId>msv</groupId>
262 <artifactId>xsdlib</artifactId>
263 </exclusion>
264 <exclusion>
265 <groupId>msv</groupId>
266 <artifactId>relaxngDatatype</artifactId>
267 </exclusion>
268 <exclusion>
269 <groupId>pull-parser</groupId>
270 <artifactId>pull-parser</artifactId>
271 </exclusion>
272 <exclusion>
273 <groupId>xpp3</groupId>
274 <artifactId>xpp3</artifactId>
275 </exclusion>
276 <exclusion>
277 <groupId>stax</groupId>
278 <artifactId>stax-api</artifactId>
279 </exclusion>
280 </exclusions>
281 </dependency>
282
283 <!-- Servlet+JSP+JSTL -->
284 <dependency>
285 <groupId>javax.servlet</groupId>
286 <artifactId>javax.servlet-api</artifactId>
287 <version>3.1.0</version>
288 </dependency>
289 <dependency>
290 <groupId>javax.servlet.jsp</groupId>
291 <artifactId>javax.servlet.jsp-api</artifactId>
292 <version>2.3.1</version>
293 </dependency>
294 <dependency>
295 <groupId>javax.servlet</groupId>
296 <artifactId>jstl</artifactId>
297 <version>1.2</version>
298 </dependency>
299
300 <!-- Oracle JDBC driver -->
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400301 <!-- <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId>
302 <version>11.2.0.4</version> </dependency> -->
st782sb54df0d2017-05-04 07:48:42 -0400303 <!-- Apache Tiles -->
304 <dependency>
305 <groupId>org.apache.tiles</groupId>
306 <artifactId>tiles-core</artifactId>
307 <version>3.0.5</version>
308 </dependency>
309 <dependency>
310 <groupId>org.apache.tiles</groupId>
311 <artifactId>tiles-jsp</artifactId>
312 <version>3.0.5</version>
313 </dependency>
314 <dependency>
315 <groupId>org.apache.cxf</groupId>
316 <artifactId>cxf-rt-rs-client</artifactId>
317 <version>3.0.0-milestone1</version>
318 </dependency>
319
320 <!-- Mapper -->
321 <dependency>
322 <groupId>com.fasterxml.jackson.core</groupId>
323 <artifactId>jackson-annotations</artifactId>
324 <version>${fasterxml.version}</version>
325 </dependency>
326 <dependency>
327 <groupId>com.fasterxml.jackson.core</groupId>
328 <artifactId>jackson-core</artifactId>
329 <version>${fasterxml.version}</version>
330 </dependency>
331 <dependency>
332 <groupId>com.fasterxml.jackson.core</groupId>
333 <artifactId>jackson-databind</artifactId>
334 <version>${fasterxml.version}</version>
335 </dependency>
336
337 <dependency>
338 <groupId>postgresql</groupId>
339 <artifactId>postgresql</artifactId>
340 <version>9.1-901-1.jdbc4</version>
341 </dependency>
342
st782sb54df0d2017-05-04 07:48:42 -0400343 <!-- Elastic Search -->
344 <dependency>
345 <groupId>org.elasticsearch</groupId>
346 <artifactId>elasticsearch</artifactId>
347 <version>2.2.0</version>
348 </dependency>
349 <dependency>
350 <groupId>io.searchbox</groupId>
351 <artifactId>jest</artifactId>
352 <version>2.0.0</version>
353 </dependency>
354
355 <dependency>
356 <groupId>org.apache.jcs</groupId>
357 <artifactId>jcs</artifactId>
358 <version>1.3</version>
359 <exclusions>
360 <exclusion>
361 <groupId>*</groupId>
362 <artifactId>*</artifactId>
363 </exclusion>
364 </exclusions>
365 <!-- -->
366 </dependency>
367
368 <dependency>
369 <groupId>org.apache.tomcat</groupId>
370 <artifactId>tomcat-websocket</artifactId>
371 <version>8.0.28</version>
372 <scope>provided</scope>
373 </dependency>
374
375 <dependency>
376 <groupId>concurrent</groupId>
377 <artifactId>concurrent</artifactId>
378 <version>1.3.2</version>
379 <exclusions>
380 <exclusion>
381 <groupId>*</groupId>
382 <artifactId>*</artifactId>
383 </exclusion>
384 </exclusions>
385 </dependency>
386
387
388 <dependency>
389 <groupId>commons-lang</groupId>
390 <artifactId>commons-lang</artifactId>
391 <version>2.6</version>
392 </dependency>
st782sb54df0d2017-05-04 07:48:42 -0400393 <!-- for generating excel/csv/excelx -->
394 <dependency>
395 <groupId>org.apache.poi</groupId>
396 <artifactId>poi</artifactId>
397 <version>3.5-FINAL</version>
398 <exclusions>
399 <exclusion>
400 <groupId>commons-logging</groupId>
401 <artifactId>commons-logging</artifactId>
402 </exclusion>
403 <exclusion>
404 <groupId>log4j</groupId>
405 <artifactId>log4j</artifactId>
406 </exclusion>
407 </exclusions>
408 </dependency>
409 <dependency>
410 <groupId>org.apache.poi</groupId>
411 <artifactId>poi-ooxml</artifactId>
412 <version>3.5-FINAL</version>
413 <exclusions>
414 <exclusion>
415 <groupId>commons-logging</groupId>
416 <artifactId>commons-logging</artifactId>
417 </exclusion>
418 <exclusion>
419 <groupId>log4j</groupId>
420 <artifactId>log4j</artifactId>
421 </exclusion>
422 </exclusions>
423 </dependency>
424 <dependency>
425 <groupId>org.apache.poi</groupId>
426 <artifactId>poi-scratchpad</artifactId>
427 <version>3.5-FINAL</version>
428 <exclusions>
429 <exclusion>
430 <groupId>commons-logging</groupId>
431 <artifactId>commons-logging</artifactId>
432 </exclusion>
433 <exclusion>
434 <groupId>log4j</groupId>
435 <artifactId>log4j</artifactId>
436 </exclusion>
437 </exclusions>
438 </dependency>
439 <dependency>
440 <groupId>org.apache.poi</groupId>
441 <artifactId>poi-contrib</artifactId>
442 <version>3.5-FINAL</version>
443 <exclusions>
444 <exclusion>
445 <groupId>commons-logging</groupId>
446 <artifactId>commons-logging</artifactId>
447 </exclusion>
448 <exclusion>
449 <groupId>log4j</groupId>
450 <artifactId>log4j</artifactId>
451 </exclusion>
452 </exclusions>
453 </dependency>
454
455 <!-- for generating PDF -->
456 <dependency>
457 <groupId>com.lowagie</groupId>
458 <artifactId>itext</artifactId>
459 <version>2.0.8</version>
460 </dependency>
461 <!-- Quartz -->
462 <dependency>
463 <groupId>org.quartz-scheduler</groupId>
464 <artifactId>quartz</artifactId>
465 <version>2.2.1</version>
466 <exclusions>
467 <!-- SDK brings a new version of c3p0 -->
468 <exclusion>
469 <groupId>c3p0</groupId>
470 <artifactId>c3p0</artifactId>
471 </exclusion>
472 </exclusions>
473 </dependency>
474
475 <dependency>
476 <groupId>org.bouncycastle</groupId>
477 <artifactId>bcprov-jdk16</artifactId>
478 <version>1.45</version>
479 </dependency>
480
481 <dependency>
482 <groupId>commons-codec</groupId>
483 <artifactId>commons-codec</artifactId>
484 <version>1.9</version>
485 </dependency>
486
487 <dependency>
488 <groupId>com.att.nsa</groupId>
489 <artifactId>cambriaClient</artifactId>
490 <version>0.0.1</version>
491 <exclusions>
492 <exclusion>
493 <groupId>commons-logging</groupId>
494 <artifactId>commons-logging</artifactId>
495 </exclusion>
496 <exclusion>
497 <groupId>log4j</groupId>
498 <artifactId>log4j</artifactId>
499 </exclusion>
500 <exclusion>
501 <groupId>log4j</groupId>
502 <artifactId>apache-log4j-extras</artifactId>
503 </exclusion>
504 <exclusion>
505 <groupId>org.slf4j</groupId>
506 <artifactId>slf4j-log4j12</artifactId>
507 </exclusion>
508 </exclusions>
509 </dependency>
510
511 <dependency>
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -0400512 <groupId>org.onap.portal.sdk</groupId>
st782sb54df0d2017-05-04 07:48:42 -0400513 <artifactId>epsdk-fw</artifactId>
514 <version>${epsdk.version}</version>
515 <exclusions>
516 <exclusion>
517 <groupId>commons-logging</groupId>
518 <artifactId>commons-logging</artifactId>
519 </exclusion>
520 <exclusion>
521 <groupId>log4j</groupId>
522 <artifactId>log4j</artifactId>
523 </exclusion>
524 <exclusion>
525 <groupId>log4j</groupId>
526 <artifactId>apache-log4j-extras</artifactId>
527 </exclusion>
528 <exclusion>
529 <groupId>org.slf4j</groupId>
530 <artifactId>slf4j-log4j12</artifactId>
531 </exclusion>
532 </exclusions>
533 </dependency>
534 <dependency>
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -0400535 <groupId>org.onap.portal.sdk</groupId>
st782sb54df0d2017-05-04 07:48:42 -0400536 <artifactId>epsdk-core</artifactId>
537 <version>${epsdk.version}</version>
538 <exclusions>
539 <exclusion>
540 <groupId>mysql</groupId>
541 <artifactId>mysql-connector-java</artifactId>
542 </exclusion>
543 </exclusions>
544 </dependency>
545 <dependency>
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -0400546 <groupId>org.onap.portal.sdk</groupId>
st782sb54df0d2017-05-04 07:48:42 -0400547 <artifactId>epsdk-app-common</artifactId>
548 <version>${epsdk.version}</version>
549 </dependency>
550 <dependency>
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -0400551 <groupId>org.onap.portal.sdk</groupId>
st782sb54df0d2017-05-04 07:48:42 -0400552 <artifactId>epsdk-workflow</artifactId>
553 <version>${epsdk.version}</version>
554 </dependency>
555
556 <!-- Raptor required Libraries -->
557 <!-- for static charts -->
558 <dependency>
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -0400559 <groupId>org.onap.portal.sdk</groupId>
st782sb54df0d2017-05-04 07:48:42 -0400560 <artifactId>epsdk-analytics</artifactId>
561 <version>${epsdk.version}</version>
562 </dependency>
563
564 <!-- Referenced by some poms and needed for testing; do NOT use "test"
565 scope here. -->
566 <dependency>
567 <groupId>org.apache.httpcomponents</groupId>
568 <artifactId>httpclient</artifactId>
569 <version>4.5.2</version>
570 </dependency>
571
572 <!-- for testing -->
573 <dependency>
574 <groupId>junit</groupId>
575 <artifactId>junit</artifactId>
576 <version>4.11</version>
577 <scope>test</scope>
578 </dependency>
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -0400579 <dependency>
580 <groupId>org.powermock</groupId>
581 <artifactId>powermock-api-mockito</artifactId>
582 <version>1.6.1</version>
583 </dependency>
584 <dependency>
585 <groupId>org.powermock</groupId>
586 <artifactId>powermock-core</artifactId>
587 <version>1.6.1</version>
588 </dependency>
589 <dependency>
590 <groupId>org.powermock</groupId>
591 <artifactId>powermock-module-junit4</artifactId>
592 <version>1.6.1</version>
593 </dependency>
594 <dependency>
595 <groupId>org.mockito</groupId>
596 <artifactId>mockito-core</artifactId>
597 <version>1.8.5</version>
598 </dependency>
599 <dependency>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400600 <groupId>org.jacoco</groupId>
601 <artifactId>jacoco-maven-plugin</artifactId>
602 <version>0.7.6.201602180812</version>
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -0400603 </dependency>
st782sb54df0d2017-05-04 07:48:42 -0400604
605 <dependency>
606 <groupId>commons-beanutils</groupId>
607 <artifactId>commons-beanutils</artifactId>
608 <version>1.9.2</version>
609 </dependency>
610
611 <dependency>
612 <groupId>com.ecwid.consul</groupId>
613 <artifactId>consul-api</artifactId>
614 <version>1.2.1</version>
615 </dependency>
616
617 <dependency>
618 <groupId>com.orbitz.consul</groupId>
619 <artifactId>consul-client</artifactId>
620 <version>0.13.8</version>
621 </dependency>
622
623 <dependency>
624 <groupId>commons-fileupload</groupId>
625 <artifactId>commons-fileupload</artifactId>
626 <version>1.3</version>
627 </dependency>
628
629 <dependency>
630 <groupId>io.springfox</groupId>
631 <artifactId>springfox-swagger2</artifactId>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400632 <version>2.7.0</version>
st782sb54df0d2017-05-04 07:48:42 -0400633 </dependency>
st782sb54df0d2017-05-04 07:48:42 -0400634 <dependency>
635 <groupId>io.springfox</groupId>
636 <artifactId>springfox-swagger-ui</artifactId>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400637 <version>2.7.0</version>
st782sb54df0d2017-05-04 07:48:42 -0400638 </dependency>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400639
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -0400640 <!-- Schedulers required Libraries -->
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400641
Christopher Lott (cl778h)23634db2017-09-25 16:07:54 -0400642 <dependency>
Christopher Lott (cl778h)51d83152017-09-28 11:18:14 -0400643 <groupId>com.googlecode.json-simple</groupId>
644 <artifactId>json-simple</artifactId>
645 <version>1.1.1</version>
646 </dependency>
647 <dependency>
648 <groupId>org.glassfish.jersey.core</groupId>
649 <artifactId>jersey-client</artifactId>
650 <version>2.23.1</version>
651 </dependency>
652 <dependency>
653 <groupId>com.fasterxml.jackson.jaxrs</groupId>
654 <artifactId>jackson-jaxrs-json-provider</artifactId>
655 <version>2.6.3</version>
656 </dependency>
657 <dependency>
658 <groupId>org.glassfish.jersey.connectors</groupId>
659 <artifactId>jersey-jetty-connector</artifactId>
660 <version>2.23.1</version>
661 </dependency>
st782sb54df0d2017-05-04 07:48:42 -0400662 </dependencies>
st782sb54df0d2017-05-04 07:48:42 -0400663
664 <!-- No deployment descriptor. -->
665
666</project>