Elffuss BraidHub

kikocis/java-driver public

cd8368797258 · 9.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.1.2-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 </dependencies>
75
76 <build>
77 <plugins>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-jar-plugin</artifactId>
81 <version>2.2</version>
82 <executions>
83 <execution>
84 <goals>
85 <goal>test-jar</goal>
86 </goals>
87 <phase>test-compile</phase>
88 </execution>
89 </executions>
90 </plugin>
91 <plugin>
92 <groupId>org.apache.felix</groupId>
93 <artifactId>maven-bundle-plugin</artifactId>
94 <extensions>true</extensions>
95 <version>2.4.0</version>
96 <executions>
97 <execution>
98 <id>bundle-manifest</id>
99 <phase>process-classes</phase>
100 <goals>
101 <goal>manifest</goal>
102 </goals>
103 </execution>
104 </executions>
105 <configuration>
106 <instructions>
107 <Bundle-SymbolicName>com.datastax.driver.core</Bundle-SymbolicName>
108 <Bundle-Version>${project.version}</Bundle-Version>
109 <_include>-osgi.bnd</_include>
110 </instructions>
111 <supportedProjectTypes>
112 <supportedProjectType>jar</supportedProjectType>
113 <supportedProjectType>bundle</supportedProjectType>
114 <supportedProjectType>pom</supportedProjectType>
115 </supportedProjectTypes>
116 </configuration>
117 </plugin>
118 </plugins>
119
120 <pluginManagement>
121 <plugins>
122 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
123 <plugin>
124 <groupId>org.eclipse.m2e</groupId>
125 <artifactId>lifecycle-mapping</artifactId>
126 <version>1.0.0</version>
127 <configuration>
128 <lifecycleMappingMetadata>
129 <pluginExecutions>
130 <pluginExecution>
131 <pluginExecutionFilter>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-jar-plugin</artifactId>
134 <versionRange>[2.2,)</versionRange>
135 <goals>
136 <goal>test-jar</goal>
137 </goals>
138 </pluginExecutionFilter>
139 <action>
140 <ignore />
141 </action>
142 </pluginExecution>
143 </pluginExecutions>
144 </lifecycleMappingMetadata>
145 </configuration>
146 </plugin>
147 </plugins>
148 </pluginManagement>
149 </build>
150
151 <profiles>
152 <profile>
153 <id>default</id>
154 <properties>
155 <env>default</env>
156 </properties>
157 <activation>
158 <activeByDefault>true</activeByDefault>
159 </activation>
160 <build>
161 <plugins>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-surefire-plugin</artifactId>
165 <version>2.16</version>
166 <configuration>
167 <groups>unit</groups>
168 <useFile>false</useFile>
169 <systemPropertyVariables>
170 <cassandra.version>${cassandra.version}</cassandra.version>
171 <ipprefix>${ipprefix}</ipprefix>
172 <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS>
173 </systemPropertyVariables>
174 <!--May be needed for debugging-->
175 <!--<forkMode>never</forkMode>-->
176 </configuration>
177 </plugin>
178 <plugin>
179 <artifactId>maven-compiler-plugin</artifactId>
180 <configuration>
181 <compilerArgument>-Xlint:all</compilerArgument>
182 <showWarnings>true</showWarnings>
183 <showDeprecation>true</showDeprecation>
184 </configuration>
185 </plugin>
186 </plugins>
187 </build>
188 </profile>
189
190 <profile>
191 <id>short</id>
192 <properties>
193 <env>default</env>
194 </properties>
195 <build>
196 <plugins>
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-surefire-plugin</artifactId>
200 <version>2.16</version>
201 <configuration>
202 <groups>unit,short</groups>
203 <useFile>false</useFile>
204 <systemPropertyVariables>
205 <cassandra.version>${cassandra.version}</cassandra.version>
206 <ipprefix>${ipprefix}</ipprefix>
207 </systemPropertyVariables>
208 </configuration>
209 </plugin>
210 </plugins>
211 </build>
212 </profile>
213
214 <profile>
215 <id>long</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,long</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>duration</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,duration</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>doc</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,doc</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 </profiles>
286
287 <licenses>
288 <license>
289 <name>Apache 2</name>
290 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
291 <distribution>repo</distribution>
292 <comments>Apache License Version 2.0</comments>
293 </license>
294 </licenses>
295
296 <scm>
297 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
298 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
299 <url>https://github.com/datastax/java-driver</url>
300 <tag>HEAD</tag>
301 </scm>
302
303 <developers>
304 <developer>
305 <name>Various</name>
306 <organization>DataStax</organization>
307 </developer>
308 </developers>
309
310</project>
311