Elffuss BraidHub

kikocis/java-driver public

07db25ca83b1 · 9.2 KiBRawPermalink
1<!--
2 Copyright (C) 2012 DataStax Inc.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
17 <modelVersion>4.0.0</modelVersion>
18 <parent>
19 <groupId>com.datastax.cassandra</groupId>
20 <artifactId>cassandra-driver-parent</artifactId>
21 <version>2.0.10-SNAPSHOT</version>
22 </parent>
23 <artifactId>cassandra-driver-core</artifactId>
24 <packaging>bundle</packaging>
25 <name>DataStax Java Driver for Apache Cassandra - Core</name>
26 <description>A driver for Apache Cassandra 1.2+ that works exclusively with the Cassandra Query Language version 3 (CQL3) and Cassandra's binary protocol.</description>
27 <url>https://github.com/datastax/java-driver</url>
28
29 <dependencies>
30 <dependency>
31 <groupId>io.netty</groupId>
32 <artifactId>netty</artifactId>
33 <version>3.9.0.Final</version>
34 </dependency>
35
36 <dependency>
37 <groupId>com.google.guava</groupId>
38 <artifactId>guava</artifactId>
39 <!--
40 We use an old version of Guava to be compatible with Spark 1.1.
41 Check with the spark-cassandra-connector team before upgrading this.
42 -->
43 <version>14.0.1</version>
44 </dependency>
45
46 <dependency>
47 <groupId>com.codahale.metrics</groupId>
48 <artifactId>metrics-core</artifactId>
49 <version>3.0.2</version>
50 </dependency>
51
52 <!-- Compression libraries for the protocol. -->
53 <!-- Each of them is only a mandatory runtime dependency if you want to use the compression it offers -->
54
55 <dependency>
56 <groupId>org.xerial.snappy</groupId>
57 <artifactId>snappy-java</artifactId>
58 <version>1.0.5</version>
59 <optional>true</optional>
60 </dependency>
61
62 <dependency>
63 <groupId>net.jpountz.lz4</groupId>
64 <artifactId>lz4</artifactId>
65 <version>1.2.0</version>
66 <optional>true</optional>
67 </dependency>
68
69 <!-- End of compression libraries -->
70
71 <dependency>
72 <groupId>org.testng</groupId>
73 <artifactId>testng</artifactId>
74 <version>6.8.8</version>
75 <scope>test</scope>
76 </dependency>
77
78 <dependency>
79 <groupId>org.assertj</groupId>
80 <artifactId>assertj-core</artifactId>
81 <version>1.7.0</version>
82 <scope>test</scope>
83 </dependency>
84
85 <dependency>
86 <groupId>org.mockito</groupId>
87 <artifactId>mockito-all</artifactId>
88 <version>1.10.8</version>
89 <scope>test</scope>
90 </dependency>
91
92 <dependency>
93 <groupId>org.scassandra</groupId>
94 <artifactId>java-client</artifactId>
95 <!-- N.B. later versions of scassandra require JDK 7 -->
96 <version>0.4.1</version>
97 <scope>test</scope>
98 <exclusions>
99 <exclusion>
100 <groupId>ch.qos.logback</groupId>
101 <artifactId>logback-classic</artifactId>
102 </exclusion>
103 </exclusions>
104 </dependency>
105
106 </dependencies>
107
108 <build>
109 <resources>
110 <resource>
111 <directory>src/main/resources</directory>
112 <filtering>true</filtering>
113 </resource>
114 </resources>
115 </build>
116
117 <profiles>
118 <profile>
119 <id>default</id>
120 <properties>
121 <env>default</env>
122 </properties>
123 <activation>
124 <activeByDefault>true</activeByDefault>
125 </activation>
126 <build>
127 <plugins>
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-surefire-plugin</artifactId>
131 <version>2.16</version>
132 <configuration>
133 <groups>unit</groups>
134 <useFile>false</useFile>
135 <systemPropertyVariables>
136 <cassandra.version>${cassandra.version}</cassandra.version>
137 <ipprefix>${ipprefix}</ipprefix>
138 <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS>
139 </systemPropertyVariables>
140 <!--May be needed for debugging-->
141 <!--<forkMode>never</forkMode>-->
142 </configuration>
143 </plugin>
144 <plugin>
145 <artifactId>maven-compiler-plugin</artifactId>
146 <configuration>
147 <compilerArgument>-Xlint:all</compilerArgument>
148 <showWarnings>true</showWarnings>
149 <showDeprecation>true</showDeprecation>
150 </configuration>
151 </plugin>
152 <plugin>
153 <artifactId>maven-shade-plugin</artifactId>
154 <version>2.3</version>
155 <executions>
156 <execution>
157 <phase>package</phase>
158 <goals><goal>shade</goal></goals>
159 <configuration>
160 <artifactSet>
161 <includes>
162 <include>io.netty:netty</include>
163 </includes>
164 </artifactSet>
165 <relocations>
166 <relocation>
167 <pattern>org.jboss.netty</pattern>
168 <shadedPattern>com.datastax.shaded.netty</shadedPattern>
169 </relocation>
170 </relocations>
171 </configuration>
172 </execution>
173 </executions>
174 </plugin>
175 </plugins>
176 </build>
177 </profile>
178
179 <profile>
180 <id>short</id>
181 <properties>
182 <env>default</env>
183 </properties>
184 <build>
185 <plugins>
186 <plugin>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-surefire-plugin</artifactId>
189 <version>2.16</version>
190 <configuration>
191 <groups>unit,short</groups>
192 <useFile>false</useFile>
193 <systemPropertyVariables>
194 <cassandra.version>${cassandra.version}</cassandra.version>
195 <ipprefix>${ipprefix}</ipprefix>
196 </systemPropertyVariables>
197 </configuration>
198 </plugin>
199 </plugins>
200 </build>
201 </profile>
202
203 <profile>
204 <id>long</id>
205 <properties>
206 <env>default</env>
207 </properties>
208 <build>
209 <plugins>
210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-surefire-plugin</artifactId>
213 <version>2.16</version>
214 <configuration>
215 <groups>unit,short,long</groups>
216 <useFile>false</useFile>
217 <systemPropertyVariables>
218 <cassandra.version>${cassandra.version}</cassandra.version>
219 <ipprefix>${ipprefix}</ipprefix>
220 </systemPropertyVariables>
221 </configuration>
222 </plugin>
223 </plugins>
224 </build>
225 </profile>
226
227 <profile>
228 <id>duration</id>
229 <properties>
230 <env>default</env>
231 </properties>
232 <build>
233 <plugins>
234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-surefire-plugin</artifactId>
237 <version>2.16</version>
238 <configuration>
239 <groups>unit,short,long,duration</groups>
240 <useFile>false</useFile>
241 <systemPropertyVariables>
242 <cassandra.version>${cassandra.version}</cassandra.version>
243 <ipprefix>${ipprefix}</ipprefix>
244 </systemPropertyVariables>
245 </configuration>
246 </plugin>
247 </plugins>
248 </build>
249 </profile>
250
251 <profile>
252 <id>doc</id>
253 <properties>
254 <env>default</env>
255 </properties>
256 <build>
257 <plugins>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-surefire-plugin</artifactId>
261 <version>2.16</version>
262 <configuration>
263 <groups>unit,doc</groups>
264 <useFile>false</useFile>
265 <systemPropertyVariables>
266 <cassandra.version>${cassandra.version}</cassandra.version>
267 <ipprefix>${ipprefix}</ipprefix>
268 </systemPropertyVariables>
269 </configuration>
270 </plugin>
271 </plugins>
272 </build>
273 </profile>
274 </profiles>
275
276 <licenses>
277 <license>
278 <name>Apache 2</name>
279 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
280 <distribution>repo</distribution>
281 <comments>Apache License Version 2.0</comments>
282 </license>
283 </licenses>
284
285 <scm>
286 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
287 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
288 <url>https://github.com/datastax/java-driver</url>
289 </scm>
290
291 <developers>
292 <developer>
293 <name>Various</name>
294 <organization>DataStax</organization>
295 </developer>
296 </developers>
297
298</project>
299