Elffuss BraidHub

kikocis/java-driver public

7fd6e7576530 · 10.1 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 <version>16.0.1</version>
40 </dependency>
41
42 <dependency>
43 <groupId>com.codahale.metrics</groupId>
44 <artifactId>metrics-core</artifactId>
45 <version>3.0.2</version>
46 </dependency>
47
48 <!-- Compression libraries for the protocol. -->
49 <!-- Each of them is only a mandatory runtime dependency if you want to use the compression it offers -->
50
51 <dependency>
52 <groupId>org.xerial.snappy</groupId>
53 <artifactId>snappy-java</artifactId>
54 <version>1.0.5</version>
55 <optional>true</optional>
56 </dependency>
57
58 <dependency>
59 <groupId>net.jpountz.lz4</groupId>
60 <artifactId>lz4</artifactId>
61 <version>1.2.0</version>
62 <optional>true</optional>
63 </dependency>
64
65 <!-- End of compression libraries -->
66
67 <dependency>
68 <groupId>org.testng</groupId>
69 <artifactId>testng</artifactId>
70 <version>6.8.8</version>
71 <scope>test</scope>
72 </dependency>
73
74 <dependency>
75 <groupId>org.assertj</groupId>
76 <artifactId>assertj-core</artifactId>
77 <version>1.7.0</version>
78 <scope>test</scope>
79 </dependency>
80
81 <dependency>
82 <groupId>org.mockito</groupId>
83 <artifactId>mockito-all</artifactId>
84 <version>1.10.8</version>
85 <scope>test</scope>
86 </dependency>
87
88 </dependencies>
89
90 <build>
91 <plugins>
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-jar-plugin</artifactId>
95 <version>2.2</version>
96 <executions>
97 <execution>
98 <goals>
99 <goal>test-jar</goal>
100 </goals>
101 <phase>test-compile</phase>
102 </execution>
103 </executions>
104 </plugin>
105 <plugin>
106 <groupId>org.apache.felix</groupId>
107 <artifactId>maven-bundle-plugin</artifactId>
108 <extensions>true</extensions>
109 <version>2.4.0</version>
110 <executions>
111 <execution>
112 <id>bundle-manifest</id>
113 <phase>process-classes</phase>
114 <goals>
115 <goal>manifest</goal>
116 </goals>
117 </execution>
118 </executions>
119 <configuration>
120 <instructions>
121 <Bundle-SymbolicName>com.datastax.driver.core</Bundle-SymbolicName>
122 <Bundle-Version>${project.version}</Bundle-Version>
123 <_include>-osgi.bnd</_include>
124 </instructions>
125 <supportedProjectTypes>
126 <supportedProjectType>jar</supportedProjectType>
127 <supportedProjectType>bundle</supportedProjectType>
128 <supportedProjectType>pom</supportedProjectType>
129 </supportedProjectTypes>
130 </configuration>
131 </plugin>
132 </plugins>
133
134 <pluginManagement>
135 <plugins>
136 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
137 <plugin>
138 <groupId>org.eclipse.m2e</groupId>
139 <artifactId>lifecycle-mapping</artifactId>
140 <version>1.0.0</version>
141 <configuration>
142 <lifecycleMappingMetadata>
143 <pluginExecutions>
144 <pluginExecution>
145 <pluginExecutionFilter>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-jar-plugin</artifactId>
148 <versionRange>[2.2,)</versionRange>
149 <goals>
150 <goal>test-jar</goal>
151 </goals>
152 </pluginExecutionFilter>
153 <action>
154 <ignore />
155 </action>
156 </pluginExecution>
157 </pluginExecutions>
158 </lifecycleMappingMetadata>
159 </configuration>
160 </plugin>
161 </plugins>
162 </pluginManagement>
163 </build>
164
165 <profiles>
166 <profile>
167 <id>default</id>
168 <properties>
169 <env>default</env>
170 </properties>
171 <activation>
172 <activeByDefault>true</activeByDefault>
173 </activation>
174 <build>
175 <plugins>
176 <plugin>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-surefire-plugin</artifactId>
179 <version>2.16</version>
180 <configuration>
181 <groups>unit</groups>
182 <useFile>false</useFile>
183 <systemPropertyVariables>
184 <cassandra.version>${cassandra.version}</cassandra.version>
185 <ipprefix>${ipprefix}</ipprefix>
186 <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS>
187 </systemPropertyVariables>
188 <!--May be needed for debugging-->
189 <!--<forkMode>never</forkMode>-->
190 </configuration>
191 </plugin>
192 <plugin>
193 <artifactId>maven-compiler-plugin</artifactId>
194 <configuration>
195 <compilerArgument>-Xlint:all</compilerArgument>
196 <showWarnings>true</showWarnings>
197 <showDeprecation>true</showDeprecation>
198 </configuration>
199 </plugin>
200 </plugins>
201 </build>
202 </profile>
203
204 <profile>
205 <id>short</id>
206 <properties>
207 <env>default</env>
208 </properties>
209 <build>
210 <plugins>
211 <plugin>
212 <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-surefire-plugin</artifactId>
214 <version>2.16</version>
215 <configuration>
216 <groups>unit,short</groups>
217 <useFile>false</useFile>
218 <systemPropertyVariables>
219 <cassandra.version>${cassandra.version}</cassandra.version>
220 <ipprefix>${ipprefix}</ipprefix>
221 </systemPropertyVariables>
222 </configuration>
223 </plugin>
224 </plugins>
225 </build>
226 </profile>
227
228 <profile>
229 <id>long</id>
230 <properties>
231 <env>default</env>
232 </properties>
233 <build>
234 <plugins>
235 <plugin>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-surefire-plugin</artifactId>
238 <version>2.16</version>
239 <configuration>
240 <groups>unit,short,long</groups>
241 <useFile>false</useFile>
242 <systemPropertyVariables>
243 <cassandra.version>${cassandra.version}</cassandra.version>
244 <ipprefix>${ipprefix}</ipprefix>
245 </systemPropertyVariables>
246 </configuration>
247 </plugin>
248 </plugins>
249 </build>
250 </profile>
251
252 <profile>
253 <id>duration</id>
254 <properties>
255 <env>default</env>
256 </properties>
257 <build>
258 <plugins>
259 <plugin>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-surefire-plugin</artifactId>
262 <version>2.16</version>
263 <configuration>
264 <groups>unit,short,long,duration</groups>
265 <useFile>false</useFile>
266 <systemPropertyVariables>
267 <cassandra.version>${cassandra.version}</cassandra.version>
268 <ipprefix>${ipprefix}</ipprefix>
269 </systemPropertyVariables>
270 </configuration>
271 </plugin>
272 </plugins>
273 </build>
274 </profile>
275
276 <profile>
277 <id>doc</id>
278 <properties>
279 <env>default</env>
280 </properties>
281 <build>
282 <plugins>
283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-surefire-plugin</artifactId>
286 <version>2.16</version>
287 <configuration>
288 <groups>unit,doc</groups>
289 <useFile>false</useFile>
290 <systemPropertyVariables>
291 <cassandra.version>${cassandra.version}</cassandra.version>
292 <ipprefix>${ipprefix}</ipprefix>
293 </systemPropertyVariables>
294 </configuration>
295 </plugin>
296 </plugins>
297 </build>
298 </profile>
299 </profiles>
300
301 <licenses>
302 <license>
303 <name>Apache 2</name>
304 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
305 <distribution>repo</distribution>
306 <comments>Apache License Version 2.0</comments>
307 </license>
308 </licenses>
309
310 <scm>
311 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
312 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
313 <url>https://github.com/datastax/java-driver</url>
314 <tag>HEAD</tag>
315 </scm>
316
317 <developers>
318 <developer>
319 <name>Various</name>
320 <organization>DataStax</organization>
321 </developer>
322 </developers>
323
324</project>
325