kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | dcebaac4fdde8576a3f25477d6e2d9c1495aebe6d84acb5888683fdd594453c1 |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2015-05-10 16:33 +02:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-05-11 15:02 +02:00 |
| Parents | b728b57e853c, 5b2ba50eec1f |
More than 300 files changed
modified pom.xml +76 −10
| @@ -1,15 +1,19 @@ | ||
| 1 | 1 | <!-- |
| 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 | |
| 5 | 2 | |
| 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. | |
| 7 | 16 | |
| 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. | |
| 13 | 17 | --> |
| 14 | 18 | <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"> |
| 15 | 19 | <modelVersion>4.0.0</modelVersion> |
| @@ -27,6 +31,7 @@ | ||
| 27 | 31 | <name>DataStax Java Driver for Apache Cassandra</name> |
| 28 | 32 | <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> |
| 29 | 33 | <url>https://github.com/datastax/java-driver</url> |
| 34 | + <inceptionYear>2012</inceptionYear> | |
| 30 | 35 | |
| 31 | 36 | <modules> |
| 32 | 37 | <module>driver-core</module> |
| @@ -47,10 +52,11 @@ | ||
| 47 | 52 | Check with the spark-cassandra-connector team before upgrading this. |
| 48 | 53 | --> |
| 49 | 54 | <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> | |
| 51 | 56 | <metrics.version>3.0.2</metrics.version> |
| 52 | 57 | <snappy.version>1.0.5</snappy.version> |
| 53 | 58 | <lz4.version>1.2.0</lz4.version> |
| 59 | + <hdr.version>2.1.4</hdr.version> | |
| 54 | 60 | <!-- test dependency versions --> |
| 55 | 61 | <testng.version>6.8.8</testng.version> |
| 56 | 62 | <assertj.version>1.7.0</assertj.version> |
| @@ -60,6 +66,7 @@ | ||
| 60 | 66 | our build is still using JDK 6. |
| 61 | 67 | --> |
| 62 | 68 | <scassandra.version>0.4.1</scassandra.version> |
| 69 | + <main.basedir>${project.basedir}</main.basedir> | |
| 63 | 70 | </properties> |
| 64 | 71 | |
| 65 | 72 | <dependencies> |
| @@ -161,6 +168,65 @@ | ||
| 161 | 168 | </excludes> |
| 162 | 169 | </configuration> |
| 163 | 170 | </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> | |
| 164 | 230 | </plugins> |
| 165 | 231 | </build> |
| 166 | 232 |
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. |