kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 6b53da5530f8ef7645b0bcce331dcae429e7ec3fb472f8882530134299808f9a |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2016-04-01 18:07 +02:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2016-04-01 18:07 +02:00 |
| Parents | 5e000945b1fe |
7 files changed
modified driver-core/pom.xml +337 −334
| @@ -15,342 +15,345 @@ | ||
| 15 | 15 | limitations under the License. |
| 16 | 16 | |
| 17 | 17 | --> |
| 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"> | |
| 19 | - <modelVersion>4.0.0</modelVersion> | |
| 20 | - <parent> | |
| 21 | - <groupId>com.datastax.cassandra</groupId> | |
| 22 | - <artifactId>cassandra-driver-parent</artifactId> | |
| 23 | - <version>2.1.11-SNAPSHOT</version> | |
| 24 | - </parent> | |
| 25 | - <artifactId>cassandra-driver-core</artifactId> | |
| 26 | - <packaging>bundle</packaging> | |
| 27 | - <name>DataStax Java Driver for Apache Cassandra - Core</name> | |
| 28 | - <description>A driver for Apache Cassandra 1.2+ that works exclusively with the Cassandra Query Language version 3 | |
| 29 | - (CQL3) and Cassandra's binary protocol. | |
| 30 | - </description> | |
| 31 | - <url>https://github.com/datastax/java-driver</url> | |
| 32 | - | |
| 33 | - <properties> | |
| 34 | - <main.basedir>${project.parent.basedir}</main.basedir> | |
| 35 | - </properties> | |
| 36 | - | |
| 37 | - <dependencies> | |
| 38 | - <dependency> | |
| 39 | - <groupId>io.netty</groupId> | |
| 40 | - <artifactId>netty-handler</artifactId> | |
| 41 | - <version>${netty.version}</version> | |
| 42 | - </dependency> | |
| 43 | - | |
| 44 | - <dependency> | |
| 45 | - <groupId>com.google.guava</groupId> | |
| 46 | - <artifactId>guava</artifactId> | |
| 47 | - <version>${guava.version}</version> | |
| 48 | - </dependency> | |
| 49 | - | |
| 50 | - <dependency> | |
| 51 | - <groupId>com.codahale.metrics</groupId> | |
| 52 | - <artifactId>metrics-core</artifactId> | |
| 53 | - <version>${metrics.version}</version> | |
| 54 | - </dependency> | |
| 55 | - | |
| 56 | - <dependency> | |
| 57 | - <groupId>com.github.jnr</groupId> | |
| 58 | - <artifactId>jnr-ffi</artifactId> | |
| 59 | - <version>${jnr-ffi.version}</version> | |
| 60 | - </dependency> | |
| 61 | - | |
| 62 | - <dependency> | |
| 63 | - <groupId>com.github.jnr</groupId> | |
| 64 | - <artifactId>jnr-posix</artifactId> | |
| 65 | - <version>${jnr-posix.version}</version> | |
| 66 | - </dependency> | |
| 67 | - | |
| 68 | - <!-- Compression libraries for the protocol. --> | |
| 69 | - <!-- Each of them is only a mandatory runtime dependency if you want to use the compression it offers --> | |
| 70 | - | |
| 71 | - <dependency> | |
| 72 | - <groupId>org.xerial.snappy</groupId> | |
| 73 | - <artifactId>snappy-java</artifactId> | |
| 74 | - <version>${snappy.version}</version> | |
| 75 | - <optional>true</optional> | |
| 76 | - </dependency> | |
| 77 | - | |
| 78 | - <dependency> | |
| 79 | - <groupId>net.jpountz.lz4</groupId> | |
| 80 | - <artifactId>lz4</artifactId> | |
| 81 | - <version>${lz4.version}</version> | |
| 82 | - <optional>true</optional> | |
| 83 | - </dependency> | |
| 84 | - | |
| 85 | - <!-- End of compression libraries --> | |
| 86 | - | |
| 87 | - <dependency> | |
| 88 | - <groupId>io.netty</groupId> | |
| 89 | - <artifactId>netty-transport-native-epoll</artifactId> | |
| 90 | - <version>${netty.version}</version> | |
| 91 | - <optional>true</optional> | |
| 92 | - </dependency> | |
| 93 | - | |
| 94 | - <dependency> | |
| 95 | - <groupId>org.hdrhistogram</groupId> | |
| 96 | - <artifactId>HdrHistogram</artifactId> | |
| 97 | - <version>${hdr.version}</version> | |
| 98 | - <optional>true</optional> | |
| 99 | - </dependency> | |
| 100 | - | |
| 101 | - <dependency> | |
| 102 | - <groupId>org.testng</groupId> | |
| 103 | - <artifactId>testng</artifactId> | |
| 104 | - <version>${testng.version}</version> | |
| 105 | - <scope>test</scope> | |
| 106 | - </dependency> | |
| 107 | - | |
| 108 | - <dependency> | |
| 109 | - <groupId>org.assertj</groupId> | |
| 110 | - <artifactId>assertj-core</artifactId> | |
| 111 | - <version>${assertj.version}</version> | |
| 112 | - <scope>test</scope> | |
| 113 | - </dependency> | |
| 114 | - | |
| 115 | - <dependency> | |
| 116 | - <groupId>org.mockito</groupId> | |
| 117 | - <artifactId>mockito-all</artifactId> | |
| 118 | - <version>${mockito.version}</version> | |
| 119 | - <scope>test</scope> | |
| 120 | - </dependency> | |
| 121 | - | |
| 122 | - <dependency> | |
| 123 | - <groupId>org.scassandra</groupId> | |
| 124 | - <artifactId>java-client</artifactId> | |
| 125 | - <version>${scassandra.version}</version> | |
| 126 | - <scope>test</scope> | |
| 127 | - <exclusions> | |
| 128 | - <exclusion> | |
| 129 | - <groupId>ch.qos.logback</groupId> | |
| 130 | - <artifactId>logback-classic</artifactId> | |
| 131 | - </exclusion> | |
| 132 | - </exclusions> | |
| 133 | - </dependency> | |
| 134 | - | |
| 135 | - <dependency> | |
| 136 | - <groupId>org.apache.commons</groupId> | |
| 137 | - <artifactId>commons-exec</artifactId> | |
| 138 | - <version>1.3</version> | |
| 139 | - <scope>test</scope> | |
| 140 | - </dependency> | |
| 141 | - | |
| 142 | - </dependencies> | |
| 143 | - | |
| 144 | - <build> | |
| 145 | - <resources> | |
| 146 | - <resource> | |
| 147 | - <directory>src/main/resources</directory> | |
| 148 | - <filtering>true</filtering> | |
| 149 | - </resource> | |
| 150 | - </resources> | |
| 151 | - <plugins> | |
| 152 | - <plugin> | |
| 153 | - <artifactId>maven-compiler-plugin</artifactId> | |
| 154 | - <configuration> | |
| 155 | - <compilerArgument>-Xlint:all</compilerArgument> | |
| 156 | - <showWarnings>true</showWarnings> | |
| 157 | - <showDeprecation>true</showDeprecation> | |
| 158 | - </configuration> | |
| 159 | - </plugin> | |
| 160 | - <plugin> | |
| 161 | - <groupId>org.apache.maven.plugins</groupId> | |
| 162 | - <artifactId>maven-jar-plugin</artifactId> | |
| 163 | - <version>2.2</version> | |
| 164 | - <executions> | |
| 165 | - <execution> | |
| 166 | - <goals> | |
| 167 | - <goal>test-jar</goal> | |
| 168 | - </goals> | |
| 169 | - <phase>test-compile</phase> | |
| 170 | - </execution> | |
| 171 | - </executions> | |
| 172 | - </plugin> | |
| 173 | - <plugin> | |
| 174 | - <groupId>org.apache.felix</groupId> | |
| 175 | - <artifactId>maven-bundle-plugin</artifactId> | |
| 176 | - <extensions>true</extensions> | |
| 177 | - <version>2.4.0</version> | |
| 178 | - <!-- | |
| 179 | - Default configuration, used by the `bundle` goal that is implicitly bound to the `package` phase | |
| 180 | - (because the project uses the `bundle` packaging) | |
| 181 | - --> | |
| 182 | - <configuration> | |
| 183 | - <instructions> | |
| 184 | - <Bundle-SymbolicName>com.datastax.driver.core</Bundle-SymbolicName> | |
| 185 | - <Bundle-Version>${project.version}</Bundle-Version> | |
| 186 | - <_include>-osgi.bnd</_include> | |
| 187 | - <Import-Package> | |
| 188 | - <!-- JNR does not provide OSGi bundles, so exclude it; the driver can live without it --> | |
| 189 | - <![CDATA[com.google.common*;version="[14.0,19)",!jnr.*,*]]></Import-Package> | |
| 190 | - </instructions> | |
| 191 | - <supportedProjectTypes> | |
| 192 | - <supportedProjectType>jar</supportedProjectType> | |
| 193 | - <supportedProjectType>bundle</supportedProjectType> | |
| 194 | - <supportedProjectType>pom</supportedProjectType> | |
| 195 | - </supportedProjectTypes> | |
| 196 | - </configuration> | |
| 197 | - <executions> | |
| 198 | - <!-- Alternate execution to generate the shaded JAR's manifest --> | |
| 199 | - <execution> | |
| 200 | - <id>bundle-manifest-shaded</id> | |
| 201 | - <phase>prepare-package</phase> | |
| 202 | - <goals> | |
| 203 | - <goal>manifest</goal> | |
| 204 | - </goals> | |
| 205 | - <configuration> | |
| 206 | - <manifestLocation>${project.build.directory}/META-INF-shaded</manifestLocation> | |
| 207 | - <instructions> | |
| 208 | - <Import-Package> | |
| 209 | - <!-- | |
| 210 | - JNR does not provide OSGi bundles, so exclude it; the driver can live without it | |
| 211 | - Explicitly import javax.security.cert because it's required by Netty, but Netty has been explicitly excluded | |
| 212 | - --> | |
| 213 | - <![CDATA[com.google.common.*;version="[14.0,19)",!jnr.*,!io.netty.*,javax.security.cert,*]]></Import-Package> | |
| 214 | - <Private-Package>com.datastax.shaded.*</Private-Package> | |
| 215 | - </instructions> | |
| 216 | - </configuration> | |
| 217 | - </execution> | |
| 218 | - </executions> | |
| 219 | - </plugin> | |
| 220 | - <plugin> | |
| 221 | - <artifactId>maven-shade-plugin</artifactId> | |
| 222 | - <version>2.3</version> | |
| 223 | - <executions> | |
| 224 | - <execution> | |
| 225 | - <phase>package</phase> | |
| 226 | - <goals> | |
| 227 | - <goal>shade</goal> | |
| 228 | - </goals> | |
| 229 | - <configuration> | |
| 230 | - <shadedArtifactAttached>true</shadedArtifactAttached> | |
| 231 | - <artifactSet> | |
| 232 | - <includes> | |
| 233 | - <include>io.netty:*</include> | |
| 234 | - </includes> | |
| 235 | - <excludes> | |
| 236 | - <exclude>io.netty:netty-transport-native-epoll</exclude> | |
| 237 | - </excludes> | |
| 238 | - </artifactSet> | |
| 239 | - <relocations> | |
| 240 | - <relocation> | |
| 241 | - <pattern>io.netty</pattern> | |
| 242 | - <shadedPattern>com.datastax.shaded.netty</shadedPattern> | |
| 243 | - </relocation> | |
| 244 | - </relocations> | |
| 245 | - <transformers> | |
| 246 | - <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer"> | |
| 247 | - <resources> | |
| 248 | - <resource>META-INF/MANIFEST.MF</resource> | |
| 249 | - <resource>META-INF/io.netty.versions.properties</resource> | |
| 250 | - <resource>META-INF/maven/io.netty/netty-buffer/pom.properties</resource> | |
| 251 | - <resource>META-INF/maven/io.netty/netty-buffer/pom.xml</resource> | |
| 252 | - <resource>META-INF/maven/io.netty/netty-codec/pom.properties</resource> | |
| 253 | - <resource>META-INF/maven/io.netty/netty-codec/pom.xml</resource> | |
| 254 | - <resource>META-INF/maven/io.netty/netty-common/pom.properties</resource> | |
| 255 | - <resource>META-INF/maven/io.netty/netty-common/pom.xml</resource> | |
| 256 | - <resource>META-INF/maven/io.netty/netty-handler/pom.properties</resource> | |
| 257 | - <resource>META-INF/maven/io.netty/netty-handler/pom.xml</resource> | |
| 258 | - <resource>META-INF/maven/io.netty/netty-transport/pom.properties</resource> | |
| 259 | - <resource>META-INF/maven/io.netty/netty-transport/pom.xml</resource> | |
| 260 | - </resources> | |
| 261 | - </transformer> | |
| 262 | - <!-- Pick up the alternate manifest that was generated by the alternate execution of the bundle plugin --> | |
| 263 | - <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> | |
| 264 | - <resource>META-INF/MANIFEST.MF</resource> | |
| 265 | - <file>${project.build.directory}/META-INF-shaded/MANIFEST.MF</file> | |
| 266 | - </transformer> | |
| 267 | - </transformers> | |
| 268 | - </configuration> | |
| 269 | - </execution> | |
| 270 | - </executions> | |
| 271 | - </plugin> | |
| 272 | - </plugins> | |
| 273 | - | |
| 274 | - <pluginManagement> | |
| 275 | - <plugins> | |
| 276 | - <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> | |
| 277 | - <plugin> | |
| 278 | - <groupId>org.eclipse.m2e</groupId> | |
| 279 | - <artifactId>lifecycle-mapping</artifactId> | |
| 280 | - <version>1.0.0</version> | |
| 281 | - <configuration> | |
| 282 | - <lifecycleMappingMetadata> | |
| 283 | - <pluginExecutions> | |
| 284 | - <pluginExecution> | |
| 285 | - <pluginExecutionFilter> | |
| 286 | - <groupId>org.apache.maven.plugins</groupId> | |
| 287 | - <artifactId>maven-jar-plugin</artifactId> | |
| 288 | - <versionRange>[2.2,)</versionRange> | |
| 289 | - <goals> | |
| 290 | - <goal>test-jar</goal> | |
| 291 | - </goals> | |
| 292 | - </pluginExecutionFilter> | |
| 293 | - <action> | |
| 294 | - <ignore /> | |
| 295 | - </action> | |
| 296 | - </pluginExecution> | |
| 297 | - </pluginExecutions> | |
| 298 | - </lifecycleMappingMetadata> | |
| 299 | - </configuration> | |
| 300 | - </plugin> | |
| 301 | - </plugins> | |
| 302 | - </pluginManagement> | |
| 303 | - </build> | |
| 304 | - | |
| 305 | - <profiles> | |
| 306 | - <profile> | |
| 307 | - <id>isolated</id> | |
| 308 | - <properties> | |
| 309 | - <env>default</env> | |
| 310 | - </properties> | |
| 311 | - <build> | |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| 20 | + <modelVersion>4.0.0</modelVersion> | |
| 21 | + <parent> | |
| 22 | + <groupId>com.datastax.cassandra</groupId> | |
| 23 | + <artifactId>cassandra-driver-parent</artifactId> | |
| 24 | + <version>2.1.11-SNAPSHOT</version> | |
| 25 | + </parent> | |
| 26 | + <artifactId>cassandra-driver-core</artifactId> | |
| 27 | + <packaging>bundle</packaging> | |
| 28 | + <name>DataStax Java Driver for Apache Cassandra - Core</name> | |
| 29 | + <description>A driver for Apache Cassandra 1.2+ that works exclusively with the Cassandra Query Language version 3 | |
| 30 | + (CQL3) and Cassandra's binary protocol. | |
| 31 | + </description> | |
| 32 | + <url>https://github.com/datastax/java-driver</url> | |
| 33 | + | |
| 34 | + <properties> | |
| 35 | + <main.basedir>${project.parent.basedir}</main.basedir> | |
| 36 | + </properties> | |
| 37 | + | |
| 38 | + <dependencies> | |
| 39 | + <dependency> | |
| 40 | + <groupId>io.netty</groupId> | |
| 41 | + <artifactId>netty-handler</artifactId> | |
| 42 | + <version>${netty.version}</version> | |
| 43 | + </dependency> | |
| 44 | + | |
| 45 | + <dependency> | |
| 46 | + <groupId>com.google.guava</groupId> | |
| 47 | + <artifactId>guava</artifactId> | |
| 48 | + <version>${guava.version}</version> | |
| 49 | + </dependency> | |
| 50 | + | |
| 51 | + <dependency> | |
| 52 | + <groupId>com.codahale.metrics</groupId> | |
| 53 | + <artifactId>metrics-core</artifactId> | |
| 54 | + <version>${metrics.version}</version> | |
| 55 | + </dependency> | |
| 56 | + | |
| 57 | + <dependency> | |
| 58 | + <groupId>com.github.jnr</groupId> | |
| 59 | + <artifactId>jnr-ffi</artifactId> | |
| 60 | + <version>${jnr-ffi.version}</version> | |
| 61 | + </dependency> | |
| 62 | + | |
| 63 | + <dependency> | |
| 64 | + <groupId>com.github.jnr</groupId> | |
| 65 | + <artifactId>jnr-posix</artifactId> | |
| 66 | + <version>${jnr-posix.version}</version> | |
| 67 | + </dependency> | |
| 68 | + | |
| 69 | + <!-- Compression libraries for the protocol. --> | |
| 70 | + <!-- Each of them is only a mandatory runtime dependency if you want to use the compression it offers --> | |
| 71 | + | |
| 72 | + <dependency> | |
| 73 | + <groupId>org.xerial.snappy</groupId> | |
| 74 | + <artifactId>snappy-java</artifactId> | |
| 75 | + <version>${snappy.version}</version> | |
| 76 | + <optional>true</optional> | |
| 77 | + </dependency> | |
| 78 | + | |
| 79 | + <dependency> | |
| 80 | + <groupId>net.jpountz.lz4</groupId> | |
| 81 | + <artifactId>lz4</artifactId> | |
| 82 | + <version>${lz4.version}</version> | |
| 83 | + <optional>true</optional> | |
| 84 | + </dependency> | |
| 85 | + | |
| 86 | + <!-- End of compression libraries --> | |
| 87 | + | |
| 88 | + <dependency> | |
| 89 | + <groupId>io.netty</groupId> | |
| 90 | + <artifactId>netty-transport-native-epoll</artifactId> | |
| 91 | + <version>${netty.version}</version> | |
| 92 | + <optional>true</optional> | |
| 93 | + </dependency> | |
| 94 | + | |
| 95 | + <dependency> | |
| 96 | + <groupId>org.hdrhistogram</groupId> | |
| 97 | + <artifactId>HdrHistogram</artifactId> | |
| 98 | + <version>${hdr.version}</version> | |
| 99 | + <optional>true</optional> | |
| 100 | + </dependency> | |
| 101 | + | |
| 102 | + <dependency> | |
| 103 | + <groupId>org.testng</groupId> | |
| 104 | + <artifactId>testng</artifactId> | |
| 105 | + <version>${testng.version}</version> | |
| 106 | + <scope>test</scope> | |
| 107 | + </dependency> | |
| 108 | + | |
| 109 | + <dependency> | |
| 110 | + <groupId>org.assertj</groupId> | |
| 111 | + <artifactId>assertj-core</artifactId> | |
| 112 | + <version>${assertj.version}</version> | |
| 113 | + <scope>test</scope> | |
| 114 | + </dependency> | |
| 115 | + | |
| 116 | + <dependency> | |
| 117 | + <groupId>org.mockito</groupId> | |
| 118 | + <artifactId>mockito-all</artifactId> | |
| 119 | + <version>${mockito.version}</version> | |
| 120 | + <scope>test</scope> | |
| 121 | + </dependency> | |
| 122 | + | |
| 123 | + <dependency> | |
| 124 | + <groupId>org.scassandra</groupId> | |
| 125 | + <artifactId>java-client</artifactId> | |
| 126 | + <version>${scassandra.version}</version> | |
| 127 | + <scope>test</scope> | |
| 128 | + <exclusions> | |
| 129 | + <exclusion> | |
| 130 | + <groupId>ch.qos.logback</groupId> | |
| 131 | + <artifactId>logback-classic</artifactId> | |
| 132 | + </exclusion> | |
| 133 | + </exclusions> | |
| 134 | + </dependency> | |
| 135 | + | |
| 136 | + <dependency> | |
| 137 | + <groupId>org.apache.commons</groupId> | |
| 138 | + <artifactId>commons-exec</artifactId> | |
| 139 | + <version>1.3</version> | |
| 140 | + <scope>test</scope> | |
| 141 | + </dependency> | |
| 142 | + | |
| 143 | + </dependencies> | |
| 144 | + | |
| 145 | + <build> | |
| 146 | + <resources> | |
| 147 | + <resource> | |
| 148 | + <directory>src/main/resources</directory> | |
| 149 | + <filtering>true</filtering> | |
| 150 | + </resource> | |
| 151 | + </resources> | |
| 312 | 152 | <plugins> |
| 313 | - <plugin> | |
| 314 | - <groupId>org.apache.maven.plugins</groupId> | |
| 315 | - <artifactId>maven-surefire-plugin</artifactId> | |
| 316 | - <version>2.16</version> | |
| 317 | - <configuration> | |
| 318 | - <skip>false</skip> | |
| 319 | - <includes> | |
| 320 | - <include>**/SSL*Test.java</include> | |
| 321 | - <include>**/UUIDsPID*.java</include> | |
| 322 | - <include>**/ControlConnectionTest.java</include> | |
| 323 | - <include>**/ExtendedPeerCheckDisabledTest.java</include> | |
| 324 | - </includes> | |
| 325 | - </configuration> | |
| 326 | - </plugin> | |
| 153 | + <plugin> | |
| 154 | + <artifactId>maven-compiler-plugin</artifactId> | |
| 155 | + <configuration> | |
| 156 | + <compilerArgument>-Xlint:all</compilerArgument> | |
| 157 | + <showWarnings>true</showWarnings> | |
| 158 | + <showDeprecation>true</showDeprecation> | |
| 159 | + </configuration> | |
| 160 | + </plugin> | |
| 161 | + <plugin> | |
| 162 | + <groupId>org.apache.maven.plugins</groupId> | |
| 163 | + <artifactId>maven-jar-plugin</artifactId> | |
| 164 | + <version>2.2</version> | |
| 165 | + <executions> | |
| 166 | + <execution> | |
| 167 | + <goals> | |
| 168 | + <goal>test-jar</goal> | |
| 169 | + </goals> | |
| 170 | + <phase>test-compile</phase> | |
| 171 | + </execution> | |
| 172 | + </executions> | |
| 173 | + </plugin> | |
| 174 | + <plugin> | |
| 175 | + <groupId>org.apache.felix</groupId> | |
| 176 | + <artifactId>maven-bundle-plugin</artifactId> | |
| 177 | + <extensions>true</extensions> | |
| 178 | + <version>2.4.0</version> | |
| 179 | + <!-- | |
| 180 | + Default configuration, used by the `bundle` goal that is implicitly bound to the `package` phase | |
| 181 | + (because the project uses the `bundle` packaging) | |
| 182 | + --> | |
| 183 | + <configuration> | |
| 184 | + <instructions> | |
| 185 | + <Bundle-SymbolicName>com.datastax.driver.core</Bundle-SymbolicName> | |
| 186 | + <Bundle-Version>${project.version}</Bundle-Version> | |
| 187 | + <_include>-osgi.bnd</_include> | |
| 188 | + <Import-Package> | |
| 189 | + <!-- JNR does not provide OSGi bundles, so exclude it; the driver can live without it --> | |
| 190 | + <![CDATA[com.google.common*;version="[14.0,19)",!jnr.*,*]]></Import-Package> | |
| 191 | + </instructions> | |
| 192 | + <supportedProjectTypes> | |
| 193 | + <supportedProjectType>jar</supportedProjectType> | |
| 194 | + <supportedProjectType>bundle</supportedProjectType> | |
| 195 | + <supportedProjectType>pom</supportedProjectType> | |
| 196 | + </supportedProjectTypes> | |
| 197 | + </configuration> | |
| 198 | + <executions> | |
| 199 | + <!-- Alternate execution to generate the shaded JAR's manifest --> | |
| 200 | + <execution> | |
| 201 | + <id>bundle-manifest-shaded</id> | |
| 202 | + <phase>prepare-package</phase> | |
| 203 | + <goals> | |
| 204 | + <goal>manifest</goal> | |
| 205 | + </goals> | |
| 206 | + <configuration> | |
| 207 | + <manifestLocation>${project.build.directory}/META-INF-shaded</manifestLocation> | |
| 208 | + <instructions> | |
| 209 | + <Import-Package> | |
| 210 | + <!-- | |
| 211 | + JNR does not provide OSGi bundles, so exclude it; the driver can live without it | |
| 212 | + Explicitly import javax.security.cert because it's required by Netty, but Netty has been explicitly excluded | |
| 213 | + --> | |
| 214 | + <![CDATA[com.google.common.*;version="[14.0,19)",!jnr.*,!io.netty.*,javax.security.cert,*]]></Import-Package> | |
| 215 | + <Private-Package>com.datastax.shaded.*</Private-Package> | |
| 216 | + </instructions> | |
| 217 | + </configuration> | |
| 218 | + </execution> | |
| 219 | + </executions> | |
| 220 | + </plugin> | |
| 221 | + <plugin> | |
| 222 | + <artifactId>maven-shade-plugin</artifactId> | |
| 223 | + <version>2.3</version> | |
| 224 | + <executions> | |
| 225 | + <execution> | |
| 226 | + <phase>package</phase> | |
| 227 | + <goals> | |
| 228 | + <goal>shade</goal> | |
| 229 | + </goals> | |
| 230 | + <configuration> | |
| 231 | + <shadedArtifactAttached>true</shadedArtifactAttached> | |
| 232 | + <artifactSet> | |
| 233 | + <includes> | |
| 234 | + <include>io.netty:*</include> | |
| 235 | + </includes> | |
| 236 | + <excludes> | |
| 237 | + <exclude>io.netty:netty-transport-native-epoll</exclude> | |
| 238 | + </excludes> | |
| 239 | + </artifactSet> | |
| 240 | + <relocations> | |
| 241 | + <relocation> | |
| 242 | + <pattern>io.netty</pattern> | |
| 243 | + <shadedPattern>com.datastax.shaded.netty</shadedPattern> | |
| 244 | + </relocation> | |
| 245 | + </relocations> | |
| 246 | + <transformers> | |
| 247 | + <transformer | |
| 248 | + implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer"> | |
| 249 | + <resources> | |
| 250 | + <resource>META-INF/MANIFEST.MF</resource> | |
| 251 | + <resource>META-INF/io.netty.versions.properties</resource> | |
| 252 | + <resource>META-INF/maven/io.netty/netty-buffer/pom.properties</resource> | |
| 253 | + <resource>META-INF/maven/io.netty/netty-buffer/pom.xml</resource> | |
| 254 | + <resource>META-INF/maven/io.netty/netty-codec/pom.properties</resource> | |
| 255 | + <resource>META-INF/maven/io.netty/netty-codec/pom.xml</resource> | |
| 256 | + <resource>META-INF/maven/io.netty/netty-common/pom.properties</resource> | |
| 257 | + <resource>META-INF/maven/io.netty/netty-common/pom.xml</resource> | |
| 258 | + <resource>META-INF/maven/io.netty/netty-handler/pom.properties</resource> | |
| 259 | + <resource>META-INF/maven/io.netty/netty-handler/pom.xml</resource> | |
| 260 | + <resource>META-INF/maven/io.netty/netty-transport/pom.properties</resource> | |
| 261 | + <resource>META-INF/maven/io.netty/netty-transport/pom.xml</resource> | |
| 262 | + </resources> | |
| 263 | + </transformer> | |
| 264 | + <!-- Pick up the alternate manifest that was generated by the alternate execution of the bundle plugin --> | |
| 265 | + <transformer | |
| 266 | + implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> | |
| 267 | + <resource>META-INF/MANIFEST.MF</resource> | |
| 268 | + <file>${project.build.directory}/META-INF-shaded/MANIFEST.MF</file> | |
| 269 | + </transformer> | |
| 270 | + </transformers> | |
| 271 | + </configuration> | |
| 272 | + </execution> | |
| 273 | + </executions> | |
| 274 | + </plugin> | |
| 327 | 275 | </plugins> |
| 328 | - </build> | |
| 329 | - </profile> | |
| 330 | - </profiles> | |
| 331 | - | |
| 332 | - <licenses> | |
| 333 | - <license> | |
| 334 | - <name>Apache 2</name> | |
| 335 | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 336 | - <distribution>repo</distribution> | |
| 337 | - <comments>Apache License Version 2.0</comments> | |
| 338 | - </license> | |
| 339 | - </licenses> | |
| 340 | - | |
| 341 | - <scm> | |
| 342 | - <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 343 | - <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 344 | - <url>https://github.com/datastax/java-driver</url> | |
| 345 | - <tag>HEAD</tag> | |
| 346 | - </scm> | |
| 347 | - | |
| 348 | - <developers> | |
| 349 | - <developer> | |
| 350 | - <name>Various</name> | |
| 351 | - <organization>DataStax</organization> | |
| 352 | - </developer> | |
| 353 | - </developers> | |
| 276 | + | |
| 277 | + <pluginManagement> | |
| 278 | + <plugins> | |
| 279 | + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> | |
| 280 | + <plugin> | |
| 281 | + <groupId>org.eclipse.m2e</groupId> | |
| 282 | + <artifactId>lifecycle-mapping</artifactId> | |
| 283 | + <version>1.0.0</version> | |
| 284 | + <configuration> | |
| 285 | + <lifecycleMappingMetadata> | |
| 286 | + <pluginExecutions> | |
| 287 | + <pluginExecution> | |
| 288 | + <pluginExecutionFilter> | |
| 289 | + <groupId>org.apache.maven.plugins</groupId> | |
| 290 | + <artifactId>maven-jar-plugin</artifactId> | |
| 291 | + <versionRange>[2.2,)</versionRange> | |
| 292 | + <goals> | |
| 293 | + <goal>test-jar</goal> | |
| 294 | + </goals> | |
| 295 | + </pluginExecutionFilter> | |
| 296 | + <action> | |
| 297 | + <ignore/> | |
| 298 | + </action> | |
| 299 | + </pluginExecution> | |
| 300 | + </pluginExecutions> | |
| 301 | + </lifecycleMappingMetadata> | |
| 302 | + </configuration> | |
| 303 | + </plugin> | |
| 304 | + </plugins> | |
| 305 | + </pluginManagement> | |
| 306 | + </build> | |
| 307 | + | |
| 308 | + <profiles> | |
| 309 | + <profile> | |
| 310 | + <id>isolated</id> | |
| 311 | + <properties> | |
| 312 | + <env>default</env> | |
| 313 | + </properties> | |
| 314 | + <build> | |
| 315 | + <plugins> | |
| 316 | + <plugin> | |
| 317 | + <groupId>org.apache.maven.plugins</groupId> | |
| 318 | + <artifactId>maven-surefire-plugin</artifactId> | |
| 319 | + <version>2.16</version> | |
| 320 | + <configuration> | |
| 321 | + <skip>false</skip> | |
| 322 | + <includes> | |
| 323 | + <include>**/SSL*Test.java</include> | |
| 324 | + <include>**/UUIDsPID*.java</include> | |
| 325 | + <include>**/ControlConnectionTest.java</include> | |
| 326 | + <include>**/ExtendedPeerCheckDisabledTest.java</include> | |
| 327 | + </includes> | |
| 328 | + </configuration> | |
| 329 | + </plugin> | |
| 330 | + </plugins> | |
| 331 | + </build> | |
| 332 | + </profile> | |
| 333 | + </profiles> | |
| 334 | + | |
| 335 | + <licenses> | |
| 336 | + <license> | |
| 337 | + <name>Apache 2</name> | |
| 338 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 339 | + <distribution>repo</distribution> | |
| 340 | + <comments>Apache License Version 2.0</comments> | |
| 341 | + </license> | |
| 342 | + </licenses> | |
| 343 | + | |
| 344 | + <scm> | |
| 345 | + <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 346 | + <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 347 | + <url>https://github.com/datastax/java-driver</url> | |
| 348 | + <tag>HEAD</tag> | |
| 349 | + </scm> | |
| 350 | + | |
| 351 | + <developers> | |
| 352 | + <developer> | |
| 353 | + <name>Various</name> | |
| 354 | + <organization>DataStax</organization> | |
| 355 | + </developer> | |
| 356 | + </developers> | |
| 354 | 357 | |
| 355 | 358 | </project> |
| 356 | 359 |
modified driver-dist/pom.xml +85 −84
| @@ -15,96 +15,97 @@ | ||
| 15 | 15 | limitations under the License. |
| 16 | 16 | |
| 17 | 17 | --> |
| 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"> | |
| 19 | - <modelVersion>4.0.0</modelVersion> | |
| 20 | - <parent> | |
| 21 | - <groupId>com.datastax.cassandra</groupId> | |
| 22 | - <artifactId>cassandra-driver-parent</artifactId> | |
| 23 | - <version>2.1.11-SNAPSHOT</version> | |
| 24 | - </parent> | |
| 25 | - <artifactId>cassandra-driver-dist</artifactId> | |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| 20 | + <modelVersion>4.0.0</modelVersion> | |
| 21 | + <parent> | |
| 22 | + <groupId>com.datastax.cassandra</groupId> | |
| 23 | + <artifactId>cassandra-driver-parent</artifactId> | |
| 24 | + <version>2.1.11-SNAPSHOT</version> | |
| 25 | + </parent> | |
| 26 | + <artifactId>cassandra-driver-dist</artifactId> | |
| 26 | 27 | |
| 27 | - <properties> | |
| 28 | - <main.basedir>${project.parent.basedir}</main.basedir> | |
| 29 | - </properties> | |
| 28 | + <properties> | |
| 29 | + <main.basedir>${project.parent.basedir}</main.basedir> | |
| 30 | + </properties> | |
| 30 | 31 | |
| 31 | - <!-- Should be pom but Javadoc generation requires a "classpath-capable" package --> | |
| 32 | - <packaging>jar</packaging> | |
| 32 | + <!-- Should be pom but Javadoc generation requires a "classpath-capable" package --> | |
| 33 | + <packaging>jar</packaging> | |
| 33 | 34 | |
| 34 | - <name>DataStax Java Driver for Apache Cassandra - Binary distribution</name> | |
| 35 | + <name>DataStax Java Driver for Apache Cassandra - Binary distribution</name> | |
| 35 | 36 | |
| 36 | - <!-- These dependencies are only here to ensure proper build order --> | |
| 37 | - <dependencies> | |
| 38 | - <dependency> | |
| 39 | - <groupId>com.datastax.cassandra</groupId> | |
| 40 | - <artifactId>cassandra-driver-core</artifactId> | |
| 41 | - <version>${project.parent.version}</version> | |
| 42 | - </dependency> | |
| 37 | + <!-- These dependencies are only here to ensure proper build order --> | |
| 38 | + <dependencies> | |
| 39 | + <dependency> | |
| 40 | + <groupId>com.datastax.cassandra</groupId> | |
| 41 | + <artifactId>cassandra-driver-core</artifactId> | |
| 42 | + <version>${project.parent.version}</version> | |
| 43 | + </dependency> | |
| 43 | 44 | |
| 44 | - <dependency> | |
| 45 | - <groupId>com.datastax.cassandra</groupId> | |
| 46 | - <artifactId>cassandra-driver-mapping</artifactId> | |
| 47 | - <version>${project.parent.version}</version> | |
| 48 | - </dependency> | |
| 49 | - </dependencies> | |
| 45 | + <dependency> | |
| 46 | + <groupId>com.datastax.cassandra</groupId> | |
| 47 | + <artifactId>cassandra-driver-mapping</artifactId> | |
| 48 | + <version>${project.parent.version}</version> | |
| 49 | + </dependency> | |
| 50 | + </dependencies> | |
| 50 | 51 | |
| 51 | - <build> | |
| 52 | - <finalName>cassandra-java-driver-${project.version}</finalName> | |
| 53 | - <plugins> | |
| 54 | - <plugin> | |
| 55 | - <artifactId>maven-javadoc-plugin</artifactId> | |
| 56 | - <version>2.9.1</version> | |
| 57 | - <executions> | |
| 58 | - <execution> | |
| 59 | - <id>dependencies-javadoc</id> | |
| 60 | - <phase>package</phase> | |
| 61 | - <goals> | |
| 62 | - <goal>jar</goal> | |
| 63 | - </goals> | |
| 64 | - <configuration> | |
| 65 | - <includeDependencySources>true</includeDependencySources> | |
| 66 | - <additionalparam>${javadoc.opts}</additionalparam> | |
| 67 | - </configuration> | |
| 68 | - </execution> | |
| 69 | - </executions> | |
| 70 | - </plugin> | |
| 71 | - <plugin> | |
| 72 | - <artifactId>maven-assembly-plugin</artifactId> | |
| 73 | - <version>2.4</version> | |
| 74 | - <executions> | |
| 75 | - <execution> | |
| 76 | - <id>assemble-binary-tarball</id> | |
| 77 | - <phase>package</phase> | |
| 78 | - <goals> | |
| 79 | - <goal>single</goal> | |
| 80 | - </goals> | |
| 81 | - </execution> | |
| 82 | - </executions> | |
| 83 | - <configuration> | |
| 84 | - <appendAssemblyId>false</appendAssemblyId> | |
| 85 | - <descriptors> | |
| 86 | - <descriptor>src/assembly/binary-tarball.xml</descriptor> | |
| 87 | - </descriptors> | |
| 88 | - </configuration> | |
| 89 | - </plugin> | |
| 90 | - <plugin> | |
| 91 | - <groupId>org.apache.maven.plugins</groupId> | |
| 92 | - <artifactId>maven-install-plugin</artifactId> | |
| 93 | - <version>2.5.1</version> | |
| 94 | - <configuration> | |
| 95 | - <skip>true</skip> | |
| 96 | - </configuration> | |
| 97 | - </plugin> | |
| 98 | - <plugin> | |
| 99 | - <groupId>org.apache.maven.plugins</groupId> | |
| 100 | - <artifactId>maven-deploy-plugin</artifactId> | |
| 101 | - <version>2.8.1</version> | |
| 102 | - <configuration> | |
| 103 | - <skip>true</skip> | |
| 104 | - </configuration> | |
| 105 | - </plugin> | |
| 106 | - </plugins> | |
| 107 | - </build> | |
| 52 | + <build> | |
| 53 | + <finalName>cassandra-java-driver-${project.version}</finalName> | |
| 54 | + <plugins> | |
| 55 | + <plugin> | |
| 56 | + <artifactId>maven-javadoc-plugin</artifactId> | |
| 57 | + <version>2.9.1</version> | |
| 58 | + <executions> | |
| 59 | + <execution> | |
| 60 | + <id>dependencies-javadoc</id> | |
| 61 | + <phase>package</phase> | |
| 62 | + <goals> | |
| 63 | + <goal>jar</goal> | |
| 64 | + </goals> | |
| 65 | + <configuration> | |
| 66 | + <includeDependencySources>true</includeDependencySources> | |
| 67 | + <additionalparam>${javadoc.opts}</additionalparam> | |
| 68 | + </configuration> | |
| 69 | + </execution> | |
| 70 | + </executions> | |
| 71 | + </plugin> | |
| 72 | + <plugin> | |
| 73 | + <artifactId>maven-assembly-plugin</artifactId> | |
| 74 | + <version>2.4</version> | |
| 75 | + <executions> | |
| 76 | + <execution> | |
| 77 | + <id>assemble-binary-tarball</id> | |
| 78 | + <phase>package</phase> | |
| 79 | + <goals> | |
| 80 | + <goal>single</goal> | |
| 81 | + </goals> | |
| 82 | + </execution> | |
| 83 | + </executions> | |
| 84 | + <configuration> | |
| 85 | + <appendAssemblyId>false</appendAssemblyId> | |
| 86 | + <descriptors> | |
| 87 | + <descriptor>src/assembly/binary-tarball.xml</descriptor> | |
| 88 | + </descriptors> | |
| 89 | + </configuration> | |
| 90 | + </plugin> | |
| 91 | + <plugin> | |
| 92 | + <groupId>org.apache.maven.plugins</groupId> | |
| 93 | + <artifactId>maven-install-plugin</artifactId> | |
| 94 | + <version>2.5.1</version> | |
| 95 | + <configuration> | |
| 96 | + <skip>true</skip> | |
| 97 | + </configuration> | |
| 98 | + </plugin> | |
| 99 | + <plugin> | |
| 100 | + <groupId>org.apache.maven.plugins</groupId> | |
| 101 | + <artifactId>maven-deploy-plugin</artifactId> | |
| 102 | + <version>2.8.1</version> | |
| 103 | + <configuration> | |
| 104 | + <skip>true</skip> | |
| 105 | + </configuration> | |
| 106 | + </plugin> | |
| 107 | + </plugins> | |
| 108 | + </build> | |
| 108 | 109 | |
| 109 | 110 | </project> |
| 110 | 111 |
modified driver-examples/osgi/pom.xml +228 −227
| @@ -15,234 +15,235 @@ | ||
| 15 | 15 | limitations under the License. |
| 16 | 16 | |
| 17 | 17 | --> |
| 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"> | |
| 19 | - <modelVersion>4.0.0</modelVersion> | |
| 20 | - <parent> | |
| 21 | - <groupId>com.datastax.cassandra</groupId> | |
| 22 | - <artifactId>cassandra-driver-examples-parent</artifactId> | |
| 23 | - <version>2.1.11-SNAPSHOT</version> | |
| 24 | - </parent> | |
| 25 | - <artifactId>cassandra-driver-examples-osgi</artifactId> | |
| 26 | - <packaging>bundle</packaging> | |
| 27 | - <name>DataStax Java Driver for Apache Cassandra Examples - OSGi</name> | |
| 28 | - <description>An example of using DataStax Java Driver in an OSGi container.</description> | |
| 29 | - <url>https://github.com/datastax/java-driver</url> | |
| 30 | - | |
| 31 | - <properties> | |
| 32 | - <felix.version>4.6.0</felix.version> | |
| 33 | - <pax-exam.version>3.6.0</pax-exam.version> | |
| 34 | - <main.basedir>${project.parent.parent.basedir}</main.basedir> | |
| 35 | - </properties> | |
| 36 | - | |
| 37 | - <dependencies> | |
| 38 | - <dependency> | |
| 39 | - <groupId>com.datastax.cassandra</groupId> | |
| 40 | - <artifactId>cassandra-driver-core</artifactId> | |
| 41 | - <version>${project.parent.version}</version> | |
| 42 | - </dependency> | |
| 43 | - | |
| 44 | - <dependency> | |
| 45 | - <groupId>org.apache.felix</groupId> | |
| 46 | - <artifactId>org.apache.felix.framework</artifactId> | |
| 47 | - <version>${felix.version}</version> | |
| 48 | - </dependency> | |
| 49 | - | |
| 50 | - <dependency> | |
| 51 | - <groupId>com.datastax.cassandra</groupId> | |
| 52 | - <artifactId>cassandra-driver-core</artifactId> | |
| 53 | - <version>${project.parent.version}</version> | |
| 54 | - <type>test-jar</type> | |
| 55 | - <scope>test</scope> | |
| 56 | - </dependency> | |
| 57 | - | |
| 58 | - <dependency> | |
| 59 | - <groupId>org.ops4j.pax.exam</groupId> | |
| 60 | - <artifactId>pax-exam</artifactId> | |
| 61 | - <version>${pax-exam.version}</version> | |
| 62 | - <scope>test</scope> | |
| 63 | - </dependency> | |
| 64 | - | |
| 65 | - <dependency> | |
| 66 | - <groupId>org.ops4j.pax.exam</groupId> | |
| 67 | - <artifactId>pax-exam-testng</artifactId> | |
| 68 | - <version>${pax-exam.version}</version> | |
| 69 | - <scope>test</scope> | |
| 70 | - </dependency> | |
| 71 | - | |
| 72 | - <dependency> | |
| 73 | - <groupId>org.ops4j.pax.exam</groupId> | |
| 74 | - <artifactId>pax-exam-container-native</artifactId> | |
| 75 | - <version>${pax-exam.version}</version> | |
| 76 | - <scope>test</scope> | |
| 77 | - </dependency> | |
| 78 | - | |
| 79 | - <dependency> | |
| 80 | - <groupId>org.ops4j.pax.exam</groupId> | |
| 81 | - <artifactId>pax-exam-link-mvn</artifactId> | |
| 82 | - <version>${pax-exam.version}</version> | |
| 83 | - <scope>test</scope> | |
| 84 | - </dependency> | |
| 85 | - | |
| 86 | - <dependency> | |
| 87 | - <groupId>javax.transaction</groupId> | |
| 88 | - <artifactId>jta</artifactId> | |
| 89 | - <version>1.1</version> | |
| 90 | - <scope>test</scope> | |
| 91 | - </dependency> | |
| 92 | - | |
| 93 | - <dependency> | |
| 94 | - <groupId>log4j</groupId> | |
| 95 | - <artifactId>log4j</artifactId> | |
| 96 | - <version>${log4j.version}</version> | |
| 97 | - <scope>test</scope> | |
| 98 | - </dependency> | |
| 99 | - | |
| 100 | - <dependency> | |
| 101 | - <groupId>org.slf4j</groupId> | |
| 102 | - <artifactId>slf4j-log4j12</artifactId> | |
| 103 | - <version>${slf4j-log4j12.version}</version> | |
| 104 | - <scope>test</scope> | |
| 105 | - </dependency> | |
| 106 | - | |
| 107 | - <dependency> | |
| 108 | - <groupId>com.jcabi</groupId> | |
| 109 | - <artifactId>jcabi-manifests</artifactId> | |
| 110 | - <version>1.1</version> | |
| 111 | - <scope>test</scope> | |
| 112 | - </dependency> | |
| 113 | - | |
| 114 | - <dependency> | |
| 115 | - <groupId>javax.servlet</groupId> | |
| 116 | - <artifactId>javax.servlet-api</artifactId> | |
| 117 | - <version>3.1.0</version> | |
| 118 | - <scope>test</scope> | |
| 119 | - </dependency> | |
| 120 | - | |
| 121 | - <dependency> | |
| 122 | - <groupId>javax.inject</groupId> | |
| 123 | - <artifactId>javax.inject</artifactId> | |
| 124 | - <version>1</version> | |
| 125 | - <scope>test</scope> | |
| 126 | - </dependency> | |
| 127 | - | |
| 128 | - <dependency> | |
| 129 | - <groupId>org.apache.commons</groupId> | |
| 130 | - <artifactId>commons-exec</artifactId> | |
| 131 | - <version>1.3</version> | |
| 132 | - <scope>test</scope> | |
| 133 | - </dependency> | |
| 134 | - </dependencies> | |
| 135 | - | |
| 136 | - <build> | |
| 137 | - <plugins> | |
| 138 | - <plugin> | |
| 139 | - <groupId>org.apache.maven.plugins</groupId> | |
| 140 | - <artifactId>maven-failsafe-plugin</artifactId> | |
| 141 | - <version>2.16</version> | |
| 142 | - <executions> | |
| 143 | - <execution> | |
| 144 | - <goals> | |
| 145 | - <goal>integration-test</goal> | |
| 146 | - <goal>verify</goal> | |
| 147 | - </goals> | |
| 148 | - </execution> | |
| 149 | - </executions> | |
| 150 | - </plugin> | |
| 151 | - <plugin> | |
| 152 | - <groupId>org.apache.felix</groupId> | |
| 153 | - <artifactId>maven-bundle-plugin</artifactId> | |
| 154 | - <extensions>true</extensions> | |
| 155 | - <version>2.4.0</version> | |
| 156 | - <configuration> | |
| 157 | - <instructions> | |
| 158 | - <Bundle-SymbolicName>com.datastax.driver.osgi</Bundle-SymbolicName> | |
| 159 | - <Bundle-Version>${project.version}</Bundle-Version> | |
| 160 | - <Export-Package>com.datastax.driver.osgi.api,!com.datastax.driver.osgi.impl</Export-Package> | |
| 161 | - <Bundle-Activator>com.datastax.driver.osgi.impl.Activator</Bundle-Activator> | |
| 162 | - <_include>-osgi.bnd</_include> | |
| 163 | - </instructions> | |
| 164 | - <supportedProjectTypes> | |
| 165 | - <supportedProjectType>jar</supportedProjectType> | |
| 166 | - <supportedProjectType>bundle</supportedProjectType> | |
| 167 | - <supportedProjectType>pom</supportedProjectType> | |
| 168 | - </supportedProjectTypes> | |
| 169 | - </configuration> | |
| 170 | - <executions> | |
| 171 | - <execution> | |
| 172 | - <id>bundle-manifest</id> | |
| 173 | - <phase>compile</phase> | |
| 174 | - <goals> | |
| 175 | - <goal>manifest</goal> | |
| 176 | - </goals> | |
| 177 | - </execution> | |
| 178 | - </executions> | |
| 179 | - </plugin> | |
| 180 | - </plugins> | |
| 181 | - </build> | |
| 182 | - | |
| 183 | - <profiles> | |
| 184 | - <profile> | |
| 185 | - <!-- Skip test by default, short or long is required to run unit tests since pax-exam will throw exception if it encounters a | |
| 186 | - test with no matching methods. --> | |
| 187 | - <id>default</id> | |
| 188 | - <properties> | |
| 189 | - <env>default</env> | |
| 190 | - </properties> | |
| 191 | - <activation> | |
| 192 | - <activeByDefault>true</activeByDefault> | |
| 193 | - </activation> | |
| 194 | - <build> | |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| 20 | + <modelVersion>4.0.0</modelVersion> | |
| 21 | + <parent> | |
| 22 | + <groupId>com.datastax.cassandra</groupId> | |
| 23 | + <artifactId>cassandra-driver-examples-parent</artifactId> | |
| 24 | + <version>2.1.11-SNAPSHOT</version> | |
| 25 | + </parent> | |
| 26 | + <artifactId>cassandra-driver-examples-osgi</artifactId> | |
| 27 | + <packaging>bundle</packaging> | |
| 28 | + <name>DataStax Java Driver for Apache Cassandra Examples - OSGi</name> | |
| 29 | + <description>An example of using DataStax Java Driver in an OSGi container.</description> | |
| 30 | + <url>https://github.com/datastax/java-driver</url> | |
| 31 | + | |
| 32 | + <properties> | |
| 33 | + <felix.version>4.6.0</felix.version> | |
| 34 | + <pax-exam.version>3.6.0</pax-exam.version> | |
| 35 | + <main.basedir>${project.parent.parent.basedir}</main.basedir> | |
| 36 | + </properties> | |
| 37 | + | |
| 38 | + <dependencies> | |
| 39 | + <dependency> | |
| 40 | + <groupId>com.datastax.cassandra</groupId> | |
| 41 | + <artifactId>cassandra-driver-core</artifactId> | |
| 42 | + <version>${project.parent.version}</version> | |
| 43 | + </dependency> | |
| 44 | + | |
| 45 | + <dependency> | |
| 46 | + <groupId>org.apache.felix</groupId> | |
| 47 | + <artifactId>org.apache.felix.framework</artifactId> | |
| 48 | + <version>${felix.version}</version> | |
| 49 | + </dependency> | |
| 50 | + | |
| 51 | + <dependency> | |
| 52 | + <groupId>com.datastax.cassandra</groupId> | |
| 53 | + <artifactId>cassandra-driver-core</artifactId> | |
| 54 | + <version>${project.parent.version}</version> | |
| 55 | + <type>test-jar</type> | |
| 56 | + <scope>test</scope> | |
| 57 | + </dependency> | |
| 58 | + | |
| 59 | + <dependency> | |
| 60 | + <groupId>org.ops4j.pax.exam</groupId> | |
| 61 | + <artifactId>pax-exam</artifactId> | |
| 62 | + <version>${pax-exam.version}</version> | |
| 63 | + <scope>test</scope> | |
| 64 | + </dependency> | |
| 65 | + | |
| 66 | + <dependency> | |
| 67 | + <groupId>org.ops4j.pax.exam</groupId> | |
| 68 | + <artifactId>pax-exam-testng</artifactId> | |
| 69 | + <version>${pax-exam.version}</version> | |
| 70 | + <scope>test</scope> | |
| 71 | + </dependency> | |
| 72 | + | |
| 73 | + <dependency> | |
| 74 | + <groupId>org.ops4j.pax.exam</groupId> | |
| 75 | + <artifactId>pax-exam-container-native</artifactId> | |
| 76 | + <version>${pax-exam.version}</version> | |
| 77 | + <scope>test</scope> | |
| 78 | + </dependency> | |
| 79 | + | |
| 80 | + <dependency> | |
| 81 | + <groupId>org.ops4j.pax.exam</groupId> | |
| 82 | + <artifactId>pax-exam-link-mvn</artifactId> | |
| 83 | + <version>${pax-exam.version}</version> | |
| 84 | + <scope>test</scope> | |
| 85 | + </dependency> | |
| 86 | + | |
| 87 | + <dependency> | |
| 88 | + <groupId>javax.transaction</groupId> | |
| 89 | + <artifactId>jta</artifactId> | |
| 90 | + <version>1.1</version> | |
| 91 | + <scope>test</scope> | |
| 92 | + </dependency> | |
| 93 | + | |
| 94 | + <dependency> | |
| 95 | + <groupId>log4j</groupId> | |
| 96 | + <artifactId>log4j</artifactId> | |
| 97 | + <version>${log4j.version}</version> | |
| 98 | + <scope>test</scope> | |
| 99 | + </dependency> | |
| 100 | + | |
| 101 | + <dependency> | |
| 102 | + <groupId>org.slf4j</groupId> | |
| 103 | + <artifactId>slf4j-log4j12</artifactId> | |
| 104 | + <version>${slf4j-log4j12.version}</version> | |
| 105 | + <scope>test</scope> | |
| 106 | + </dependency> | |
| 107 | + | |
| 108 | + <dependency> | |
| 109 | + <groupId>com.jcabi</groupId> | |
| 110 | + <artifactId>jcabi-manifests</artifactId> | |
| 111 | + <version>1.1</version> | |
| 112 | + <scope>test</scope> | |
| 113 | + </dependency> | |
| 114 | + | |
| 115 | + <dependency> | |
| 116 | + <groupId>javax.servlet</groupId> | |
| 117 | + <artifactId>javax.servlet-api</artifactId> | |
| 118 | + <version>3.1.0</version> | |
| 119 | + <scope>test</scope> | |
| 120 | + </dependency> | |
| 121 | + | |
| 122 | + <dependency> | |
| 123 | + <groupId>javax.inject</groupId> | |
| 124 | + <artifactId>javax.inject</artifactId> | |
| 125 | + <version>1</version> | |
| 126 | + <scope>test</scope> | |
| 127 | + </dependency> | |
| 128 | + | |
| 129 | + <dependency> | |
| 130 | + <groupId>org.apache.commons</groupId> | |
| 131 | + <artifactId>commons-exec</artifactId> | |
| 132 | + <version>1.3</version> | |
| 133 | + <scope>test</scope> | |
| 134 | + </dependency> | |
| 135 | + </dependencies> | |
| 136 | + | |
| 137 | + <build> | |
| 195 | 138 | <plugins> |
| 196 | - <plugin> | |
| 197 | - <groupId>org.apache.maven.plugins</groupId> | |
| 198 | - <artifactId>maven-surefire-plugin</artifactId> | |
| 199 | - <version>2.16</version> | |
| 200 | - <configuration> | |
| 201 | - <skip>true</skip> | |
| 202 | - </configuration> | |
| 203 | - </plugin> | |
| 204 | - <plugin> | |
| 205 | - <groupId>org.apache.maven.plugins</groupId> | |
| 206 | - <artifactId>maven-failsafe-plugin</artifactId> | |
| 207 | - <version>2.16</version> | |
| 208 | - <configuration> | |
| 209 | - <skip>true</skip> | |
| 210 | - </configuration> | |
| 211 | - </plugin> | |
| 212 | - <plugin> | |
| 213 | - <artifactId>maven-compiler-plugin</artifactId> | |
| 214 | - <configuration> | |
| 215 | - <compilerArgument>-Xlint:all</compilerArgument> | |
| 216 | - <showWarnings>true</showWarnings> | |
| 217 | - <showDeprecation>true</showDeprecation> | |
| 218 | - </configuration> | |
| 219 | - </plugin> | |
| 139 | + <plugin> | |
| 140 | + <groupId>org.apache.maven.plugins</groupId> | |
| 141 | + <artifactId>maven-failsafe-plugin</artifactId> | |
| 142 | + <version>2.16</version> | |
| 143 | + <executions> | |
| 144 | + <execution> | |
| 145 | + <goals> | |
| 146 | + <goal>integration-test</goal> | |
| 147 | + <goal>verify</goal> | |
| 148 | + </goals> | |
| 149 | + </execution> | |
| 150 | + </executions> | |
| 151 | + </plugin> | |
| 152 | + <plugin> | |
| 153 | + <groupId>org.apache.felix</groupId> | |
| 154 | + <artifactId>maven-bundle-plugin</artifactId> | |
| 155 | + <extensions>true</extensions> | |
| 156 | + <version>2.4.0</version> | |
| 157 | + <configuration> | |
| 158 | + <instructions> | |
| 159 | + <Bundle-SymbolicName>com.datastax.driver.osgi</Bundle-SymbolicName> | |
| 160 | + <Bundle-Version>${project.version}</Bundle-Version> | |
| 161 | + <Export-Package>com.datastax.driver.osgi.api,!com.datastax.driver.osgi.impl</Export-Package> | |
| 162 | + <Bundle-Activator>com.datastax.driver.osgi.impl.Activator</Bundle-Activator> | |
| 163 | + <_include>-osgi.bnd</_include> | |
| 164 | + </instructions> | |
| 165 | + <supportedProjectTypes> | |
| 166 | + <supportedProjectType>jar</supportedProjectType> | |
| 167 | + <supportedProjectType>bundle</supportedProjectType> | |
| 168 | + <supportedProjectType>pom</supportedProjectType> | |
| 169 | + </supportedProjectTypes> | |
| 170 | + </configuration> | |
| 171 | + <executions> | |
| 172 | + <execution> | |
| 173 | + <id>bundle-manifest</id> | |
| 174 | + <phase>compile</phase> | |
| 175 | + <goals> | |
| 176 | + <goal>manifest</goal> | |
| 177 | + </goals> | |
| 178 | + </execution> | |
| 179 | + </executions> | |
| 180 | + </plugin> | |
| 220 | 181 | </plugins> |
| 221 | - </build> | |
| 222 | - </profile> | |
| 223 | - </profiles> | |
| 224 | - | |
| 225 | - <licenses> | |
| 226 | - <license> | |
| 227 | - <name>Apache 2</name> | |
| 228 | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 229 | - <distribution>repo</distribution> | |
| 230 | - <comments>Apache License Version 2.0</comments> | |
| 231 | - </license> | |
| 232 | - </licenses> | |
| 233 | - | |
| 234 | - <scm> | |
| 235 | - <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 236 | - <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 237 | - <url>https://github.com/datastax/java-driver</url> | |
| 238 | - <tag>HEAD</tag> | |
| 239 | - </scm> | |
| 240 | - | |
| 241 | - <developers> | |
| 242 | - <developer> | |
| 243 | - <name>Various</name> | |
| 244 | - <organization>DataStax</organization> | |
| 245 | - </developer> | |
| 246 | - </developers> | |
| 182 | + </build> | |
| 183 | + | |
| 184 | + <profiles> | |
| 185 | + <profile> | |
| 186 | + <!-- Skip test by default, short or long is required to run unit tests since pax-exam will throw exception if it encounters a | |
| 187 | + test with no matching methods. --> | |
| 188 | + <id>default</id> | |
| 189 | + <properties> | |
| 190 | + <env>default</env> | |
| 191 | + </properties> | |
| 192 | + <activation> | |
| 193 | + <activeByDefault>true</activeByDefault> | |
| 194 | + </activation> | |
| 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 | + <skip>true</skip> | |
| 203 | + </configuration> | |
| 204 | + </plugin> | |
| 205 | + <plugin> | |
| 206 | + <groupId>org.apache.maven.plugins</groupId> | |
| 207 | + <artifactId>maven-failsafe-plugin</artifactId> | |
| 208 | + <version>2.16</version> | |
| 209 | + <configuration> | |
| 210 | + <skip>true</skip> | |
| 211 | + </configuration> | |
| 212 | + </plugin> | |
| 213 | + <plugin> | |
| 214 | + <artifactId>maven-compiler-plugin</artifactId> | |
| 215 | + <configuration> | |
| 216 | + <compilerArgument>-Xlint:all</compilerArgument> | |
| 217 | + <showWarnings>true</showWarnings> | |
| 218 | + <showDeprecation>true</showDeprecation> | |
| 219 | + </configuration> | |
| 220 | + </plugin> | |
| 221 | + </plugins> | |
| 222 | + </build> | |
| 223 | + </profile> | |
| 224 | + </profiles> | |
| 225 | + | |
| 226 | + <licenses> | |
| 227 | + <license> | |
| 228 | + <name>Apache 2</name> | |
| 229 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 230 | + <distribution>repo</distribution> | |
| 231 | + <comments>Apache License Version 2.0</comments> | |
| 232 | + </license> | |
| 233 | + </licenses> | |
| 234 | + | |
| 235 | + <scm> | |
| 236 | + <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 237 | + <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 238 | + <url>https://github.com/datastax/java-driver</url> | |
| 239 | + <tag>HEAD</tag> | |
| 240 | + </scm> | |
| 241 | + | |
| 242 | + <developers> | |
| 243 | + <developer> | |
| 244 | + <name>Various</name> | |
| 245 | + <organization>DataStax</organization> | |
| 246 | + </developer> | |
| 247 | + </developers> | |
| 247 | 248 | </project> |
| 248 | 249 |
modified driver-examples/pom.xml +63 −62
| @@ -15,69 +15,70 @@ | ||
| 15 | 15 | limitations under the License. |
| 16 | 16 | |
| 17 | 17 | --> |
| 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"> | |
| 19 | - <modelVersion>4.0.0</modelVersion> | |
| 20 | - <parent> | |
| 21 | - <groupId>com.datastax.cassandra</groupId> | |
| 22 | - <artifactId>cassandra-driver-parent</artifactId> | |
| 23 | - <version>2.1.11-SNAPSHOT</version> | |
| 24 | - </parent> | |
| 25 | - <artifactId>cassandra-driver-examples-parent</artifactId> | |
| 26 | - <packaging>pom</packaging> | |
| 27 | - <name>DataStax Java Driver for Apache Cassandra Examples</name> | |
| 28 | - <description>A collection of examples to demonstrate DataStax Java Driver for Apache Cassandra.</description> | |
| 29 | - <url>https://github.com/datastax/java-driver</url> | |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| 20 | + <modelVersion>4.0.0</modelVersion> | |
| 21 | + <parent> | |
| 22 | + <groupId>com.datastax.cassandra</groupId> | |
| 23 | + <artifactId>cassandra-driver-parent</artifactId> | |
| 24 | + <version>2.1.11-SNAPSHOT</version> | |
| 25 | + </parent> | |
| 26 | + <artifactId>cassandra-driver-examples-parent</artifactId> | |
| 27 | + <packaging>pom</packaging> | |
| 28 | + <name>DataStax Java Driver for Apache Cassandra Examples</name> | |
| 29 | + <description>A collection of examples to demonstrate DataStax Java Driver for Apache Cassandra.</description> | |
| 30 | + <url>https://github.com/datastax/java-driver</url> | |
| 30 | 31 | |
| 31 | - <properties> | |
| 32 | - <main.basedir>${project.parent.basedir}</main.basedir> | |
| 33 | - </properties> | |
| 32 | + <properties> | |
| 33 | + <main.basedir>${project.parent.basedir}</main.basedir> | |
| 34 | + </properties> | |
| 34 | 35 | |
| 35 | - <modules> | |
| 36 | - <module>stress</module> | |
| 37 | - <module>osgi</module> | |
| 38 | - </modules> | |
| 39 | - | |
| 40 | - <licenses> | |
| 41 | - <license> | |
| 42 | - <name>Apache 2</name> | |
| 43 | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 44 | - <distribution>repo</distribution> | |
| 45 | - <comments>Apache License Version 2.0</comments> | |
| 46 | - </license> | |
| 47 | - </licenses> | |
| 48 | - | |
| 49 | - <scm> | |
| 50 | - <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 51 | - <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 52 | - <url>https://github.com/datastax/java-driver</url> | |
| 53 | - <tag>HEAD</tag> | |
| 54 | - </scm> | |
| 55 | - | |
| 56 | - <developers> | |
| 57 | - <developer> | |
| 58 | - <name>Various</name> | |
| 59 | - <organization>DataStax</organization> | |
| 60 | - </developer> | |
| 61 | - </developers> | |
| 36 | + <modules> | |
| 37 | + <module>stress</module> | |
| 38 | + <module>osgi</module> | |
| 39 | + </modules> | |
| 40 | + | |
| 41 | + <licenses> | |
| 42 | + <license> | |
| 43 | + <name>Apache 2</name> | |
| 44 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 45 | + <distribution>repo</distribution> | |
| 46 | + <comments>Apache License Version 2.0</comments> | |
| 47 | + </license> | |
| 48 | + </licenses> | |
| 49 | + | |
| 50 | + <scm> | |
| 51 | + <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 52 | + <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 53 | + <url>https://github.com/datastax/java-driver</url> | |
| 54 | + <tag>HEAD</tag> | |
| 55 | + </scm> | |
| 56 | + | |
| 57 | + <developers> | |
| 58 | + <developer> | |
| 59 | + <name>Various</name> | |
| 60 | + <organization>DataStax</organization> | |
| 61 | + </developer> | |
| 62 | + </developers> | |
| 62 | 63 | |
| 63 | - <build> | |
| 64 | - <plugins> | |
| 65 | - <plugin> | |
| 66 | - <groupId>org.apache.maven.plugins</groupId> | |
| 67 | - <artifactId>maven-install-plugin</artifactId> | |
| 68 | - <version>2.5.1</version> | |
| 69 | - <configuration> | |
| 70 | - <skip>true</skip> | |
| 71 | - </configuration> | |
| 72 | - </plugin> | |
| 73 | - <plugin> | |
| 74 | - <groupId>org.apache.maven.plugins</groupId> | |
| 75 | - <artifactId>maven-deploy-plugin</artifactId> | |
| 76 | - <version>2.8.1</version> | |
| 77 | - <configuration> | |
| 78 | - <skip>true</skip> | |
| 79 | - </configuration> | |
| 80 | - </plugin> | |
| 81 | - </plugins> | |
| 82 | - </build> | |
| 64 | + <build> | |
| 65 | + <plugins> | |
| 66 | + <plugin> | |
| 67 | + <groupId>org.apache.maven.plugins</groupId> | |
| 68 | + <artifactId>maven-install-plugin</artifactId> | |
| 69 | + <version>2.5.1</version> | |
| 70 | + <configuration> | |
| 71 | + <skip>true</skip> | |
| 72 | + </configuration> | |
| 73 | + </plugin> | |
| 74 | + <plugin> | |
| 75 | + <groupId>org.apache.maven.plugins</groupId> | |
| 76 | + <artifactId>maven-deploy-plugin</artifactId> | |
| 77 | + <version>2.8.1</version> | |
| 78 | + <configuration> | |
| 79 | + <skip>true</skip> | |
| 80 | + </configuration> | |
| 81 | + </plugin> | |
| 82 | + </plugins> | |
| 83 | + </build> | |
| 83 | 84 | </project> |
modified driver-examples/stress/pom.xml +90 −89
| @@ -15,95 +15,96 @@ | ||
| 15 | 15 | limitations under the License. |
| 16 | 16 | |
| 17 | 17 | --> |
| 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"> | |
| 19 | - <modelVersion>4.0.0</modelVersion> | |
| 20 | - <parent> | |
| 21 | - <groupId>com.datastax.cassandra</groupId> | |
| 22 | - <artifactId>cassandra-driver-examples-parent</artifactId> | |
| 23 | - <version>2.1.11-SNAPSHOT</version> | |
| 24 | - </parent> | |
| 25 | - <artifactId>cassandra-driver-examples-stress</artifactId> | |
| 26 | - <packaging>jar</packaging> | |
| 27 | - <name>DataStax Java Driver for Apache Cassandra Examples - Stress</name> | |
| 28 | - <description>A stress test example for DataStax Java Driver for Apache Cassandra.</description> | |
| 29 | - <url>https://github.com/datastax/java-driver</url> | |
| 30 | - | |
| 31 | - <properties> | |
| 32 | - <main.basedir>${project.parent.parent.basedir}</main.basedir> | |
| 33 | - </properties> | |
| 34 | - | |
| 35 | - <dependencies> | |
| 36 | - <dependency> | |
| 37 | - <groupId>com.datastax.cassandra</groupId> | |
| 38 | - <artifactId>cassandra-driver-core</artifactId> | |
| 39 | - <version>2.1.11-SNAPSHOT</version> | |
| 40 | - </dependency> | |
| 41 | - | |
| 42 | - <dependency> | |
| 43 | - <groupId>com.yammer.metrics</groupId> | |
| 44 | - <artifactId>metrics-core</artifactId> | |
| 45 | - <version>2.2.0</version> | |
| 46 | - </dependency> | |
| 47 | - | |
| 48 | - <dependency> | |
| 49 | - <groupId>net.sf.jopt-simple</groupId> | |
| 50 | - <artifactId>jopt-simple</artifactId> | |
| 51 | - <version>4.5</version> | |
| 52 | - </dependency> | |
| 53 | - | |
| 54 | - <dependency> | |
| 55 | - <groupId>log4j</groupId> | |
| 56 | - <artifactId>log4j</artifactId> | |
| 57 | - <version>1.2.17</version> | |
| 58 | - </dependency> | |
| 59 | - | |
| 60 | - <dependency> | |
| 61 | - <groupId>org.slf4j</groupId> | |
| 62 | - <artifactId>slf4j-log4j12</artifactId> | |
| 63 | - <version>1.7.5</version> | |
| 64 | - </dependency> | |
| 65 | - </dependencies> | |
| 66 | - | |
| 67 | - <build> | |
| 68 | - <plugins> | |
| 69 | - <plugin> | |
| 70 | - <artifactId>maven-assembly-plugin</artifactId> | |
| 71 | - <version>2.4</version> | |
| 72 | - <configuration> | |
| 73 | - <archive> | |
| 74 | - <manifest> | |
| 75 | - <mainClass>com.datastax.driver.stress.Stress</mainClass> | |
| 76 | - </manifest> | |
| 77 | - </archive> | |
| 78 | - <descriptorRefs> | |
| 79 | - <descriptorRef>jar-with-dependencies</descriptorRef> | |
| 80 | - </descriptorRefs> | |
| 81 | - </configuration> | |
| 82 | - </plugin> | |
| 83 | - </plugins> | |
| 84 | - </build> | |
| 85 | - | |
| 86 | - <licenses> | |
| 87 | - <license> | |
| 88 | - <name>Apache 2</name> | |
| 89 | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 90 | - <distribution>repo</distribution> | |
| 91 | - <comments>Apache License Version 2.0</comments> | |
| 92 | - </license> | |
| 93 | - </licenses> | |
| 94 | - | |
| 95 | - <scm> | |
| 96 | - <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 97 | - <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| 20 | + <modelVersion>4.0.0</modelVersion> | |
| 21 | + <parent> | |
| 22 | + <groupId>com.datastax.cassandra</groupId> | |
| 23 | + <artifactId>cassandra-driver-examples-parent</artifactId> | |
| 24 | + <version>2.1.11-SNAPSHOT</version> | |
| 25 | + </parent> | |
| 26 | + <artifactId>cassandra-driver-examples-stress</artifactId> | |
| 27 | + <packaging>jar</packaging> | |
| 28 | + <name>DataStax Java Driver for Apache Cassandra Examples - Stress</name> | |
| 29 | + <description>A stress test example for DataStax Java Driver for Apache Cassandra.</description> | |
| 98 | 30 | <url>https://github.com/datastax/java-driver</url> |
| 99 | - <tag>HEAD</tag> | |
| 100 | - </scm> | |
| 101 | - | |
| 102 | - <developers> | |
| 103 | - <developer> | |
| 104 | - <name>Various</name> | |
| 105 | - <organization>DataStax</organization> | |
| 106 | - </developer> | |
| 107 | - </developers> | |
| 31 | + | |
| 32 | + <properties> | |
| 33 | + <main.basedir>${project.parent.parent.basedir}</main.basedir> | |
| 34 | + </properties> | |
| 35 | + | |
| 36 | + <dependencies> | |
| 37 | + <dependency> | |
| 38 | + <groupId>com.datastax.cassandra</groupId> | |
| 39 | + <artifactId>cassandra-driver-core</artifactId> | |
| 40 | + <version>2.1.11-SNAPSHOT</version> | |
| 41 | + </dependency> | |
| 42 | + | |
| 43 | + <dependency> | |
| 44 | + <groupId>com.yammer.metrics</groupId> | |
| 45 | + <artifactId>metrics-core</artifactId> | |
| 46 | + <version>2.2.0</version> | |
| 47 | + </dependency> | |
| 48 | + | |
| 49 | + <dependency> | |
| 50 | + <groupId>net.sf.jopt-simple</groupId> | |
| 51 | + <artifactId>jopt-simple</artifactId> | |
| 52 | + <version>4.5</version> | |
| 53 | + </dependency> | |
| 54 | + | |
| 55 | + <dependency> | |
| 56 | + <groupId>log4j</groupId> | |
| 57 | + <artifactId>log4j</artifactId> | |
| 58 | + <version>1.2.17</version> | |
| 59 | + </dependency> | |
| 60 | + | |
| 61 | + <dependency> | |
| 62 | + <groupId>org.slf4j</groupId> | |
| 63 | + <artifactId>slf4j-log4j12</artifactId> | |
| 64 | + <version>1.7.5</version> | |
| 65 | + </dependency> | |
| 66 | + </dependencies> | |
| 67 | + | |
| 68 | + <build> | |
| 69 | + <plugins> | |
| 70 | + <plugin> | |
| 71 | + <artifactId>maven-assembly-plugin</artifactId> | |
| 72 | + <version>2.4</version> | |
| 73 | + <configuration> | |
| 74 | + <archive> | |
| 75 | + <manifest> | |
| 76 | + <mainClass>com.datastax.driver.stress.Stress</mainClass> | |
| 77 | + </manifest> | |
| 78 | + </archive> | |
| 79 | + <descriptorRefs> | |
| 80 | + <descriptorRef>jar-with-dependencies</descriptorRef> | |
| 81 | + </descriptorRefs> | |
| 82 | + </configuration> | |
| 83 | + </plugin> | |
| 84 | + </plugins> | |
| 85 | + </build> | |
| 86 | + | |
| 87 | + <licenses> | |
| 88 | + <license> | |
| 89 | + <name>Apache 2</name> | |
| 90 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 91 | + <distribution>repo</distribution> | |
| 92 | + <comments>Apache License Version 2.0</comments> | |
| 93 | + </license> | |
| 94 | + </licenses> | |
| 95 | + | |
| 96 | + <scm> | |
| 97 | + <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 98 | + <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 99 | + <url>https://github.com/datastax/java-driver</url> | |
| 100 | + <tag>HEAD</tag> | |
| 101 | + </scm> | |
| 102 | + | |
| 103 | + <developers> | |
| 104 | + <developer> | |
| 105 | + <name>Various</name> | |
| 106 | + <organization>DataStax</organization> | |
| 107 | + </developer> | |
| 108 | + </developers> | |
| 108 | 109 | </project> |
| 109 | 110 |
modified driver-mapping/pom.xml +124 −123
| @@ -15,138 +15,139 @@ | ||
| 15 | 15 | limitations under the License. |
| 16 | 16 | |
| 17 | 17 | --> |
| 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"> | |
| 19 | - <modelVersion>4.0.0</modelVersion> | |
| 20 | - <parent> | |
| 21 | - <groupId>com.datastax.cassandra</groupId> | |
| 22 | - <artifactId>cassandra-driver-parent</artifactId> | |
| 23 | - <version>2.1.11-SNAPSHOT</version> | |
| 24 | - </parent> | |
| 25 | - <artifactId>cassandra-driver-mapping</artifactId> | |
| 26 | - <packaging>bundle</packaging> | |
| 27 | - <name>DataStax Java Driver for Apache Cassandra - Object Mapping</name> | |
| 28 | - <description>Object mapper for the DataStax CQL Java Driver.</description> | |
| 29 | - <url>https://github.com/datastax/java-driver</url> | |
| 30 | - | |
| 31 | - <properties> | |
| 32 | - <main.basedir>${project.parent.basedir}</main.basedir> | |
| 33 | - </properties> | |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| 20 | + <modelVersion>4.0.0</modelVersion> | |
| 21 | + <parent> | |
| 22 | + <groupId>com.datastax.cassandra</groupId> | |
| 23 | + <artifactId>cassandra-driver-parent</artifactId> | |
| 24 | + <version>2.1.11-SNAPSHOT</version> | |
| 25 | + </parent> | |
| 26 | + <artifactId>cassandra-driver-mapping</artifactId> | |
| 27 | + <packaging>bundle</packaging> | |
| 28 | + <name>DataStax Java Driver for Apache Cassandra - Object Mapping</name> | |
| 29 | + <description>Object mapper for the DataStax CQL Java Driver.</description> | |
| 30 | + <url>https://github.com/datastax/java-driver</url> | |
| 34 | 31 | |
| 35 | - <dependencies> | |
| 36 | - <dependency> | |
| 37 | - <groupId>com.datastax.cassandra</groupId> | |
| 38 | - <artifactId>cassandra-driver-core</artifactId> | |
| 39 | - <version>${project.parent.version}</version> | |
| 40 | - </dependency> | |
| 32 | + <properties> | |
| 33 | + <main.basedir>${project.parent.basedir}</main.basedir> | |
| 34 | + </properties> | |
| 41 | 35 | |
| 42 | - <dependency> | |
| 43 | - <groupId>com.datastax.cassandra</groupId> | |
| 44 | - <artifactId>cassandra-driver-core</artifactId> | |
| 45 | - <version>${project.parent.version}</version> | |
| 46 | - <type>test-jar</type> | |
| 47 | - <scope>test</scope> | |
| 48 | - </dependency> | |
| 36 | + <dependencies> | |
| 37 | + <dependency> | |
| 38 | + <groupId>com.datastax.cassandra</groupId> | |
| 39 | + <artifactId>cassandra-driver-core</artifactId> | |
| 40 | + <version>${project.parent.version}</version> | |
| 41 | + </dependency> | |
| 49 | 42 | |
| 50 | - <dependency> | |
| 51 | - <groupId>org.testng</groupId> | |
| 52 | - <artifactId>testng</artifactId> | |
| 53 | - <version>6.8.1</version> | |
| 54 | - <scope>test</scope> | |
| 55 | - </dependency> | |
| 43 | + <dependency> | |
| 44 | + <groupId>com.datastax.cassandra</groupId> | |
| 45 | + <artifactId>cassandra-driver-core</artifactId> | |
| 46 | + <version>${project.parent.version}</version> | |
| 47 | + <type>test-jar</type> | |
| 48 | + <scope>test</scope> | |
| 49 | + </dependency> | |
| 56 | 50 | |
| 57 | - <dependency> | |
| 58 | - <groupId>org.assertj</groupId> | |
| 59 | - <artifactId>assertj-core</artifactId> | |
| 60 | - <version>1.7.0</version> | |
| 61 | - <scope>test</scope> | |
| 62 | - </dependency> | |
| 51 | + <dependency> | |
| 52 | + <groupId>org.testng</groupId> | |
| 53 | + <artifactId>testng</artifactId> | |
| 54 | + <version>6.8.1</version> | |
| 55 | + <scope>test</scope> | |
| 56 | + </dependency> | |
| 63 | 57 | |
| 64 | - <dependency> | |
| 65 | - <groupId>org.mockito</groupId> | |
| 66 | - <artifactId>mockito-all</artifactId> | |
| 67 | - <version>1.10.8</version> | |
| 68 | - <scope>test</scope> | |
| 69 | - </dependency> | |
| 58 | + <dependency> | |
| 59 | + <groupId>org.assertj</groupId> | |
| 60 | + <artifactId>assertj-core</artifactId> | |
| 61 | + <version>1.7.0</version> | |
| 62 | + <scope>test</scope> | |
| 63 | + </dependency> | |
| 70 | 64 | |
| 71 | - <dependency> | |
| 72 | - <groupId>org.apache.commons</groupId> | |
| 73 | - <artifactId>commons-exec</artifactId> | |
| 74 | - <version>1.3</version> | |
| 75 | - <scope>test</scope> | |
| 76 | - </dependency> | |
| 65 | + <dependency> | |
| 66 | + <groupId>org.mockito</groupId> | |
| 67 | + <artifactId>mockito-all</artifactId> | |
| 68 | + <version>1.10.8</version> | |
| 69 | + <scope>test</scope> | |
| 70 | + </dependency> | |
| 77 | 71 | |
| 78 | - <dependency> | |
| 79 | - <groupId>org.ow2.asm</groupId> | |
| 80 | - <artifactId>asm-all</artifactId> | |
| 81 | - <version>5.0.3</version> | |
| 82 | - <scope>test</scope> | |
| 83 | - </dependency> | |
| 84 | - <!-- | |
| 85 | - <dependency> | |
| 86 | - <groupId>org.ow2.asm</groupId> | |
| 87 | - <artifactId>asm</artifactId> | |
| 88 | - <version>4.1</version> | |
| 89 | - </dependency> | |
| 90 | - <dependency> | |
| 91 | - <groupId>org.ow2.asm</groupId> | |
| 92 | - <artifactId>asm-util</artifactId> | |
| 93 | - <version>4.1</version> | |
| 94 | - </dependency> | |
| 95 | - --> | |
| 96 | - </dependencies> | |
| 72 | + <dependency> | |
| 73 | + <groupId>org.apache.commons</groupId> | |
| 74 | + <artifactId>commons-exec</artifactId> | |
| 75 | + <version>1.3</version> | |
| 76 | + <scope>test</scope> | |
| 77 | + </dependency> | |
| 97 | 78 | |
| 98 | - <build> | |
| 99 | - <plugins> | |
| 100 | - <plugin> | |
| 101 | - <groupId>org.apache.felix</groupId> | |
| 102 | - <artifactId>maven-bundle-plugin</artifactId> | |
| 103 | - <extensions>true</extensions> | |
| 104 | - <version>2.4.0</version> | |
| 105 | - <executions> | |
| 106 | - <execution> | |
| 107 | - <id>bundle-manifest</id> | |
| 108 | - <phase>process-classes</phase> | |
| 109 | - <goals> | |
| 110 | - <goal>manifest</goal> | |
| 111 | - </goals> | |
| 112 | - </execution> | |
| 113 | - </executions> | |
| 114 | - <configuration> | |
| 115 | - <instructions> | |
| 116 | - <Bundle-SymbolicName>com.datastax.driver.mapping</Bundle-SymbolicName> | |
| 117 | - <Bundle-Version>${project.version}</Bundle-Version> | |
| 118 | - <_include>-osgi.bnd</_include> | |
| 119 | - </instructions> | |
| 120 | - <supportedProjectTypes> | |
| 121 | - <supportedProjectType>jar</supportedProjectType> | |
| 122 | - <supportedProjectType>bundle</supportedProjectType> | |
| 123 | - <supportedProjectType>pom</supportedProjectType> | |
| 124 | - </supportedProjectTypes> | |
| 125 | - </configuration> | |
| 126 | - </plugin> | |
| 127 | - </plugins> | |
| 128 | - </build> | |
| 129 | - <licenses> | |
| 130 | - <license> | |
| 131 | - <name>Apache 2</name> | |
| 132 | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 133 | - <distribution>repo</distribution> | |
| 134 | - <comments>Apache License Version 2.0</comments> | |
| 135 | - </license> | |
| 136 | - </licenses> | |
| 79 | + <dependency> | |
| 80 | + <groupId>org.ow2.asm</groupId> | |
| 81 | + <artifactId>asm-all</artifactId> | |
| 82 | + <version>5.0.3</version> | |
| 83 | + <scope>test</scope> | |
| 84 | + </dependency> | |
| 85 | + <!-- | |
| 86 | + <dependency> | |
| 87 | + <groupId>org.ow2.asm</groupId> | |
| 88 | + <artifactId>asm</artifactId> | |
| 89 | + <version>4.1</version> | |
| 90 | + </dependency> | |
| 91 | + <dependency> | |
| 92 | + <groupId>org.ow2.asm</groupId> | |
| 93 | + <artifactId>asm-util</artifactId> | |
| 94 | + <version>4.1</version> | |
| 95 | + </dependency> | |
| 96 | + --> | |
| 97 | + </dependencies> | |
| 137 | 98 | |
| 138 | - <scm> | |
| 139 | - <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 140 | - <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 141 | - <url>https://github.com/datastax/java-driver</url> | |
| 142 | - <tag>HEAD</tag> | |
| 143 | - </scm> | |
| 99 | + <build> | |
| 100 | + <plugins> | |
| 101 | + <plugin> | |
| 102 | + <groupId>org.apache.felix</groupId> | |
| 103 | + <artifactId>maven-bundle-plugin</artifactId> | |
| 104 | + <extensions>true</extensions> | |
| 105 | + <version>2.4.0</version> | |
| 106 | + <executions> | |
| 107 | + <execution> | |
| 108 | + <id>bundle-manifest</id> | |
| 109 | + <phase>process-classes</phase> | |
| 110 | + <goals> | |
| 111 | + <goal>manifest</goal> | |
| 112 | + </goals> | |
| 113 | + </execution> | |
| 114 | + </executions> | |
| 115 | + <configuration> | |
| 116 | + <instructions> | |
| 117 | + <Bundle-SymbolicName>com.datastax.driver.mapping</Bundle-SymbolicName> | |
| 118 | + <Bundle-Version>${project.version}</Bundle-Version> | |
| 119 | + <_include>-osgi.bnd</_include> | |
| 120 | + </instructions> | |
| 121 | + <supportedProjectTypes> | |
| 122 | + <supportedProjectType>jar</supportedProjectType> | |
| 123 | + <supportedProjectType>bundle</supportedProjectType> | |
| 124 | + <supportedProjectType>pom</supportedProjectType> | |
| 125 | + </supportedProjectTypes> | |
| 126 | + </configuration> | |
| 127 | + </plugin> | |
| 128 | + </plugins> | |
| 129 | + </build> | |
| 130 | + <licenses> | |
| 131 | + <license> | |
| 132 | + <name>Apache 2</name> | |
| 133 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 134 | + <distribution>repo</distribution> | |
| 135 | + <comments>Apache License Version 2.0</comments> | |
| 136 | + </license> | |
| 137 | + </licenses> | |
| 138 | + | |
| 139 | + <scm> | |
| 140 | + <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 141 | + <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 142 | + <url>https://github.com/datastax/java-driver</url> | |
| 143 | + <tag>HEAD</tag> | |
| 144 | + </scm> | |
| 144 | 145 | |
| 145 | - <developers> | |
| 146 | - <developer> | |
| 147 | - <name>Various</name> | |
| 148 | - <organization>DataStax</organization> | |
| 149 | - </developer> | |
| 150 | - </developers> | |
| 146 | + <developers> | |
| 147 | + <developer> | |
| 148 | + <name>Various</name> | |
| 149 | + <organization>DataStax</organization> | |
| 150 | + </developer> | |
| 151 | + </developers> | |
| 151 | 152 | </project> |
| 152 | 153 |
modified pom.xml +347 −342
| @@ -15,358 +15,363 @@ | ||
| 15 | 15 | limitations under the License. |
| 16 | 16 | |
| 17 | 17 | --> |
| 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"> | |
| 19 | - <modelVersion>4.0.0</modelVersion> | |
| 20 | - <parent> | |
| 21 | - <groupId>org.sonatype.oss</groupId> | |
| 22 | - <artifactId>oss-parent</artifactId> | |
| 23 | - <version>7</version> | |
| 24 | - <relativePath /> | |
| 25 | - </parent> | |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| 20 | + <modelVersion>4.0.0</modelVersion> | |
| 21 | + <parent> | |
| 22 | + <groupId>org.sonatype.oss</groupId> | |
| 23 | + <artifactId>oss-parent</artifactId> | |
| 24 | + <version>7</version> | |
| 25 | + <relativePath/> | |
| 26 | + </parent> | |
| 26 | 27 | |
| 27 | - <groupId>com.datastax.cassandra</groupId> | |
| 28 | - <artifactId>cassandra-driver-parent</artifactId> | |
| 29 | - <version>2.1.11-SNAPSHOT</version> | |
| 30 | - <packaging>pom</packaging> | |
| 31 | - <name>DataStax Java Driver for Apache Cassandra</name> | |
| 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> | |
| 33 | - <url>https://github.com/datastax/java-driver</url> | |
| 34 | - <inceptionYear>2012</inceptionYear> | |
| 28 | + <groupId>com.datastax.cassandra</groupId> | |
| 29 | + <artifactId>cassandra-driver-parent</artifactId> | |
| 30 | + <version>2.1.11-SNAPSHOT</version> | |
| 31 | + <packaging>pom</packaging> | |
| 32 | + <name>DataStax Java Driver for Apache Cassandra</name> | |
| 33 | + <description>A driver for Apache Cassandra 1.2+ that works exclusively with the Cassandra Query Language version 3 | |
| 34 | + (CQL3) and Cassandra's binary protocol. | |
| 35 | + </description> | |
| 36 | + <url>https://github.com/datastax/java-driver</url> | |
| 37 | + <inceptionYear>2012</inceptionYear> | |
| 35 | 38 | |
| 36 | - <modules> | |
| 37 | - <module>driver-core</module> | |
| 38 | - <module>driver-mapping</module> | |
| 39 | - <module>driver-examples</module> | |
| 40 | - <module>driver-dist</module> | |
| 41 | - </modules> | |
| 39 | + <modules> | |
| 40 | + <module>driver-core</module> | |
| 41 | + <module>driver-mapping</module> | |
| 42 | + <module>driver-examples</module> | |
| 43 | + <module>driver-dist</module> | |
| 44 | + </modules> | |
| 42 | 45 | |
| 43 | - <properties> | |
| 44 | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| 45 | - <cassandra.version>2.1.9</cassandra.version> | |
| 46 | - <java.version>1.6</java.version> | |
| 47 | - <log4j.version>1.2.17</log4j.version> | |
| 48 | - <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version> | |
| 49 | - <!-- | |
| 50 | - We use an old version of Guava to be compatible with Spark 1.1. | |
| 51 | - Check with the spark-cassandra-connector team before upgrading this. | |
| 52 | - --> | |
| 53 | - <guava.version>14.0.1</guava.version> | |
| 54 | - <netty.version>4.0.33.Final</netty.version> | |
| 55 | - <metrics.version>3.0.2</metrics.version> | |
| 56 | - <snappy.version>1.0.5</snappy.version> | |
| 57 | - <lz4.version>1.2.0</lz4.version> | |
| 58 | - <hdr.version>2.1.4</hdr.version> | |
| 59 | - <jnr-ffi.version>2.0.7</jnr-ffi.version> | |
| 60 | - <jnr-posix.version>3.0.27</jnr-posix.version> | |
| 61 | - <!-- test dependency versions --> | |
| 62 | - <testng.version>6.8.8</testng.version> | |
| 63 | - <assertj.version>1.7.0</assertj.version> | |
| 64 | - <mockito.version>1.10.8</mockito.version> | |
| 65 | - <scassandra.version>1.0.3</scassandra.version> | |
| 66 | - <main.basedir>${project.basedir}</main.basedir> | |
| 67 | - <ipprefix>127.0.1.</ipprefix> | |
| 68 | - <test.groups>unit</test.groups> | |
| 69 | - </properties> | |
| 46 | + <properties> | |
| 47 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| 48 | + <cassandra.version>2.1.9</cassandra.version> | |
| 49 | + <java.version>1.6</java.version> | |
| 50 | + <log4j.version>1.2.17</log4j.version> | |
| 51 | + <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version> | |
| 52 | + <!-- | |
| 53 | + We use an old version of Guava to be compatible with Spark 1.1. | |
| 54 | + Check with the spark-cassandra-connector team before upgrading this. | |
| 55 | + --> | |
| 56 | + <guava.version>14.0.1</guava.version> | |
| 57 | + <netty.version>4.0.33.Final</netty.version> | |
| 58 | + <metrics.version>3.0.2</metrics.version> | |
| 59 | + <snappy.version>1.0.5</snappy.version> | |
| 60 | + <lz4.version>1.2.0</lz4.version> | |
| 61 | + <hdr.version>2.1.4</hdr.version> | |
| 62 | + <jnr-ffi.version>2.0.7</jnr-ffi.version> | |
| 63 | + <jnr-posix.version>3.0.27</jnr-posix.version> | |
| 64 | + <!-- test dependency versions --> | |
| 65 | + <testng.version>6.8.8</testng.version> | |
| 66 | + <assertj.version>1.7.0</assertj.version> | |
| 67 | + <mockito.version>1.10.8</mockito.version> | |
| 68 | + <scassandra.version>1.0.3</scassandra.version> | |
| 69 | + <main.basedir>${project.basedir}</main.basedir> | |
| 70 | + <ipprefix>127.0.1.</ipprefix> | |
| 71 | + <test.groups>unit</test.groups> | |
| 72 | + </properties> | |
| 70 | 73 | |
| 71 | - <dependencies> | |
| 72 | - <dependency> | |
| 73 | - <groupId>log4j</groupId> | |
| 74 | - <artifactId>log4j</artifactId> | |
| 75 | - <version>${log4j.version}</version> | |
| 76 | - <scope>test</scope> | |
| 77 | - </dependency> | |
| 74 | + <dependencies> | |
| 75 | + <dependency> | |
| 76 | + <groupId>log4j</groupId> | |
| 77 | + <artifactId>log4j</artifactId> | |
| 78 | + <version>${log4j.version}</version> | |
| 79 | + <scope>test</scope> | |
| 80 | + </dependency> | |
| 78 | 81 | |
| 79 | - <dependency> | |
| 80 | - <groupId>org.slf4j</groupId> | |
| 81 | - <artifactId>slf4j-log4j12</artifactId> | |
| 82 | - <version>${slf4j-log4j12.version}</version> | |
| 83 | - <scope>test</scope> | |
| 84 | - </dependency> | |
| 85 | - </dependencies> | |
| 82 | + <dependency> | |
| 83 | + <groupId>org.slf4j</groupId> | |
| 84 | + <artifactId>slf4j-log4j12</artifactId> | |
| 85 | + <version>${slf4j-log4j12.version}</version> | |
| 86 | + <scope>test</scope> | |
| 87 | + </dependency> | |
| 88 | + </dependencies> | |
| 86 | 89 | |
| 87 | - <profiles> | |
| 88 | - <profile> | |
| 89 | - <id>default</id> | |
| 90 | - <properties> | |
| 91 | - <env>default</env> | |
| 92 | - <test.groups>unit</test.groups> | |
| 93 | - </properties> | |
| 94 | - <activation> | |
| 95 | - <activeByDefault>true</activeByDefault> | |
| 96 | - </activation> | |
| 97 | - </profile> | |
| 98 | - <profile> | |
| 99 | - <id>doclint-java8-disable</id> | |
| 100 | - <activation> | |
| 101 | - <jdk>[1.8,)</jdk> | |
| 102 | - </activation> | |
| 103 | - <properties> | |
| 104 | - <javadoc.opts>-Xdoclint:none</javadoc.opts> | |
| 105 | - </properties> | |
| 106 | - </profile> | |
| 107 | - <profile> | |
| 108 | - <id>short</id> | |
| 109 | - <properties> | |
| 110 | - <env>default</env> | |
| 111 | - <test.groups>unit,short</test.groups> | |
| 112 | - </properties> | |
| 113 | - </profile> | |
| 114 | - <profile> | |
| 115 | - <id>long</id> | |
| 116 | - <properties> | |
| 117 | - <env>default</env> | |
| 118 | - <test.groups>unit,short,long</test.groups> | |
| 119 | - </properties> | |
| 120 | - </profile> | |
| 121 | - <profile> | |
| 122 | - <id>duration</id> | |
| 123 | - <properties> | |
| 124 | - <env>default</env> | |
| 125 | - <test.groups>unit,short,long,duration</test.groups> | |
| 126 | - </properties> | |
| 127 | - </profile> | |
| 128 | - <profile> | |
| 129 | - <id>doc</id> | |
| 130 | - <properties> | |
| 131 | - <env>default</env> | |
| 132 | - <test.groups>unit,doc</test.groups> | |
| 133 | - </properties> | |
| 134 | - </profile> | |
| 135 | - <profile> | |
| 136 | - <!-- default profile settings for 'isolated' test group, will skip tests unless overridden in child module. --> | |
| 137 | - <id>isolated</id> | |
| 138 | - <properties> | |
| 139 | - <env>default</env> | |
| 140 | - <test.groups>isolated</test.groups> | |
| 141 | - </properties> | |
| 142 | - <build> | |
| 90 | + <profiles> | |
| 91 | + <profile> | |
| 92 | + <id>default</id> | |
| 93 | + <properties> | |
| 94 | + <env>default</env> | |
| 95 | + <test.groups>unit</test.groups> | |
| 96 | + </properties> | |
| 97 | + <activation> | |
| 98 | + <activeByDefault>true</activeByDefault> | |
| 99 | + </activation> | |
| 100 | + </profile> | |
| 101 | + <profile> | |
| 102 | + <id>doclint-java8-disable</id> | |
| 103 | + <activation> | |
| 104 | + <jdk>[1.8,)</jdk> | |
| 105 | + </activation> | |
| 106 | + <properties> | |
| 107 | + <javadoc.opts>-Xdoclint:none</javadoc.opts> | |
| 108 | + </properties> | |
| 109 | + </profile> | |
| 110 | + <profile> | |
| 111 | + <id>short</id> | |
| 112 | + <properties> | |
| 113 | + <env>default</env> | |
| 114 | + <test.groups>unit,short</test.groups> | |
| 115 | + </properties> | |
| 116 | + </profile> | |
| 117 | + <profile> | |
| 118 | + <id>long</id> | |
| 119 | + <properties> | |
| 120 | + <env>default</env> | |
| 121 | + <test.groups>unit,short,long</test.groups> | |
| 122 | + </properties> | |
| 123 | + </profile> | |
| 124 | + <profile> | |
| 125 | + <id>duration</id> | |
| 126 | + <properties> | |
| 127 | + <env>default</env> | |
| 128 | + <test.groups>unit,short,long,duration</test.groups> | |
| 129 | + </properties> | |
| 130 | + </profile> | |
| 131 | + <profile> | |
| 132 | + <id>doc</id> | |
| 133 | + <properties> | |
| 134 | + <env>default</env> | |
| 135 | + <test.groups>unit,doc</test.groups> | |
| 136 | + </properties> | |
| 137 | + </profile> | |
| 138 | + <profile> | |
| 139 | + <!-- default profile settings for 'isolated' test group, will skip tests unless overridden in child module. --> | |
| 140 | + <id>isolated</id> | |
| 141 | + <properties> | |
| 142 | + <env>default</env> | |
| 143 | + <test.groups>isolated</test.groups> | |
| 144 | + </properties> | |
| 145 | + <build> | |
| 146 | + <plugins> | |
| 147 | + <plugin> | |
| 148 | + <groupId>org.apache.maven.plugins</groupId> | |
| 149 | + <artifactId>maven-surefire-plugin</artifactId> | |
| 150 | + <version>2.16</version> | |
| 151 | + <configuration> | |
| 152 | + <skip>true</skip> | |
| 153 | + <forkCount>1</forkCount> | |
| 154 | + <reuseForks>false</reuseForks> | |
| 155 | + <reportNameSuffix>isolated</reportNameSuffix> | |
| 156 | + <!-- This requires includes to be explicitly specified by implementing classes. | |
| 157 | + This is needed to prevent creating a JVM fork for each test, even those that don't | |
| 158 | + have the isolated group. --> | |
| 159 | + <includes/> | |
| 160 | + </configuration> | |
| 161 | + </plugin> | |
| 162 | + </plugins> | |
| 163 | + </build> | |
| 164 | + </profile> | |
| 165 | + </profiles> | |
| 166 | + | |
| 167 | + <build> | |
| 143 | 168 | <plugins> |
| 144 | - <plugin> | |
| 145 | - <groupId>org.apache.maven.plugins</groupId> | |
| 146 | - <artifactId>maven-surefire-plugin</artifactId> | |
| 147 | - <version>2.16</version> | |
| 148 | - <configuration> | |
| 149 | - <skip>true</skip> | |
| 150 | - <forkCount>1</forkCount> | |
| 151 | - <reuseForks>false</reuseForks> | |
| 152 | - <reportNameSuffix>isolated</reportNameSuffix> | |
| 153 | - <!-- This requires includes to be explicitly specified by implementing classes. | |
| 154 | - This is needed to prevent creating a JVM fork for each test, even those that don't | |
| 155 | - have the isolated group. --> | |
| 156 | - <includes /> | |
| 157 | - </configuration> | |
| 158 | - </plugin> | |
| 169 | + <plugin> | |
| 170 | + <artifactId>maven-compiler-plugin</artifactId> | |
| 171 | + <version>3.1</version> | |
| 172 | + <configuration> | |
| 173 | + <source>${java.version}</source> | |
| 174 | + <target>${java.version}</target> | |
| 175 | + <optimize>true</optimize> | |
| 176 | + <showDeprecation>true</showDeprecation> | |
| 177 | + <showWarnings>true</showWarnings> | |
| 178 | + </configuration> | |
| 179 | + </plugin> | |
| 180 | + <plugin> | |
| 181 | + <groupId>org.apache.maven.plugins</groupId> | |
| 182 | + <artifactId>maven-source-plugin</artifactId> | |
| 183 | + <version>2.2.1</version> | |
| 184 | + <executions> | |
| 185 | + <execution> | |
| 186 | + <id>attach-sources</id> | |
| 187 | + <goals> | |
| 188 | + <goal>jar-no-fork</goal> | |
| 189 | + </goals> | |
| 190 | + </execution> | |
| 191 | + </executions> | |
| 192 | + </plugin> | |
| 193 | + <plugin> | |
| 194 | + <groupId>org.apache.maven.plugins</groupId> | |
| 195 | + <artifactId>maven-javadoc-plugin</artifactId> | |
| 196 | + <version>2.9.1</version> | |
| 197 | + <configuration> | |
| 198 | + <verbose>false</verbose> | |
| 199 | + <additionalparam>${javadoc.opts}</additionalparam> | |
| 200 | + <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) --> | |
| 201 | + <header> | |
| 202 | + <script type="text/javascript" | |
| 203 | + src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | |
| 204 | + </header> | |
| 205 | + <!-- open external links in a separate window --> | |
| 206 | + <bottom> | |
| 207 | + <script type="text/javascript"> | |
| 208 | + for(var i in document.links) { | |
| 209 | + var link = document.links[i]; | |
| 210 | + if (link.href.indexOf('is-external=true') != -1) link.target = '_blank'; | |
| 211 | + } | |
| 212 | + </script> | |
| 213 | + </bottom> | |
| 214 | + <links> | |
| 215 | + <link>https://docs.oracle.com/javase/8/docs/api/</link> | |
| 216 | + <link>http://docs.guava-libraries.googlecode.com/git-history/v16.0.1/javadoc/</link> | |
| 217 | + <link>http://netty.io/4.0/api/</link> | |
| 218 | + <!-- dependencies from driver-extras --> | |
| 219 | + <link>http://www.joda.org/joda-time/apidocs/</link> | |
| 220 | + <link>http://fasterxml.github.io/jackson-core/javadoc/2.6/</link> | |
| 221 | + <link>http://fasterxml.github.io/jackson-databind/javadoc/2.6/</link> | |
| 222 | + <link>https://javaee-spec.java.net/nonav/javadocs/</link> | |
| 223 | + </links> | |
| 224 | + </configuration> | |
| 225 | + <executions> | |
| 226 | + <execution> | |
| 227 | + <id>attach-javadocs</id> | |
| 228 | + <goals> | |
| 229 | + <goal>jar</goal> | |
| 230 | + </goals> | |
| 231 | + </execution> | |
| 232 | + </executions> | |
| 233 | + </plugin> | |
| 234 | + <plugin> | |
| 235 | + <groupId>org.apache.maven.plugins</groupId> | |
| 236 | + <artifactId>maven-release-plugin</artifactId> | |
| 237 | + <version>2.5</version> | |
| 238 | + <configuration> | |
| 239 | + <tagNameFormat>@{project.version}</tagNameFormat> | |
| 240 | + </configuration> | |
| 241 | + </plugin> | |
| 242 | + <plugin> | |
| 243 | + <groupId>org.codehaus.mojo</groupId> | |
| 244 | + <artifactId>clirr-maven-plugin</artifactId> | |
| 245 | + <version>2.6.1</version> | |
| 246 | + <executions> | |
| 247 | + <execution> | |
| 248 | + <phase>compile</phase> | |
| 249 | + <goals> | |
| 250 | + <goal>check</goal> | |
| 251 | + </goals> | |
| 252 | + </execution> | |
| 253 | + </executions> | |
| 254 | + <configuration> | |
| 255 | + <comparisonVersion>2.1.9</comparisonVersion> | |
| 256 | + <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile> | |
| 257 | + <excludes> | |
| 258 | + <!-- Package-private, internal classes --> | |
| 259 | + <exclude>com/datastax/driver/core/Frame$*</exclude> | |
| 260 | + <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude> | |
| 261 | + <exclude>com/datastax/driver/core/Message$*</exclude> | |
| 262 | + <exclude>com/datastax/driver/core/Requests$*</exclude> | |
| 263 | + <exclude>com/datastax/driver/core/Responses$*</exclude> | |
| 264 | + <exclude>com/datastax/driver/core/Connection$*</exclude> | |
| 265 | + </excludes> | |
| 266 | + </configuration> | |
| 267 | + </plugin> | |
| 268 | + <!-- | |
| 269 | + To update license headers run: | |
| 270 | + mvn license:format | |
| 271 | + --> | |
| 272 | + <plugin> | |
| 273 | + <groupId>com.mycila</groupId> | |
| 274 | + <artifactId>license-maven-plugin</artifactId> | |
| 275 | + <version>2.8</version> | |
| 276 | + <configuration> | |
| 277 | + <header>${main.basedir}/src/license/header.txt</header> | |
| 278 | + <includes> | |
| 279 | + <include>src/**/*.java</include> | |
| 280 | + <include>src/**/*.xml</include> | |
| 281 | + <include>src/**/*.properties</include> | |
| 282 | + <include>**/pom.xml</include> | |
| 283 | + </includes> | |
| 284 | + <excludes> | |
| 285 | + <exclude>**/src/main/config/ide/**</exclude> | |
| 286 | + </excludes> | |
| 287 | + <mapping> | |
| 288 | + <java>SLASHSTAR_STYLE</java> | |
| 289 | + <properties>SCRIPT_STYLE</properties> | |
| 290 | + </mapping> | |
| 291 | + <strictCheck>true</strictCheck> | |
| 292 | + </configuration> | |
| 293 | + <executions> | |
| 294 | + <execution> | |
| 295 | + <id>check-license</id> | |
| 296 | + <phase>initialize</phase> | |
| 297 | + <goals> | |
| 298 | + <goal>check</goal> | |
| 299 | + </goals> | |
| 300 | + </execution> | |
| 301 | + </executions> | |
| 302 | + </plugin> | |
| 303 | + <plugin> | |
| 304 | + <groupId>org.apache.maven.plugins</groupId> | |
| 305 | + <artifactId>maven-surefire-plugin</artifactId> | |
| 306 | + <version>2.16</version> | |
| 307 | + <configuration> | |
| 308 | + <groups>${test.groups}</groups> | |
| 309 | + <useFile>false</useFile> | |
| 310 | + <systemPropertyVariables> | |
| 311 | + <cassandra.version>${cassandra.version}</cassandra.version> | |
| 312 | + <ipprefix>${ipprefix}</ipprefix> | |
| 313 | + <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS> | |
| 314 | + </systemPropertyVariables> | |
| 315 | + <classpathDependencyExcludes> | |
| 316 | + <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes> | |
| 317 | + </classpathDependencyExcludes> | |
| 318 | + <properties> | |
| 319 | + <property> | |
| 320 | + <!-- Don't skip tests after a @Before method throws a SkipException --> | |
| 321 | + <name>configfailurepolicy</name> | |
| 322 | + <value>continue</value> | |
| 323 | + </property> | |
| 324 | + </properties> | |
| 325 | + </configuration> | |
| 326 | + </plugin> | |
| 327 | + <plugin> | |
| 328 | + <groupId>org.apache.maven.plugins</groupId> | |
| 329 | + <artifactId>maven-failsafe-plugin</artifactId> | |
| 330 | + <version>2.16</version> | |
| 331 | + <configuration> | |
| 332 | + <groups>${test.groups}</groups> | |
| 333 | + <useFile>false</useFile> | |
| 334 | + <systemPropertyVariables> | |
| 335 | + <cassandra.version>${cassandra.version}</cassandra.version> | |
| 336 | + <ipprefix>${ipprefix}</ipprefix> | |
| 337 | + <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS> | |
| 338 | + </systemPropertyVariables> | |
| 339 | + <classpathDependencyExcludes> | |
| 340 | + <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes> | |
| 341 | + </classpathDependencyExcludes> | |
| 342 | + <properties> | |
| 343 | + <property> | |
| 344 | + <!-- Don't skip tests after a @Before method throws a SkipException --> | |
| 345 | + <name>configfailurepolicy</name> | |
| 346 | + <value>continue</value> | |
| 347 | + </property> | |
| 348 | + </properties> | |
| 349 | + </configuration> | |
| 350 | + </plugin> | |
| 159 | 351 | </plugins> |
| 160 | - </build> | |
| 161 | - </profile> | |
| 162 | - </profiles> | |
| 163 | 352 | |
| 164 | - <build> | |
| 165 | - <plugins> | |
| 166 | - <plugin> | |
| 167 | - <artifactId>maven-compiler-plugin</artifactId> | |
| 168 | - <version>3.1</version> | |
| 169 | - <configuration> | |
| 170 | - <source>${java.version}</source> | |
| 171 | - <target>${java.version}</target> | |
| 172 | - <optimize>true</optimize> | |
| 173 | - <showDeprecation>true</showDeprecation> | |
| 174 | - <showWarnings>true</showWarnings> | |
| 175 | - </configuration> | |
| 176 | - </plugin> | |
| 177 | - <plugin> | |
| 178 | - <groupId>org.apache.maven.plugins</groupId> | |
| 179 | - <artifactId>maven-source-plugin</artifactId> | |
| 180 | - <version>2.2.1</version> | |
| 181 | - <executions> | |
| 182 | - <execution> | |
| 183 | - <id>attach-sources</id> | |
| 184 | - <goals> | |
| 185 | - <goal>jar-no-fork</goal> | |
| 186 | - </goals> | |
| 187 | - </execution> | |
| 188 | - </executions> | |
| 189 | - </plugin> | |
| 190 | - <plugin> | |
| 191 | - <groupId>org.apache.maven.plugins</groupId> | |
| 192 | - <artifactId>maven-javadoc-plugin</artifactId> | |
| 193 | - <version>2.9.1</version> | |
| 194 | - <configuration> | |
| 195 | - <verbose>false</verbose> | |
| 196 | - <additionalparam>${javadoc.opts}</additionalparam> | |
| 197 | - <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) --> | |
| 198 | - <header> | |
| 199 | - <script type="text/javascript" | |
| 200 | - src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | |
| 201 | - </header> | |
| 202 | - <!-- open external links in a separate window --> | |
| 203 | - <bottom> | |
| 204 | - <script type="text/javascript"> | |
| 205 | - for(var i in document.links) { | |
| 206 | - var link = document.links[i]; | |
| 207 | - if (link.href.indexOf('is-external=true') != -1) link.target = '_blank'; | |
| 208 | - } | |
| 209 | - </script> | |
| 210 | - </bottom> | |
| 211 | - <links> | |
| 212 | - <link>https://docs.oracle.com/javase/8/docs/api/</link> | |
| 213 | - <link>http://docs.guava-libraries.googlecode.com/git-history/v16.0.1/javadoc/</link> | |
| 214 | - <link>http://netty.io/4.0/api/</link> | |
| 215 | - <!-- dependencies from driver-extras --> | |
| 216 | - <link>http://www.joda.org/joda-time/apidocs/</link> | |
| 217 | - <link>http://fasterxml.github.io/jackson-core/javadoc/2.6/</link> | |
| 218 | - <link>http://fasterxml.github.io/jackson-databind/javadoc/2.6/</link> | |
| 219 | - <link>https://javaee-spec.java.net/nonav/javadocs/</link> | |
| 220 | - </links> | |
| 221 | - </configuration> | |
| 222 | - <executions> | |
| 223 | - <execution> | |
| 224 | - <id>attach-javadocs</id> | |
| 225 | - <goals> | |
| 226 | - <goal>jar</goal> | |
| 227 | - </goals> | |
| 228 | - </execution> | |
| 229 | - </executions> | |
| 230 | - </plugin> | |
| 231 | - <plugin> | |
| 232 | - <groupId>org.apache.maven.plugins</groupId> | |
| 233 | - <artifactId>maven-release-plugin</artifactId> | |
| 234 | - <version>2.5</version> | |
| 235 | - <configuration> | |
| 236 | - <tagNameFormat>@{project.version}</tagNameFormat> | |
| 237 | - </configuration> | |
| 238 | - </plugin> | |
| 239 | - <plugin> | |
| 240 | - <groupId>org.codehaus.mojo</groupId> | |
| 241 | - <artifactId>clirr-maven-plugin</artifactId> | |
| 242 | - <version>2.6.1</version> | |
| 243 | - <executions> | |
| 244 | - <execution> | |
| 245 | - <phase>compile</phase> | |
| 246 | - <goals><goal>check</goal></goals> | |
| 247 | - </execution> | |
| 248 | - </executions> | |
| 249 | - <configuration> | |
| 250 | - <comparisonVersion>2.1.9</comparisonVersion> | |
| 251 | - <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile> | |
| 252 | - <excludes> | |
| 253 | - <!-- Package-private, internal classes --> | |
| 254 | - <exclude>com/datastax/driver/core/Frame$*</exclude> | |
| 255 | - <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude> | |
| 256 | - <exclude>com/datastax/driver/core/Message$*</exclude> | |
| 257 | - <exclude>com/datastax/driver/core/Requests$*</exclude> | |
| 258 | - <exclude>com/datastax/driver/core/Responses$*</exclude> | |
| 259 | - <exclude>com/datastax/driver/core/Connection$*</exclude> | |
| 260 | - </excludes> | |
| 261 | - </configuration> | |
| 262 | - </plugin> | |
| 263 | - <!-- | |
| 264 | - To update license headers run: | |
| 265 | - mvn license:format | |
| 266 | - --> | |
| 267 | - <plugin> | |
| 268 | - <groupId>com.mycila</groupId> | |
| 269 | - <artifactId>license-maven-plugin</artifactId> | |
| 270 | - <version>2.8</version> | |
| 271 | - <configuration> | |
| 272 | - <header>${main.basedir}/src/license/header.txt</header> | |
| 273 | - <includes> | |
| 274 | - <include>src/**/*.java</include> | |
| 275 | - <include>src/**/*.xml</include> | |
| 276 | - <include>src/**/*.properties</include> | |
| 277 | - <include>**/pom.xml</include> | |
| 278 | - </includes> | |
| 279 | - <excludes> | |
| 280 | - <exclude>**/src/main/config/ide/**</exclude> | |
| 281 | - </excludes> | |
| 282 | - <mapping> | |
| 283 | - <java>SLASHSTAR_STYLE</java> | |
| 284 | - <properties>SCRIPT_STYLE</properties> | |
| 285 | - </mapping> | |
| 286 | - <strictCheck>true</strictCheck> | |
| 287 | - </configuration> | |
| 288 | - <executions> | |
| 289 | - <execution> | |
| 290 | - <id>check-license</id> | |
| 291 | - <phase>initialize</phase> | |
| 292 | - <goals> | |
| 293 | - <goal>check</goal> | |
| 294 | - </goals> | |
| 295 | - </execution> | |
| 296 | - </executions> | |
| 297 | - </plugin> | |
| 298 | - <plugin> | |
| 299 | - <groupId>org.apache.maven.plugins</groupId> | |
| 300 | - <artifactId>maven-surefire-plugin</artifactId> | |
| 301 | - <version>2.16</version> | |
| 302 | - <configuration> | |
| 303 | - <groups>${test.groups}</groups> | |
| 304 | - <useFile>false</useFile> | |
| 305 | - <systemPropertyVariables> | |
| 306 | - <cassandra.version>${cassandra.version}</cassandra.version> | |
| 307 | - <ipprefix>${ipprefix}</ipprefix> | |
| 308 | - <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS> | |
| 309 | - </systemPropertyVariables> | |
| 310 | - <classpathDependencyExcludes> | |
| 311 | - <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes> | |
| 312 | - </classpathDependencyExcludes> | |
| 313 | - <properties> | |
| 314 | - <property> | |
| 315 | - <!-- Don't skip tests after a @Before method throws a SkipException --> | |
| 316 | - <name>configfailurepolicy</name> | |
| 317 | - <value>continue</value> | |
| 318 | - </property> | |
| 319 | - </properties> | |
| 320 | - </configuration> | |
| 321 | - </plugin> | |
| 322 | - <plugin> | |
| 323 | - <groupId>org.apache.maven.plugins</groupId> | |
| 324 | - <artifactId>maven-failsafe-plugin</artifactId> | |
| 325 | - <version>2.16</version> | |
| 326 | - <configuration> | |
| 327 | - <groups>${test.groups}</groups> | |
| 328 | - <useFile>false</useFile> | |
| 329 | - <systemPropertyVariables> | |
| 330 | - <cassandra.version>${cassandra.version}</cassandra.version> | |
| 331 | - <ipprefix>${ipprefix}</ipprefix> | |
| 332 | - <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS> | |
| 333 | - </systemPropertyVariables> | |
| 334 | - <classpathDependencyExcludes> | |
| 335 | - <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes> | |
| 336 | - </classpathDependencyExcludes> | |
| 337 | - <properties> | |
| 338 | - <property> | |
| 339 | - <!-- Don't skip tests after a @Before method throws a SkipException --> | |
| 340 | - <name>configfailurepolicy</name> | |
| 341 | - <value>continue</value> | |
| 342 | - </property> | |
| 343 | - </properties> | |
| 344 | - </configuration> | |
| 345 | - </plugin> | |
| 346 | - </plugins> | |
| 353 | + </build> | |
| 347 | 354 | |
| 348 | - </build> | |
| 355 | + <licenses> | |
| 356 | + <license> | |
| 357 | + <name>Apache 2</name> | |
| 358 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 359 | + <distribution>repo</distribution> | |
| 360 | + <comments>Apache License Version 2.0</comments> | |
| 361 | + </license> | |
| 362 | + </licenses> | |
| 349 | 363 | |
| 350 | - <licenses> | |
| 351 | - <license> | |
| 352 | - <name>Apache 2</name> | |
| 353 | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| 354 | - <distribution>repo</distribution> | |
| 355 | - <comments>Apache License Version 2.0</comments> | |
| 356 | - </license> | |
| 357 | - </licenses> | |
| 358 | - | |
| 359 | - <scm> | |
| 360 | - <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 361 | - <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 362 | - <url>https://github.com/datastax/java-driver</url> | |
| 363 | - <tag>HEAD</tag> | |
| 364 | - </scm> | |
| 364 | + <scm> | |
| 365 | + <connection>scm:git:git@github.com:datastax/java-driver.git</connection> | |
| 366 | + <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection> | |
| 367 | + <url>https://github.com/datastax/java-driver</url> | |
| 368 | + <tag>HEAD</tag> | |
| 369 | + </scm> | |
| 365 | 370 | |
| 366 | - <developers> | |
| 367 | - <developer> | |
| 368 | - <name>Various</name> | |
| 369 | - <organization>DataStax</organization> | |
| 370 | - </developer> | |
| 371 | - </developers> | |
| 371 | + <developers> | |
| 372 | + <developer> | |
| 373 | + <name>Various</name> | |
| 374 | + <organization>DataStax</organization> | |
| 375 | + </developer> | |
| 376 | + </developers> | |
| 372 | 377 | </project> |