Elffuss BraidHub

kikocis/java-driver public

f9683b6101b7 · 10.5 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.3-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 <plugins>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-jar-plugin</artifactId>
105 <version>2.2</version>
106 <executions>
107 <execution>
108 <goals>
109 <goal>test-jar</goal>
110 </goals>
111 <phase>test-compile</phase>
112 </execution>
113 </executions>
114 </plugin>
115 <plugin>
116 <groupId>org.apache.felix</groupId>
117 <artifactId>maven-bundle-plugin</artifactId>
118 <extensions>true</extensions>
119 <version>2.4.0</version>
120 <executions>
121 <execution>
122 <id>bundle-manifest</id>
123 <phase>process-classes</phase>
124 <goals>
125 <goal>manifest</goal>
126 </goals>
127 </execution>
128 </executions>
129 <configuration>
130 <instructions>
131 <Bundle-SymbolicName>com.datastax.driver.core</Bundle-SymbolicName>
132 <Bundle-Version>${project.version}</Bundle-Version>
133 <_include>-osgi.bnd</_include>
134 </instructions>
135 <supportedProjectTypes>
136 <supportedProjectType>jar</supportedProjectType>
137 <supportedProjectType>bundle</supportedProjectType>
138 <supportedProjectType>pom</supportedProjectType>
139 </supportedProjectTypes>
140 </configuration>
141 </plugin>
142 </plugins>
143
144 <pluginManagement>
145 <plugins>
146 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
147 <plugin>
148 <groupId>org.eclipse.m2e</groupId>
149 <artifactId>lifecycle-mapping</artifactId>
150 <version>1.0.0</version>
151 <configuration>
152 <lifecycleMappingMetadata>
153 <pluginExecutions>
154 <pluginExecution>
155 <pluginExecutionFilter>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-jar-plugin</artifactId>
158 <versionRange>[2.2,)</versionRange>
159 <goals>
160 <goal>test-jar</goal>
161 </goals>
162 </pluginExecutionFilter>
163 <action>
164 <ignore />
165 </action>
166 </pluginExecution>
167 </pluginExecutions>
168 </lifecycleMappingMetadata>
169 </configuration>
170 </plugin>
171 </plugins>
172 </pluginManagement>
173 </build>
174
175 <profiles>
176 <profile>
177 <id>default</id>
178 <properties>
179 <env>default</env>
180 </properties>
181 <activation>
182 <activeByDefault>true</activeByDefault>
183 </activation>
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</groups>
192 <useFile>false</useFile>
193 <systemPropertyVariables>
194 <cassandra.version>${cassandra.version}</cassandra.version>
195 <ipprefix>${ipprefix}</ipprefix>
196 <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS>
197 </systemPropertyVariables>
198 <!--May be needed for debugging-->
199 <!--<forkMode>never</forkMode>-->
200 </configuration>
201 </plugin>
202 <plugin>
203 <artifactId>maven-compiler-plugin</artifactId>
204 <configuration>
205 <compilerArgument>-Xlint:all</compilerArgument>
206 <showWarnings>true</showWarnings>
207 <showDeprecation>true</showDeprecation>
208 </configuration>
209 </plugin>
210 </plugins>
211 </build>
212 </profile>
213
214 <profile>
215 <id>short</id>
216 <properties>
217 <env>default</env>
218 </properties>
219 <build>
220 <plugins>
221 <plugin>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-surefire-plugin</artifactId>
224 <version>2.16</version>
225 <configuration>
226 <groups>unit,short</groups>
227 <useFile>false</useFile>
228 <systemPropertyVariables>
229 <cassandra.version>${cassandra.version}</cassandra.version>
230 <ipprefix>${ipprefix}</ipprefix>
231 </systemPropertyVariables>
232 </configuration>
233 </plugin>
234 </plugins>
235 </build>
236 </profile>
237
238 <profile>
239 <id>long</id>
240 <properties>
241 <env>default</env>
242 </properties>
243 <build>
244 <plugins>
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-surefire-plugin</artifactId>
248 <version>2.16</version>
249 <configuration>
250 <groups>unit,short,long</groups>
251 <useFile>false</useFile>
252 <systemPropertyVariables>
253 <cassandra.version>${cassandra.version}</cassandra.version>
254 <ipprefix>${ipprefix}</ipprefix>
255 </systemPropertyVariables>
256 </configuration>
257 </plugin>
258 </plugins>
259 </build>
260 </profile>
261
262 <profile>
263 <id>duration</id>
264 <properties>
265 <env>default</env>
266 </properties>
267 <build>
268 <plugins>
269 <plugin>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-surefire-plugin</artifactId>
272 <version>2.16</version>
273 <configuration>
274 <groups>unit,short,long,duration</groups>
275 <useFile>false</useFile>
276 <systemPropertyVariables>
277 <cassandra.version>${cassandra.version}</cassandra.version>
278 <ipprefix>${ipprefix}</ipprefix>
279 </systemPropertyVariables>
280 </configuration>
281 </plugin>
282 </plugins>
283 </build>
284 </profile>
285
286 <profile>
287 <id>doc</id>
288 <properties>
289 <env>default</env>
290 </properties>
291 <build>
292 <plugins>
293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-surefire-plugin</artifactId>
296 <version>2.16</version>
297 <configuration>
298 <groups>unit,doc</groups>
299 <useFile>false</useFile>
300 <systemPropertyVariables>
301 <cassandra.version>${cassandra.version}</cassandra.version>
302 <ipprefix>${ipprefix}</ipprefix>
303 </systemPropertyVariables>
304 </configuration>
305 </plugin>
306 </plugins>
307 </build>
308 </profile>
309 </profiles>
310
311 <licenses>
312 <license>
313 <name>Apache 2</name>
314 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
315 <distribution>repo</distribution>
316 <comments>Apache License Version 2.0</comments>
317 </license>
318 </licenses>
319
320 <scm>
321 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
322 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
323 <url>https://github.com/datastax/java-driver</url>
324 <tag>HEAD</tag>
325 </scm>
326
327 <developers>
328 <developer>
329 <name>Various</name>
330 <organization>DataStax</organization>
331 </developer>
332 </developers>
333
334</project>
335