Elffuss BraidHub

kikocis/java-driver public

acf10ecd97aa · 8.8 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.9-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 </dependencies>
93
94 <build>
95 <resources>
96 <resource>
97 <directory>src/main/resources</directory>
98 <filtering>true</filtering>
99 </resource>
100 </resources>
101 </build>
102
103 <profiles>
104 <profile>
105 <id>default</id>
106 <properties>
107 <env>default</env>
108 </properties>
109 <activation>
110 <activeByDefault>true</activeByDefault>
111 </activation>
112 <build>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-surefire-plugin</artifactId>
117 <version>2.16</version>
118 <configuration>
119 <groups>unit</groups>
120 <useFile>false</useFile>
121 <systemPropertyVariables>
122 <cassandra.version>${cassandra.version}</cassandra.version>
123 <ipprefix>${ipprefix}</ipprefix>
124 <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS>
125 </systemPropertyVariables>
126 <!--May be needed for debugging-->
127 <!--<forkMode>never</forkMode>-->
128 </configuration>
129 </plugin>
130 <plugin>
131 <artifactId>maven-compiler-plugin</artifactId>
132 <configuration>
133 <compilerArgument>-Xlint:all</compilerArgument>
134 <showWarnings>true</showWarnings>
135 <showDeprecation>true</showDeprecation>
136 </configuration>
137 </plugin>
138 <plugin>
139 <artifactId>maven-shade-plugin</artifactId>
140 <version>2.3</version>
141 <executions>
142 <execution>
143 <phase>package</phase>
144 <goals><goal>shade</goal></goals>
145 <configuration>
146 <artifactSet>
147 <includes>
148 <include>io.netty:netty</include>
149 </includes>
150 </artifactSet>
151 <relocations>
152 <relocation>
153 <pattern>org.jboss.netty</pattern>
154 <shadedPattern>com.datastax.shaded.netty</shadedPattern>
155 </relocation>
156 </relocations>
157 </configuration>
158 </execution>
159 </executions>
160 </plugin>
161 </plugins>
162 </build>
163 </profile>
164
165 <profile>
166 <id>short</id>
167 <properties>
168 <env>default</env>
169 </properties>
170 <build>
171 <plugins>
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-surefire-plugin</artifactId>
175 <version>2.16</version>
176 <configuration>
177 <groups>unit,short</groups>
178 <useFile>false</useFile>
179 <systemPropertyVariables>
180 <cassandra.version>${cassandra.version}</cassandra.version>
181 <ipprefix>${ipprefix}</ipprefix>
182 </systemPropertyVariables>
183 </configuration>
184 </plugin>
185 </plugins>
186 </build>
187 </profile>
188
189 <profile>
190 <id>long</id>
191 <properties>
192 <env>default</env>
193 </properties>
194 <build>
195 <plugins>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-surefire-plugin</artifactId>
199 <version>2.16</version>
200 <configuration>
201 <groups>unit,short,long</groups>
202 <useFile>false</useFile>
203 <systemPropertyVariables>
204 <cassandra.version>${cassandra.version}</cassandra.version>
205 <ipprefix>${ipprefix}</ipprefix>
206 </systemPropertyVariables>
207 </configuration>
208 </plugin>
209 </plugins>
210 </build>
211 </profile>
212
213 <profile>
214 <id>duration</id>
215 <properties>
216 <env>default</env>
217 </properties>
218 <build>
219 <plugins>
220 <plugin>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-surefire-plugin</artifactId>
223 <version>2.16</version>
224 <configuration>
225 <groups>unit,short,long,duration</groups>
226 <useFile>false</useFile>
227 <systemPropertyVariables>
228 <cassandra.version>${cassandra.version}</cassandra.version>
229 <ipprefix>${ipprefix}</ipprefix>
230 </systemPropertyVariables>
231 </configuration>
232 </plugin>
233 </plugins>
234 </build>
235 </profile>
236
237 <profile>
238 <id>doc</id>
239 <properties>
240 <env>default</env>
241 </properties>
242 <build>
243 <plugins>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-surefire-plugin</artifactId>
247 <version>2.16</version>
248 <configuration>
249 <groups>unit,doc</groups>
250 <useFile>false</useFile>
251 <systemPropertyVariables>
252 <cassandra.version>${cassandra.version}</cassandra.version>
253 <ipprefix>${ipprefix}</ipprefix>
254 </systemPropertyVariables>
255 </configuration>
256 </plugin>
257 </plugins>
258 </build>
259 </profile>
260 </profiles>
261
262 <licenses>
263 <license>
264 <name>Apache 2</name>
265 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
266 <distribution>repo</distribution>
267 <comments>Apache License Version 2.0</comments>
268 </license>
269 </licenses>
270
271 <scm>
272 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
273 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
274 <url>https://github.com/datastax/java-driver</url>
275 </scm>
276
277 <developers>
278 <developer>
279 <name>Various</name>
280 <organization>DataStax</organization>
281 </developer>
282 </developers>
283
284</project>
285