kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | f86d43c2240ff6930f7d7cfd0edd41b6ed5c6aab5aa7c14f10353a5f2b7d1dad |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-12 16:23 -05:00 |
| Committer | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-12 16:23 -05:00 |
| Parents | 0aeacc35956c |
3 files changed
modified driver-core/pom.xml +9 −13
| @@ -30,23 +30,19 @@ | ||
| 30 | 30 | <dependency> |
| 31 | 31 | <groupId>io.netty</groupId> |
| 32 | 32 | <artifactId>netty</artifactId> |
| 33 | - <version>3.9.0.Final</version> | |
| 33 | + <version>${netty.version}</version> | |
| 34 | 34 | </dependency> |
| 35 | 35 | |
| 36 | 36 | <dependency> |
| 37 | 37 | <groupId>com.google.guava</groupId> |
| 38 | 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> | |
| 39 | + <version>${guava.version}</version> | |
| 44 | 40 | </dependency> |
| 45 | 41 | |
| 46 | 42 | <dependency> |
| 47 | 43 | <groupId>com.codahale.metrics</groupId> |
| 48 | 44 | <artifactId>metrics-core</artifactId> |
| 49 | - <version>3.0.2</version> | |
| 45 | + <version>${metrics.version}</version> | |
| 50 | 46 | </dependency> |
| 51 | 47 | |
| 52 | 48 | <!-- Compression libraries for the protocol. --> |
| @@ -55,14 +51,14 @@ | ||
| 55 | 51 | <dependency> |
| 56 | 52 | <groupId>org.xerial.snappy</groupId> |
| 57 | 53 | <artifactId>snappy-java</artifactId> |
| 58 | - <version>1.0.5</version> | |
| 54 | + <version>${snappy.version}</version> | |
| 59 | 55 | <optional>true</optional> |
| 60 | 56 | </dependency> |
| 61 | 57 | |
| 62 | 58 | <dependency> |
| 63 | 59 | <groupId>net.jpountz.lz4</groupId> |
| 64 | 60 | <artifactId>lz4</artifactId> |
| 65 | - <version>1.2.0</version> | |
| 61 | + <version>${lz4.version}</version> | |
| 66 | 62 | <optional>true</optional> |
| 67 | 63 | </dependency> |
| 68 | 64 | |
| @@ -71,21 +67,21 @@ | ||
| 71 | 67 | <dependency> |
| 72 | 68 | <groupId>org.testng</groupId> |
| 73 | 69 | <artifactId>testng</artifactId> |
| 74 | - <version>6.8.8</version> | |
| 70 | + <version>${testng.version}</version> | |
| 75 | 71 | <scope>test</scope> |
| 76 | 72 | </dependency> |
| 77 | 73 | |
| 78 | 74 | <dependency> |
| 79 | 75 | <groupId>org.assertj</groupId> |
| 80 | 76 | <artifactId>assertj-core</artifactId> |
| 81 | - <version>1.7.0</version> | |
| 77 | + <version>${assertj.version}</version> | |
| 82 | 78 | <scope>test</scope> |
| 83 | 79 | </dependency> |
| 84 | 80 | |
| 85 | 81 | <dependency> |
| 86 | 82 | <groupId>org.mockito</groupId> |
| 87 | 83 | <artifactId>mockito-all</artifactId> |
| 88 | - <version>1.10.8</version> | |
| 84 | + <version>${mockito.version}</version> | |
| 89 | 85 | <scope>test</scope> |
| 90 | 86 | </dependency> |
| 91 | 87 | |
| @@ -93,7 +89,7 @@ | ||
| 93 | 89 | <groupId>org.scassandra</groupId> |
| 94 | 90 | <artifactId>java-client</artifactId> |
| 95 | 91 | <!-- N.B. later versions of scassandra require JDK 7 --> |
| 96 | - <version>0.4.1</version> | |
| 92 | + <version>${scassandra.version}</version> | |
| 97 | 93 | <scope>test</scope> |
| 98 | 94 | <exclusions> |
| 99 | 95 | <exclusion> |
modified driver-examples/osgi/pom.xml +2 −2
| @@ -88,14 +88,14 @@ | ||
| 88 | 88 | <dependency> |
| 89 | 89 | <groupId>log4j</groupId> |
| 90 | 90 | <artifactId>log4j</artifactId> |
| 91 | - <version>1.2.17</version> | |
| 91 | + <version>${log4j.version}</version> | |
| 92 | 92 | <scope>test</scope> |
| 93 | 93 | </dependency> |
| 94 | 94 | |
| 95 | 95 | <dependency> |
| 96 | 96 | <groupId>org.slf4j</groupId> |
| 97 | 97 | <artifactId>slf4j-log4j12</artifactId> |
| 98 | - <version>1.7.6</version> | |
| 98 | + <version>${slf4j-log4j12.version}</version> | |
| 99 | 99 | <scope>test</scope> |
| 100 | 100 | </dependency> |
| 101 | 101 |
modified pom.xml +21 −4
| @@ -38,20 +38,37 @@ | ||
| 38 | 38 | <properties> |
| 39 | 39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 40 | 40 | <cassandra.version>2.0.10</cassandra.version> |
| 41 | + <java.version>1.6</java.version> | |
| 42 | + <log4j.version>1.2.17</log4j.version> | |
| 43 | + <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version> | |
| 44 | + <!-- | |
| 45 | + We use an old version of Guava to be compatible with Spark 1.1. | |
| 46 | + Check with the spark-cassandra-connector team before upgrading this. | |
| 47 | + --> | |
| 48 | + <guava.version>14.0.1</guava.version> | |
| 49 | + <netty.version>3.9.0.Final</netty.version> | |
| 50 | + <metrics.version>3.0.2</metrics.version> | |
| 51 | + <snappy.version>1.0.5</snappy.version> | |
| 52 | + <lz4.version>1.2.0</lz4.version> | |
| 53 | + <!-- test dependency versions --> | |
| 54 | + <testng.version>6.8.8</testng.version> | |
| 55 | + <assertj.version>1.7.0</assertj.version> | |
| 56 | + <mockito.version>1.10.8</mockito.version> | |
| 57 | + <scassandra.version>0.4.1</scassandra.version> | |
| 41 | 58 | </properties> |
| 42 | 59 | |
| 43 | 60 | <dependencies> |
| 44 | 61 | <dependency> |
| 45 | 62 | <groupId>log4j</groupId> |
| 46 | 63 | <artifactId>log4j</artifactId> |
| 47 | - <version>1.2.17</version> | |
| 64 | + <version>${log4j.version}</version> | |
| 48 | 65 | <scope>test</scope> |
| 49 | 66 | </dependency> |
| 50 | 67 | |
| 51 | 68 | <dependency> |
| 52 | 69 | <groupId>org.slf4j</groupId> |
| 53 | 70 | <artifactId>slf4j-log4j12</artifactId> |
| 54 | - <version>1.7.6</version> | |
| 71 | + <version>${slf4j-log4j12.version}</version> | |
| 55 | 72 | <scope>test</scope> |
| 56 | 73 | </dependency> |
| 57 | 74 | </dependencies> |
| @@ -74,8 +91,8 @@ | ||
| 74 | 91 | <artifactId>maven-compiler-plugin</artifactId> |
| 75 | 92 | <version>3.1</version> |
| 76 | 93 | <configuration> |
| 77 | - <source>1.6</source> | |
| 78 | - <target>1.6</target> | |
| 94 | + <source>${java.version}</source> | |
| 95 | + <target>${java.version}</target> | |
| 79 | 96 | <optimize>true</optimize> |
| 80 | 97 | <showDeprecation>true</showDeprecation> |
| 81 | 98 | <showWarnings>true</showWarnings> |