4e849a7dd5a21a8bb303cd4052526e97c9451bfe
[dcaegen2/analytics/tca.git] / dcae-analytics-it / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ===============================LICENSE_START======================================
4   ~  dcae-analytics
5   ~ ================================================================================
6   ~    Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7   ~ ================================================================================
8   ~  Licensed under the Apache License, Version 2.0 (the "License");
9   ~  you may not use this file except in compliance with the License.
10   ~   You may obtain a copy of the License at
11   ~
12   ~          http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~  Unless required by applicable law or agreed to in writing, software
15   ~  distributed under the License is distributed on an "AS IS" BASIS,
16   ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~  See the License for the specific language governing permissions and
18   ~  limitations under the License.
19   ~  ============================LICENSE_END===========================================
20   -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25
26     <modelVersion>4.0.0</modelVersion>
27
28     <parent>
29         <artifactId>dcae-analytics</artifactId>
30         <groupId>org.openecomp.dcae.apod.analytics</groupId>
31         <version>2.0.0-SNAPSHOT</version>
32     </parent>
33
34
35     <artifactId>dcae-analytics-it</artifactId>
36     <packaging>jar</packaging>
37
38
39     <!-- THIS MODULE CONTAINS INTEGRATION TESTS FOR ALL DCAE ANALYTICS MODULES - MUST NOT BE USED FOR PROD DEPLOYMENT-->
40     <name>DCAE Analytics Integration Tests</name>
41     <description>Contains Integration Tests for all DCAE Analytics Modules</description>
42
43
44     <properties>
45         <main.basedir>${project.parent.basedir}</main.basedir>
46     </properties>
47
48
49     <dependencies>
50
51         <!-- DCAE PROJECT DEPENDENCIES -->
52         <dependency>
53             <groupId>org.openecomp.dcae.apod.analytics</groupId>
54             <artifactId>dcae-analytics-cdap-plugins</artifactId>
55             <version>2.0.0-SNAPSHOT</version>
56         </dependency>
57
58
59         <!-- CDAP -->
60         <dependency>
61             <groupId>co.cask.cdap</groupId>
62             <artifactId>cdap-api</artifactId>
63         </dependency>
64
65         <dependency>
66             <groupId>co.cask.cdap</groupId>
67             <artifactId>cdap-etl-api</artifactId>
68         </dependency>
69
70         <dependency>
71             <groupId>co.cask.cdap</groupId>
72             <artifactId>cdap-etl-api-spark</artifactId>
73         </dependency>
74
75         <dependency>
76             <groupId>co.cask.cdap</groupId>
77             <artifactId>cdap-etl-realtime</artifactId>
78         </dependency>
79
80         <dependency>
81             <groupId>co.cask.cdap</groupId>
82             <artifactId>cdap-data-pipeline</artifactId>
83         </dependency>
84
85         <dependency>
86             <groupId>org.apache.spark</groupId>
87             <artifactId>spark-streaming_2.10</artifactId>
88         </dependency>
89
90         <!-- CASK -->
91         <dependency>
92             <groupId>co.cask.http</groupId>
93             <artifactId>netty-http</artifactId>
94         </dependency>
95         <dependency>
96             <groupId>co.cask.common</groupId>
97             <artifactId>common-http</artifactId>
98         </dependency>
99
100         <!-- HADOOP -->
101         <dependency>
102             <groupId>org.apache.hadoop</groupId>
103             <artifactId>hadoop-mapreduce-client-core</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.apache.hadoop</groupId>
107             <artifactId>hadoop-common</artifactId>
108         </dependency>
109
110         <!-- SPARK -->
111         <dependency>
112             <groupId>org.apache.spark</groupId>
113             <artifactId>spark-core_2.10</artifactId>
114         </dependency>
115
116         <!-- LOGGING -->
117         <dependency>
118             <groupId>org.slf4j</groupId>
119             <artifactId>slf4j-api</artifactId>
120         </dependency>
121
122         <dependency>
123             <groupId>ch.qos.logback</groupId>
124             <artifactId>logback-core</artifactId>
125         </dependency>
126
127         <dependency>
128             <groupId>ch.qos.logback</groupId>
129             <artifactId>logback-classic</artifactId>
130         </dependency>
131
132         <!-- FIND BUGS -->
133         <dependency>
134             <groupId>com.google.code.findbugs</groupId>
135             <artifactId>jsr305</artifactId>
136             <version>${findbugs.jsr305.version}</version>
137             <scope>provided</scope>
138         </dependency>
139
140         <dependency>
141             <groupId>com.google.code.findbugs</groupId>
142             <artifactId>annotations</artifactId>
143             <version>${findbugs.annotations.version}</version>
144             <scope>provided</scope>
145         </dependency>
146
147         <!-- TEST DEPENDENCIES -->
148         <dependency>
149             <groupId>org.openecomp.dcae.apod.analytics</groupId>
150             <artifactId>dcae-analytics-test</artifactId>
151             <version>2.0.0-SNAPSHOT</version>
152         </dependency>
153
154         <dependency>
155             <groupId>co.cask.cdap</groupId>
156             <artifactId>cdap-unit-test</artifactId>
157             <exclusions>
158                 <exclusion>
159                     <artifactId>org.apache.httpcomponents</artifactId>
160                     <groupId>httpcore</groupId>
161                 </exclusion>
162             </exclusions>
163         </dependency>
164
165         <dependency>
166             <groupId>co.cask.cdap</groupId>
167             <artifactId>hydrator-test</artifactId>
168         </dependency>
169
170         <dependency>
171             <groupId>co.cask.cdap</groupId>
172             <artifactId>cdap-data-streams</artifactId>
173         </dependency>
174
175         <dependency>
176             <groupId>info.cukes</groupId>
177             <artifactId>cucumber-java</artifactId>
178         </dependency>
179
180         <dependency>
181             <groupId>info.cukes</groupId>
182             <artifactId>cucumber-guice</artifactId>
183         </dependency>
184
185         <dependency>
186             <groupId>info.cukes</groupId>
187             <artifactId>cucumber-junit</artifactId>
188         </dependency>
189
190     </dependencies>
191
192     <build>
193         <plugins>
194             <plugin>
195                 <groupId>org.apache.maven.plugins</groupId>
196                 <artifactId>maven-failsafe-plugin</artifactId>
197                 <configuration>
198                     <argLine>-Xmx2048m -Djava.awt.headless=true -XX:+UseConcMarkSweepGC
199                         -XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError
200                         -Dcuke4duke.objectFactory=cuke4duke.internal.jvmclass.GuiceFactory
201                     </argLine>
202                     <systemPropertyVariables>
203                         <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
204                         <logback.configurationFile>
205                             ${basedir}/src/test/resources/logback-test.xml
206                         </logback.configurationFile>
207                     </systemPropertyVariables>
208                 </configuration>
209             </plugin>
210         </plugins>
211     </build>
212
213
214 </project>