| 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 | </plugins> |
| 139 | </build> |
| 140 | </profile> |
| 141 | |
| 142 | <profile> |
| 143 | <id>short</id> |
| 144 | <properties> |
| 145 | <env>default</env> |
| 146 | </properties> |
| 147 | <build> |
| 148 | <plugins> |
| 149 | <plugin> |
| 150 | <groupId>org.apache.maven.plugins</groupId> |
| 151 | <artifactId>maven-surefire-plugin</artifactId> |
| 152 | <version>2.16</version> |
| 153 | <configuration> |
| 154 | <groups>unit,short</groups> |
| 155 | <useFile>false</useFile> |
| 156 | <systemPropertyVariables> |
| 157 | <cassandra.version>${cassandra.version}</cassandra.version> |
| 158 | <ipprefix>${ipprefix}</ipprefix> |
| 159 | </systemPropertyVariables> |
| 160 | </configuration> |
| 161 | </plugin> |
| 162 | </plugins> |
| 163 | </build> |
| 164 | </profile> |
| 165 | |
| 166 | <profile> |
| 167 | <id>long</id> |
| 168 | <properties> |
| 169 | <env>default</env> |
| 170 | </properties> |
| 171 | <build> |
| 172 | <plugins> |
| 173 | <plugin> |
| 174 | <groupId>org.apache.maven.plugins</groupId> |
| 175 | <artifactId>maven-surefire-plugin</artifactId> |
| 176 | <version>2.16</version> |
| 177 | <configuration> |
| 178 | <groups>unit,short,long</groups> |
| 179 | <useFile>false</useFile> |
| 180 | <systemPropertyVariables> |
| 181 | <cassandra.version>${cassandra.version}</cassandra.version> |
| 182 | <ipprefix>${ipprefix}</ipprefix> |
| 183 | </systemPropertyVariables> |
| 184 | </configuration> |
| 185 | </plugin> |
| 186 | </plugins> |
| 187 | </build> |
| 188 | </profile> |
| 189 | |
| 190 | <profile> |
| 191 | <id>duration</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,long,duration</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>doc</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,doc</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 | </profiles> |
| 238 | |
| 239 | <licenses> |
| 240 | <license> |
| 241 | <name>Apache 2</name> |
| 242 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 243 | <distribution>repo</distribution> |
| 244 | <comments>Apache License Version 2.0</comments> |
| 245 | </license> |
| 246 | </licenses> |
| 247 | |
| 248 | <scm> |
| 249 | <connection>scm:git:git@github.com:datastax/java-driver.git</connection> |
| 250 | <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> |
| 251 | <url>https://github.com/datastax/java-driver</url> |
| 252 | </scm> |
| 253 | |
| 254 | <developers> |
| 255 | <developer> |
| 256 | <name>Various</name> |
| 257 | <organization>DataStax</organization> |
| 258 | </developer> |
| 259 | </developers> |
| 260 | |
| 261 | </project> |
| 262 | |