Elffuss BraidHub

kikocis/java-driver public

Merge branch '2.0' into 2.1

Conflicts:
	README.md
	docs.yaml
	driver-core/CHANGELOG.rst
	driver-core/README.rst
	driver-core/pom.xml
	driver-core/src/main/java/com/datastax/driver/core/ArrayBackedResultSet.java
	driver-core/src/main/java/com/datastax/driver/core/Cluster.java
	driver-core/src/main/java/com/datastax/driver/core/Connection.java
	driver-core/src/main/java/com/datastax/driver/core/ControlConnection.java
	driver-core/src/main/java/com/datastax/driver/core/DataType.java
	driver-core/src/main/java/com/datastax/driver/core/Frame.java
	driver-core/src/main/java/com/datastax/driver/core/GettableData.java
	driver-core/src/main/java/com/datastax/driver/core/Host.java
	driver-core/src/main/java/com/datastax/driver/core/HostConnectionPool.java
	driver-core/src/main/java/com/datastax/driver/core/Message.java
	driver-core/src/main/java/com/datastax/driver/core/PoolingOptions.java
	driver-core/src/main/java/com/datastax/driver/core/ProtocolEvent.java
	driver-core/src/main/java/com/datastax/driver/core/RequestHandler.java
	driver-core/src/main/java/com/datastax/driver/core/Requests.java
	driver-core/src/main/java/com/datastax/driver/core/Responses.java
	driver-core/src/main/java/com/datastax/driver/core/SessionManager.java
	driver-core/src/main/java/com/datastax/driver/core/Statement.java
	driver-core/src/main/java/com/datastax/driver/core/policies/Policies.java
	driver-core/src/main/java/com/datastax/driver/core/querybuilder/Assignment.java
	driver-core/src/test/java/com/datastax/driver/core/ClusterStressTest.java
	driver-core/src/test/java/com/datastax/driver/core/SessionLeakTest.java
	driver-core/src/test/java/com/datastax/driver/core/SessionStressTest.java
	driver-core/src/test/java/com/datastax/driver/core/SessionTest.java
	driver-core/src/test/java/com/datastax/driver/core/TestUtils.java
	driver-dist/pom.xml
	driver-dse/pom.xml
	driver-dse/src/main/java/com/datastax/driver/auth/DseAuthProvider.java
	driver-examples/osgi/pom.xml
	driver-examples/pom.xml
	driver-examples/stress/pom.xml
	features/README.md
	features/address_resolution/README.md
	features/native_protocol/README.md
	features/shaded_jar/README.md
	pom.xml
Changesetdcebaac4fdde8576a3f25477d6e2d9c1495aebe6d84acb5888683fdd594453c1
Authorolim7t <omichallat+github@gmail.com> · 2015-05-10 16:33 +02:00
Committerolim7t <omichallat+github@gmail.com> · 2015-05-11 15:02 +02:00
Parentsb728b57e853c, 5b2ba50eec1f

Browse the files at this changeset

More than 300 files changed

modified pom.xml +76 −10
@@ -1,15 +1,19 @@
11 <!--
2- Licensed under the Apache License, Version 2.0 (the "License");
3- you may not use this file except in compliance with the License.
4- You may obtain a copy of the License at
52
6- http://www.apache.org/licenses/LICENSE-2.0
3+ Copyright (C) 2012-2015 DataStax Inc.
4+
5+ Licensed under the Apache License, Version 2.0 (the "License");
6+ you may not use this file except in compliance with the License.
7+ You may obtain a copy of the License at
8+
9+ http://www.apache.org/licenses/LICENSE-2.0
10+
11+ Unless required by applicable law or agreed to in writing, software
12+ distributed under the License is distributed on an "AS IS" BASIS,
13+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ See the License for the specific language governing permissions and
15+ limitations under the License.
716
8- Unless required by applicable law or agreed to in writing, software
9- distributed under the License is distributed on an "AS IS" BASIS,
10- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11- See the License for the specific language governing permissions and
12- limitations under the License. See accompanying LICENSE file.
1317 -->
1418 <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">
1519 <modelVersion>4.0.0</modelVersion>
@@ -27,6 +31,7 @@
2731 <name>DataStax Java Driver for Apache Cassandra</name>
2832 <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>
2933 <url>https://github.com/datastax/java-driver</url>
34+ <inceptionYear>2012</inceptionYear>
3035
3136 <modules>
3237 <module>driver-core</module>
@@ -47,10 +52,11 @@
4752 Check with the spark-cassandra-connector team before upgrading this.
4853 -->
4954 <guava.version>14.0.1</guava.version>
50- <netty.version>3.9.0.Final</netty.version>
55+ <netty.version>4.0.27.Final</netty.version>
5156 <metrics.version>3.0.2</metrics.version>
5257 <snappy.version>1.0.5</snappy.version>
5358 <lz4.version>1.2.0</lz4.version>
59+ <hdr.version>2.1.4</hdr.version>
5460 <!-- test dependency versions -->
5561 <testng.version>6.8.8</testng.version>
5662 <assertj.version>1.7.0</assertj.version>
@@ -60,6 +66,7 @@
6066 our build is still using JDK 6.
6167 -->
6268 <scassandra.version>0.4.1</scassandra.version>
69+ <main.basedir>${project.basedir}</main.basedir>
6370 </properties>
6471
6572 <dependencies>
@@ -161,6 +168,65 @@
161168 </excludes>
162169 </configuration>
163170 </plugin>
171+ <plugin>
172+ <groupId>org.codehaus.mojo</groupId>
173+ <artifactId>build-helper-maven-plugin</artifactId>
174+ <version>1.9.1</version>
175+ <executions>
176+ <execution>
177+ <id>timestamp-property</id>
178+ <phase>initialize</phase>
179+ <goals>
180+ <goal>timestamp-property</goal>
181+ </goals>
182+ <configuration>
183+ <name>currentYear</name>
184+ <pattern>yyyy</pattern>
185+ <locale>en_US</locale>
186+ </configuration>
187+ </execution>
188+ </executions>
189+ </plugin>
190+ <!--
191+ To update license headers run:
192+ mvn license:format -DcurrentYear=XXXX
193+ -->
194+ <plugin>
195+ <groupId>com.mycila</groupId>
196+ <artifactId>license-maven-plugin</artifactId>
197+ <version>2.8</version>
198+ <configuration>
199+ <header>${main.basedir}/src/license/header.txt</header>
200+ <includes>
201+ <include>src/**/*.java</include>
202+ <include>src/**/*.xml</include>
203+ <include>src/**/*.properties</include>
204+ <include>**/pom.xml</include>
205+ </includes>
206+ <excludes>
207+ <exclude>**/src/main/config/ide/**</exclude>
208+ </excludes>
209+ <mapping>
210+ <java>SLASHSTAR_STYLE</java>
211+ <properties>SCRIPT_STYLE</properties>
212+ </mapping>
213+ <strictCheck>true</strictCheck>
214+ </configuration>
215+ <executions>
216+ <execution>
217+ <id>check-license</id>
218+ <phase>initialize</phase>
219+ <goals>
220+ <goal>check</goal>
221+ </goals>
222+ <configuration>
223+ <properties>
224+ <currentYear>${currentYear}</currentYear>
225+ </properties>
226+ </configuration>
227+ </execution>
228+ </executions>
229+ </plugin>
164230 </plugins>
165231 </build>
166232
added src/license/header.txt +13 −0
@@ -0,0 +1,13 @@
1+ Copyright (C) ${project.inceptionYear}-${currentYear} DataStax Inc.
2+
3+ Licensed under the Apache License, Version 2.0 (the "License");
4+ you may not use this file except in compliance with the License.
5+ You may obtain a copy of the License at
6+
7+ http://www.apache.org/licenses/LICENSE-2.0
8+
9+ Unless required by applicable law or agreed to in writing, software
10+ distributed under the License is distributed on an "AS IS" BASIS,
11+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ See the License for the specific language governing permissions and
13+ limitations under the License.

Previous files