Elffuss BraidHub

kikocis/java-driver public

8c8fb5365c18 · 11.7 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.1.5-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 <plugins>
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-jar-plugin</artifactId>
119 <version>2.2</version>
120 <executions>
121 <execution>
122 <goals>
123 <goal>test-jar</goal>
124 </goals>
125 <phase>test-compile</phase>
126 </execution>
127 </executions>
128 </plugin>
129 <plugin>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>maven-bundle-plugin</artifactId>
132 <extensions>true</extensions>
133 <version>2.4.0</version>
134 <executions>
135 <execution>
136 <id>bundle-manifest</id>
137 <phase>process-classes</phase>
138 <goals>
139 <goal>manifest</goal>
140 </goals>
141 </execution>
142 </executions>
143 <configuration>
144 <instructions>
145 <Bundle-SymbolicName>com.datastax.driver.core</Bundle-SymbolicName>
146 <Bundle-Version>${project.version}</Bundle-Version>
147 <_include>-osgi.bnd</_include>
148 </instructions>
149 <supportedProjectTypes>
150 <supportedProjectType>jar</supportedProjectType>
151 <supportedProjectType>bundle</supportedProjectType>
152 <supportedProjectType>pom</supportedProjectType>
153 </supportedProjectTypes>
154 </configuration>
155 </plugin>
156 </plugins>
157
158 <pluginManagement>
159 <plugins>
160 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
161 <plugin>
162 <groupId>org.eclipse.m2e</groupId>
163 <artifactId>lifecycle-mapping</artifactId>
164 <version>1.0.0</version>
165 <configuration>
166 <lifecycleMappingMetadata>
167 <pluginExecutions>
168 <pluginExecution>
169 <pluginExecutionFilter>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-jar-plugin</artifactId>
172 <versionRange>[2.2,)</versionRange>
173 <goals>
174 <goal>test-jar</goal>
175 </goals>
176 </pluginExecutionFilter>
177 <action>
178 <ignore />
179 </action>
180 </pluginExecution>
181 </pluginExecutions>
182 </lifecycleMappingMetadata>
183 </configuration>
184 </plugin>
185 </plugins>
186 </pluginManagement>
187 </build>
188
189 <profiles>
190 <profile>
191 <id>default</id>
192 <properties>
193 <env>default</env>
194 </properties>
195 <activation>
196 <activeByDefault>true</activeByDefault>
197 </activation>
198 <build>
199 <plugins>
200 <plugin>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-surefire-plugin</artifactId>
203 <version>2.16</version>
204 <configuration>
205 <groups>unit</groups>
206 <useFile>false</useFile>
207 <systemPropertyVariables>
208 <cassandra.version>${cassandra.version}</cassandra.version>
209 <ipprefix>${ipprefix}</ipprefix>
210 <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS>
211 </systemPropertyVariables>
212 <!--May be needed for debugging-->
213 <!--<forkMode>never</forkMode>-->
214 </configuration>
215 </plugin>
216 <plugin>
217 <artifactId>maven-compiler-plugin</artifactId>
218 <configuration>
219 <compilerArgument>-Xlint:all</compilerArgument>
220 <showWarnings>true</showWarnings>
221 <showDeprecation>true</showDeprecation>
222 </configuration>
223 </plugin>
224 <plugin>
225 <artifactId>maven-shade-plugin</artifactId>
226 <version>2.3</version>
227 <executions>
228 <execution>
229 <phase>package</phase>
230 <goals><goal>shade</goal></goals>
231 <configuration>
232 <artifactSet>
233 <includes>
234 <include>io.netty:netty</include>
235 </includes>
236 </artifactSet>
237 <relocations>
238 <relocation>
239 <pattern>org.jboss.netty</pattern>
240 <shadedPattern>com.datastax.shaded.netty</shadedPattern>
241 </relocation>
242 </relocations>
243 </configuration>
244 </execution>
245 </executions>
246 </plugin>
247 </plugins>
248 </build>
249 </profile>
250
251 <profile>
252 <id>short</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,short</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
275 <profile>
276 <id>long</id>
277 <properties>
278 <env>default</env>
279 </properties>
280 <build>
281 <plugins>
282 <plugin>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-surefire-plugin</artifactId>
285 <version>2.16</version>
286 <configuration>
287 <groups>unit,short,long</groups>
288 <useFile>false</useFile>
289 <systemPropertyVariables>
290 <cassandra.version>${cassandra.version}</cassandra.version>
291 <ipprefix>${ipprefix}</ipprefix>
292 </systemPropertyVariables>
293 </configuration>
294 </plugin>
295 </plugins>
296 </build>
297 </profile>
298
299 <profile>
300 <id>duration</id>
301 <properties>
302 <env>default</env>
303 </properties>
304 <build>
305 <plugins>
306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-surefire-plugin</artifactId>
309 <version>2.16</version>
310 <configuration>
311 <groups>unit,short,long,duration</groups>
312 <useFile>false</useFile>
313 <systemPropertyVariables>
314 <cassandra.version>${cassandra.version}</cassandra.version>
315 <ipprefix>${ipprefix}</ipprefix>
316 </systemPropertyVariables>
317 </configuration>
318 </plugin>
319 </plugins>
320 </build>
321 </profile>
322
323 <profile>
324 <id>doc</id>
325 <properties>
326 <env>default</env>
327 </properties>
328 <build>
329 <plugins>
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-surefire-plugin</artifactId>
333 <version>2.16</version>
334 <configuration>
335 <groups>unit,doc</groups>
336 <useFile>false</useFile>
337 <systemPropertyVariables>
338 <cassandra.version>${cassandra.version}</cassandra.version>
339 <ipprefix>${ipprefix}</ipprefix>
340 </systemPropertyVariables>
341 </configuration>
342 </plugin>
343 </plugins>
344 </build>
345 </profile>
346 </profiles>
347
348 <licenses>
349 <license>
350 <name>Apache 2</name>
351 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
352 <distribution>repo</distribution>
353 <comments>Apache License Version 2.0</comments>
354 </license>
355 </licenses>
356
357 <scm>
358 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
359 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
360 <url>https://github.com/datastax/java-driver</url>
361 <tag>HEAD</tag>
362 </scm>
363
364 <developers>
365 <developer>
366 <name>Various</name>
367 <organization>DataStax</organization>
368 </developer>
369 </developers>
370
371</project>
372