Elffuss BraidHub

kikocis/java-driver public

Format XML files with IntelliJ defaults.

This commit applies the following settings: tab size 4, Indent 4, continuation indent 4.
Changeset697c5b0360ecceb28057e314dda843f9bf58203cfd348573bf351bd5000d39b2
AuthorAlexandre Dutra <alexandre.dutra@datastax.com> · 2015-12-26 13:39 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2016-01-04 18:04 +01:00
Parents46b106bbaaab

Browse the files at this changeset

10 files changed

modified driver-core/pom.xml +487 −472
@@ -15,480 +15,495 @@
1515 limitations under the License.
1616
1717 -->
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>3.0.0-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 (CQL3) and Cassandra's binary protocol.</description>
29- <url>https://github.com/datastax/java-driver</url>
30-
31- <properties>
32- <main.basedir>${project.parent.basedir}</main.basedir>
33- </properties>
34-
35- <dependencies>
36- <dependency>
37- <groupId>io.netty</groupId>
38- <artifactId>netty-handler</artifactId>
39- <version>${netty.version}</version>
40- </dependency>
41-
42- <dependency>
43- <groupId>com.google.guava</groupId>
44- <artifactId>guava</artifactId>
45- <version>${guava.version}</version>
46- </dependency>
47-
48- <dependency>
49- <groupId>io.dropwizard.metrics</groupId>
50- <artifactId>metrics-core</artifactId>
51- <version>${metrics.version}</version>
52- </dependency>
53-
54- <!-- Compression libraries for the protocol. -->
55- <!-- Each of them is only a mandatory runtime dependency if you want to use the compression it offers -->
56-
57- <dependency>
58- <groupId>org.xerial.snappy</groupId>
59- <artifactId>snappy-java</artifactId>
60- <version>${snappy.version}</version>
61- <optional>true</optional>
62- </dependency>
63-
64- <dependency>
65- <groupId>net.jpountz.lz4</groupId>
66- <artifactId>lz4</artifactId>
67- <version>${lz4.version}</version>
68- <optional>true</optional>
69- </dependency>
70-
71- <!-- End of compression libraries -->
72-
73- <dependency>
74- <groupId>io.netty</groupId>
75- <artifactId>netty-transport-native-epoll</artifactId>
76- <version>${netty.version}</version>
77- <optional>true</optional>
78- </dependency>
79-
80- <dependency>
81- <groupId>org.hdrhistogram</groupId>
82- <artifactId>HdrHistogram</artifactId>
83- <version>${hdr.version}</version>
84- <optional>true</optional>
85- </dependency>
86-
87- <dependency>
88- <groupId>org.testng</groupId>
89- <artifactId>testng</artifactId>
90- <version>${testng.version}</version>
91- <scope>test</scope>
92- </dependency>
93-
94- <dependency>
95- <groupId>org.assertj</groupId>
96- <artifactId>assertj-core</artifactId>
97- <version>${assertj.version}</version>
98- <scope>test</scope>
99- </dependency>
100-
101- <dependency>
102- <groupId>org.mockito</groupId>
103- <artifactId>mockito-all</artifactId>
104- <version>${mockito.version}</version>
105- <scope>test</scope>
106- </dependency>
107-
108- <dependency>
109- <groupId>org.scassandra</groupId>
110- <artifactId>java-client</artifactId>
111- <version>${scassandra.version}</version>
112- <scope>test</scope>
113- <exclusions>
114- <exclusion>
115- <groupId>ch.qos.logback</groupId>
116- <artifactId>logback-classic</artifactId>
117- </exclusion>
118- </exclusions>
119- </dependency>
120-
121- <dependency>
122- <groupId>org.apache.commons</groupId>
123- <artifactId>commons-exec</artifactId>
124- <version>${commons-exec.version}</version>
125- <scope>test</scope>
126- </dependency>
127-
128- <dependency>
129- <groupId>io.netty</groupId>
130- <artifactId>netty-tcnative</artifactId>
131- <version>1.1.33.Fork10</version>
132- <classifier>${os.detected.classifier}</classifier>
133- <scope>test</scope>
134- </dependency>
135-
136- </dependencies>
137-
138- <build>
139- <resources>
140- <resource>
141- <directory>src/main/resources</directory>
142- <filtering>true</filtering>
143- </resource>
144- </resources>
145- <plugins>
146- <plugin>
147- <groupId>org.apache.maven.plugins</groupId>
148- <artifactId>maven-jar-plugin</artifactId>
149- <version>2.2</version>
150- <executions>
151- <execution>
152- <goals>
153- <goal>test-jar</goal>
154- </goals>
155- <phase>test-compile</phase>
156- </execution>
157- </executions>
158- </plugin>
159- <plugin>
160- <groupId>org.apache.felix</groupId>
161- <artifactId>maven-bundle-plugin</artifactId>
162- <extensions>true</extensions>
163- <version>2.4.0</version>
164- <!--
165- Default configuration, used by the `bundle` goal that is implicitly bound to the `package` phase
166- (because the project uses the `bundle` packaging)
167- -->
168- <configuration>
169- <instructions>
170- <Bundle-SymbolicName>com.datastax.driver.core</Bundle-SymbolicName>
171- <Bundle-Version>${project.version}</Bundle-Version>
172- <_include>-osgi.bnd</_include>
173- <Import-Package><![CDATA[com.google.common*;version="[16.0.1,19)",*]]></Import-Package>
174- </instructions>
175- <supportedProjectTypes>
176- <supportedProjectType>jar</supportedProjectType>
177- <supportedProjectType>bundle</supportedProjectType>
178- <supportedProjectType>pom</supportedProjectType>
179- </supportedProjectTypes>
180- </configuration>
181- <executions>
182- <!-- Alternate execution to generate the shaded JAR's manifest -->
183- <execution>
184- <id>bundle-manifest-shaded</id>
185- <phase>prepare-package</phase>
186- <goals>
187- <goal>manifest</goal>
188- </goals>
189- <configuration>
190- <manifestLocation>${project.build.directory}/META-INF-shaded</manifestLocation>
191- <instructions>
192- <Import-Package><![CDATA[com.google.common.*;version="[16.0.1,19)",!io.netty.*,*]]></Import-Package>
193- <Private-Package>com.datastax.shaded.*</Private-Package>
194- </instructions>
195- </configuration>
196- </execution>
197- </executions>
198- </plugin>
199- <plugin>
200- <artifactId>maven-shade-plugin</artifactId>
201- <version>2.3</version>
202- <executions>
203- <execution>
204- <phase>package</phase>
205- <goals><goal>shade</goal></goals>
206- <configuration>
207- <shadedArtifactAttached>true</shadedArtifactAttached>
208- <artifactSet>
209- <includes>
210- <include>io.netty:*</include>
211- </includes>
212- <excludes>
213- <exclude>io.netty:netty-transport-native-epoll</exclude>
214- </excludes>
215- </artifactSet>
216- <relocations>
217- <relocation>
218- <pattern>io.netty</pattern>
219- <shadedPattern>com.datastax.shaded.netty</shadedPattern>
220- </relocation>
221- </relocations>
222- <transformers>
223- <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
224- <resources>
225- <resource>META-INF/MANIFEST.MF</resource>
226- <resource>META-INF/io.netty.versions.properties</resource>
227- <resource>META-INF/maven/io.netty/netty-buffer/pom.properties</resource>
228- <resource>META-INF/maven/io.netty/netty-buffer/pom.xml</resource>
229- <resource>META-INF/maven/io.netty/netty-codec/pom.properties</resource>
230- <resource>META-INF/maven/io.netty/netty-codec/pom.xml</resource>
231- <resource>META-INF/maven/io.netty/netty-common/pom.properties</resource>
232- <resource>META-INF/maven/io.netty/netty-common/pom.xml</resource>
233- <resource>META-INF/maven/io.netty/netty-handler/pom.properties</resource>
234- <resource>META-INF/maven/io.netty/netty-handler/pom.xml</resource>
235- <resource>META-INF/maven/io.netty/netty-transport/pom.properties</resource>
236- <resource>META-INF/maven/io.netty/netty-transport/pom.xml</resource>
237- </resources>
238- </transformer>
239- <!-- Pick up the alternate manifest that was generated by the alternate execution of the bundle plugin -->
240- <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
241- <resource>META-INF/MANIFEST.MF</resource>
242- <file>${project.build.directory}/META-INF-shaded/MANIFEST.MF</file>
243- </transformer>
244- </transformers>
245- </configuration>
246- </execution>
247- </executions>
248- </plugin>
249- </plugins>
250-
251- <pluginManagement>
252- <plugins>
253- <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
254- <plugin>
255- <groupId>org.eclipse.m2e</groupId>
256- <artifactId>lifecycle-mapping</artifactId>
257- <version>1.0.0</version>
258- <configuration>
259- <lifecycleMappingMetadata>
260- <pluginExecutions>
261- <pluginExecution>
262- <pluginExecutionFilter>
263- <groupId>org.apache.maven.plugins</groupId>
264- <artifactId>maven-jar-plugin</artifactId>
265- <versionRange>[2.2,)</versionRange>
266- <goals>
267- <goal>test-jar</goal>
268- </goals>
269- </pluginExecutionFilter>
270- <action>
271- <ignore />
272- </action>
273- </pluginExecution>
274- </pluginExecutions>
275- </lifecycleMappingMetadata>
276- </configuration>
277- </plugin>
278- </plugins>
279- </pluginManagement>
280- <extensions>
281- <extension>
282- <groupId>kr.motd.maven</groupId>
283- <artifactId>os-maven-plugin</artifactId>
284- <version>1.4.1.Final</version>
285- </extension>
286- </extensions>
287- </build>
288-
289- <profiles>
290- <profile>
291- <id>unit</id>
292- <properties>
293- <env>default</env>
294- </properties>
295- <!-- do not use activeByDefault as other profiles might be active -->
296- <activation>
297- <property>
298- <name>!activateUnitTests</name>
299- </property>
300- </activation>
301- <build>
302- <plugins>
303- <plugin>
304- <groupId>org.apache.maven.plugins</groupId>
305- <artifactId>maven-surefire-plugin</artifactId>
306- <version>2.16</version>
307- <configuration>
308- <groups>unit</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- <!--May be needed for debugging-->
319- <!--<forkMode>never</forkMode>-->
320- </configuration>
321- </plugin>
322- </plugins>
323- </build>
324- </profile>
325-
326- <profile>
327- <id>short</id>
328- <properties>
329- <env>default</env>
330- </properties>
331- <build>
332- <plugins>
333- <plugin>
334- <groupId>org.apache.maven.plugins</groupId>
335- <artifactId>maven-surefire-plugin</artifactId>
336- <version>2.16</version>
337- <configuration>
338- <groups>unit,short</groups>
339- <useFile>false</useFile>
340- <systemPropertyVariables>
341- <cassandra.version>${cassandra.version}</cassandra.version>
342- <ipprefix>${ipprefix}</ipprefix>
343- </systemPropertyVariables>
344- <classpathDependencyExcludes>
345- <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
346- </classpathDependencyExcludes>
347- </configuration>
348- </plugin>
349- </plugins>
350- </build>
351- </profile>
352-
353- <profile>
354- <id>isolated</id>
355- <properties>
356- <env>default</env>
357- </properties>
358- <build>
359- <plugins>
360- <plugin>
361- <groupId>org.apache.maven.plugins</groupId>
362- <artifactId>maven-surefire-plugin</artifactId>
363- <version>2.16</version>
364- <configuration>
365- <forkCount>1</forkCount>
366- <reuseForks>false</reuseForks>
367- <groups>isolated</groups>
368- <!-- Files containing tests to be included must be added here.
369- this prevents a fork being created for each test class. -->
370- <includes>
371- <include>**/SSL*Test.java</include>
372- </includes>
373- <reportNameSuffix>isolated</reportNameSuffix>
374- <useFile>false</useFile>
375- <systemPropertyVariables>
376- <cassandra.version>${cassandra.version}</cassandra.version>
377- <ipprefix>${ipprefix}</ipprefix>
378- </systemPropertyVariables>
379- <classpathDependencyExcludes>
380- <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
381- </classpathDependencyExcludes>
382- </configuration>
383- </plugin>
384- </plugins>
385- </build>
386- </profile>
387-
388- <profile>
389- <id>long</id>
390- <properties>
391- <env>default</env>
392- </properties>
393- <build>
394- <plugins>
395- <plugin>
396- <groupId>org.apache.maven.plugins</groupId>
397- <artifactId>maven-surefire-plugin</artifactId>
398- <version>2.16</version>
399- <configuration>
400- <groups>unit,short,long</groups>
401- <useFile>false</useFile>
402- <systemPropertyVariables>
403- <cassandra.version>${cassandra.version}</cassandra.version>
404- <ipprefix>${ipprefix}</ipprefix>
405- </systemPropertyVariables>
406- <classpathDependencyExcludes>
407- <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
408- </classpathDependencyExcludes>
409- </configuration>
410- </plugin>
411- </plugins>
412- </build>
413- </profile>
414-
415- <profile>
416- <id>duration</id>
417- <properties>
418- <env>default</env>
419- </properties>
420- <build>
421- <plugins>
422- <plugin>
423- <groupId>org.apache.maven.plugins</groupId>
424- <artifactId>maven-surefire-plugin</artifactId>
425- <version>2.16</version>
426- <configuration>
427- <groups>unit,short,long,duration</groups>
428- <useFile>false</useFile>
429- <systemPropertyVariables>
430- <cassandra.version>${cassandra.version}</cassandra.version>
431- <ipprefix>${ipprefix}</ipprefix>
432- </systemPropertyVariables>
433- <classpathDependencyExcludes>
434- <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
435- </classpathDependencyExcludes>
436- </configuration>
437- </plugin>
438- </plugins>
439- </build>
440- </profile>
441-
442- <profile>
443- <id>doc</id>
444- <properties>
445- <env>default</env>
446- </properties>
447- <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>3.0.0-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>io.dropwizard.metrics</groupId>
53+ <artifactId>metrics-core</artifactId>
54+ <version>${metrics.version}</version>
55+ </dependency>
56+
57+ <!-- Compression libraries for the protocol. -->
58+ <!-- Each of them is only a mandatory runtime dependency if you want to use the compression it offers -->
59+
60+ <dependency>
61+ <groupId>org.xerial.snappy</groupId>
62+ <artifactId>snappy-java</artifactId>
63+ <version>${snappy.version}</version>
64+ <optional>true</optional>
65+ </dependency>
66+
67+ <dependency>
68+ <groupId>net.jpountz.lz4</groupId>
69+ <artifactId>lz4</artifactId>
70+ <version>${lz4.version}</version>
71+ <optional>true</optional>
72+ </dependency>
73+
74+ <!-- End of compression libraries -->
75+
76+ <dependency>
77+ <groupId>io.netty</groupId>
78+ <artifactId>netty-transport-native-epoll</artifactId>
79+ <version>${netty.version}</version>
80+ <optional>true</optional>
81+ </dependency>
82+
83+ <dependency>
84+ <groupId>org.hdrhistogram</groupId>
85+ <artifactId>HdrHistogram</artifactId>
86+ <version>${hdr.version}</version>
87+ <optional>true</optional>
88+ </dependency>
89+
90+ <dependency>
91+ <groupId>org.testng</groupId>
92+ <artifactId>testng</artifactId>
93+ <version>${testng.version}</version>
94+ <scope>test</scope>
95+ </dependency>
96+
97+ <dependency>
98+ <groupId>org.assertj</groupId>
99+ <artifactId>assertj-core</artifactId>
100+ <version>${assertj.version}</version>
101+ <scope>test</scope>
102+ </dependency>
103+
104+ <dependency>
105+ <groupId>org.mockito</groupId>
106+ <artifactId>mockito-all</artifactId>
107+ <version>${mockito.version}</version>
108+ <scope>test</scope>
109+ </dependency>
110+
111+ <dependency>
112+ <groupId>org.scassandra</groupId>
113+ <artifactId>java-client</artifactId>
114+ <version>${scassandra.version}</version>
115+ <scope>test</scope>
116+ <exclusions>
117+ <exclusion>
118+ <groupId>ch.qos.logback</groupId>
119+ <artifactId>logback-classic</artifactId>
120+ </exclusion>
121+ </exclusions>
122+ </dependency>
123+
124+ <dependency>
125+ <groupId>org.apache.commons</groupId>
126+ <artifactId>commons-exec</artifactId>
127+ <version>${commons-exec.version}</version>
128+ <scope>test</scope>
129+ </dependency>
130+
131+ <dependency>
132+ <groupId>io.netty</groupId>
133+ <artifactId>netty-tcnative</artifactId>
134+ <version>1.1.33.Fork10</version>
135+ <classifier>${os.detected.classifier}</classifier>
136+ <scope>test</scope>
137+ </dependency>
138+
139+ </dependencies>
140+
141+ <build>
142+ <resources>
143+ <resource>
144+ <directory>src/main/resources</directory>
145+ <filtering>true</filtering>
146+ </resource>
147+ </resources>
448148 <plugins>
449- <plugin>
450- <groupId>org.apache.maven.plugins</groupId>
451- <artifactId>maven-surefire-plugin</artifactId>
452- <version>2.16</version>
453- <configuration>
454- <groups>unit,doc</groups>
455- <useFile>false</useFile>
456- <systemPropertyVariables>
457- <cassandra.version>${cassandra.version}</cassandra.version>
458- <ipprefix>${ipprefix}</ipprefix>
459- </systemPropertyVariables>
460- <classpathDependencyExcludes>
461- <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
462- </classpathDependencyExcludes>
463- </configuration>
464- </plugin>
149+ <plugin>
150+ <groupId>org.apache.maven.plugins</groupId>
151+ <artifactId>maven-jar-plugin</artifactId>
152+ <version>2.2</version>
153+ <executions>
154+ <execution>
155+ <goals>
156+ <goal>test-jar</goal>
157+ </goals>
158+ <phase>test-compile</phase>
159+ </execution>
160+ </executions>
161+ </plugin>
162+ <plugin>
163+ <groupId>org.apache.felix</groupId>
164+ <artifactId>maven-bundle-plugin</artifactId>
165+ <extensions>true</extensions>
166+ <version>2.4.0</version>
167+ <!--
168+ Default configuration, used by the `bundle` goal that is implicitly bound to the `package` phase
169+ (because the project uses the `bundle` packaging)
170+ -->
171+ <configuration>
172+ <instructions>
173+ <Bundle-SymbolicName>com.datastax.driver.core</Bundle-SymbolicName>
174+ <Bundle-Version>${project.version}</Bundle-Version>
175+ <_include>-osgi.bnd</_include>
176+ <Import-Package><![CDATA[com.google.common*;version="[16.0.1,19)",*]]></Import-Package>
177+ </instructions>
178+ <supportedProjectTypes>
179+ <supportedProjectType>jar</supportedProjectType>
180+ <supportedProjectType>bundle</supportedProjectType>
181+ <supportedProjectType>pom</supportedProjectType>
182+ </supportedProjectTypes>
183+ </configuration>
184+ <executions>
185+ <!-- Alternate execution to generate the shaded JAR's manifest -->
186+ <execution>
187+ <id>bundle-manifest-shaded</id>
188+ <phase>prepare-package</phase>
189+ <goals>
190+ <goal>manifest</goal>
191+ </goals>
192+ <configuration>
193+ <manifestLocation>${project.build.directory}/META-INF-shaded</manifestLocation>
194+ <instructions>
195+ <Import-Package>
196+ <![CDATA[com.google.common.*;version="[16.0.1,19)",!io.netty.*,*]]></Import-Package>
197+ <Private-Package>com.datastax.shaded.*</Private-Package>
198+ </instructions>
199+ </configuration>
200+ </execution>
201+ </executions>
202+ </plugin>
203+ <plugin>
204+ <artifactId>maven-shade-plugin</artifactId>
205+ <version>2.3</version>
206+ <executions>
207+ <execution>
208+ <phase>package</phase>
209+ <goals>
210+ <goal>shade</goal>
211+ </goals>
212+ <configuration>
213+ <shadedArtifactAttached>true</shadedArtifactAttached>
214+ <artifactSet>
215+ <includes>
216+ <include>io.netty:*</include>
217+ </includes>
218+ <excludes>
219+ <exclude>io.netty:netty-transport-native-epoll</exclude>
220+ </excludes>
221+ </artifactSet>
222+ <relocations>
223+ <relocation>
224+ <pattern>io.netty</pattern>
225+ <shadedPattern>com.datastax.shaded.netty</shadedPattern>
226+ </relocation>
227+ </relocations>
228+ <transformers>
229+ <transformer
230+ implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
231+ <resources>
232+ <resource>META-INF/MANIFEST.MF</resource>
233+ <resource>META-INF/io.netty.versions.properties</resource>
234+ <resource>META-INF/maven/io.netty/netty-buffer/pom.properties</resource>
235+ <resource>META-INF/maven/io.netty/netty-buffer/pom.xml</resource>
236+ <resource>META-INF/maven/io.netty/netty-codec/pom.properties</resource>
237+ <resource>META-INF/maven/io.netty/netty-codec/pom.xml</resource>
238+ <resource>META-INF/maven/io.netty/netty-common/pom.properties</resource>
239+ <resource>META-INF/maven/io.netty/netty-common/pom.xml</resource>
240+ <resource>META-INF/maven/io.netty/netty-handler/pom.properties</resource>
241+ <resource>META-INF/maven/io.netty/netty-handler/pom.xml</resource>
242+ <resource>META-INF/maven/io.netty/netty-transport/pom.properties</resource>
243+ <resource>META-INF/maven/io.netty/netty-transport/pom.xml</resource>
244+ </resources>
245+ </transformer>
246+ <!-- Pick up the alternate manifest that was generated by the alternate execution of the bundle plugin -->
247+ <transformer
248+ implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
249+ <resource>META-INF/MANIFEST.MF</resource>
250+ <file>${project.build.directory}/META-INF-shaded/MANIFEST.MF</file>
251+ </transformer>
252+ </transformers>
253+ </configuration>
254+ </execution>
255+ </executions>
256+ </plugin>
465257 </plugins>
466- </build>
467- </profile>
468- </profiles>
469-
470- <licenses>
471- <license>
472- <name>Apache 2</name>
473- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
474- <distribution>repo</distribution>
475- <comments>Apache License Version 2.0</comments>
476- </license>
477- </licenses>
478-
479- <scm>
480- <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
481- <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
482- <url>https://github.com/datastax/java-driver</url>
483- <tag>HEAD</tag>
484- </scm>
485-
486- <developers>
487- <developer>
488- <name>Various</name>
489- <organization>DataStax</organization>
490- </developer>
491- </developers>
258+
259+ <pluginManagement>
260+ <plugins>
261+ <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
262+ <plugin>
263+ <groupId>org.eclipse.m2e</groupId>
264+ <artifactId>lifecycle-mapping</artifactId>
265+ <version>1.0.0</version>
266+ <configuration>
267+ <lifecycleMappingMetadata>
268+ <pluginExecutions>
269+ <pluginExecution>
270+ <pluginExecutionFilter>
271+ <groupId>org.apache.maven.plugins</groupId>
272+ <artifactId>maven-jar-plugin</artifactId>
273+ <versionRange>[2.2,)</versionRange>
274+ <goals>
275+ <goal>test-jar</goal>
276+ </goals>
277+ </pluginExecutionFilter>
278+ <action>
279+ <ignore/>
280+ </action>
281+ </pluginExecution>
282+ </pluginExecutions>
283+ </lifecycleMappingMetadata>
284+ </configuration>
285+ </plugin>
286+ </plugins>
287+ </pluginManagement>
288+ <extensions>
289+ <extension>
290+ <groupId>kr.motd.maven</groupId>
291+ <artifactId>os-maven-plugin</artifactId>
292+ <version>1.4.1.Final</version>
293+ </extension>
294+ </extensions>
295+ </build>
296+
297+ <profiles>
298+ <profile>
299+ <id>unit</id>
300+ <properties>
301+ <env>default</env>
302+ </properties>
303+ <!-- do not use activeByDefault as other profiles might be active -->
304+ <activation>
305+ <property>
306+ <name>!activateUnitTests</name>
307+ </property>
308+ </activation>
309+ <build>
310+ <plugins>
311+ <plugin>
312+ <groupId>org.apache.maven.plugins</groupId>
313+ <artifactId>maven-surefire-plugin</artifactId>
314+ <version>2.16</version>
315+ <configuration>
316+ <groups>unit</groups>
317+ <useFile>false</useFile>
318+ <systemPropertyVariables>
319+ <cassandra.version>${cassandra.version}</cassandra.version>
320+ <ipprefix>${ipprefix}</ipprefix>
321+ <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60
322+ </com.datastax.driver.NEW_NODE_DELAY_SECONDS>
323+ </systemPropertyVariables>
324+ <classpathDependencyExcludes>
325+ <classpathDependencyExcludes>io.netty:netty-transport-native-epoll
326+ </classpathDependencyExcludes>
327+ </classpathDependencyExcludes>
328+ <!--May be needed for debugging-->
329+ <!--<forkMode>never</forkMode>-->
330+ </configuration>
331+ </plugin>
332+ </plugins>
333+ </build>
334+ </profile>
335+
336+ <profile>
337+ <id>short</id>
338+ <properties>
339+ <env>default</env>
340+ </properties>
341+ <build>
342+ <plugins>
343+ <plugin>
344+ <groupId>org.apache.maven.plugins</groupId>
345+ <artifactId>maven-surefire-plugin</artifactId>
346+ <version>2.16</version>
347+ <configuration>
348+ <groups>unit,short</groups>
349+ <useFile>false</useFile>
350+ <systemPropertyVariables>
351+ <cassandra.version>${cassandra.version}</cassandra.version>
352+ <ipprefix>${ipprefix}</ipprefix>
353+ </systemPropertyVariables>
354+ <classpathDependencyExcludes>
355+ <classpathDependencyExcludes>io.netty:netty-transport-native-epoll
356+ </classpathDependencyExcludes>
357+ </classpathDependencyExcludes>
358+ </configuration>
359+ </plugin>
360+ </plugins>
361+ </build>
362+ </profile>
363+
364+ <profile>
365+ <id>isolated</id>
366+ <properties>
367+ <env>default</env>
368+ </properties>
369+ <build>
370+ <plugins>
371+ <plugin>
372+ <groupId>org.apache.maven.plugins</groupId>
373+ <artifactId>maven-surefire-plugin</artifactId>
374+ <version>2.16</version>
375+ <configuration>
376+ <forkCount>1</forkCount>
377+ <reuseForks>false</reuseForks>
378+ <groups>isolated</groups>
379+ <!-- Files containing tests to be included must be added here.
380+ this prevents a fork being created for each test class. -->
381+ <includes>
382+ <include>**/SSL*Test.java</include>
383+ </includes>
384+ <reportNameSuffix>isolated</reportNameSuffix>
385+ <useFile>false</useFile>
386+ <systemPropertyVariables>
387+ <cassandra.version>${cassandra.version}</cassandra.version>
388+ <ipprefix>${ipprefix}</ipprefix>
389+ </systemPropertyVariables>
390+ <classpathDependencyExcludes>
391+ <classpathDependencyExcludes>io.netty:netty-transport-native-epoll
392+ </classpathDependencyExcludes>
393+ </classpathDependencyExcludes>
394+ </configuration>
395+ </plugin>
396+ </plugins>
397+ </build>
398+ </profile>
399+
400+ <profile>
401+ <id>long</id>
402+ <properties>
403+ <env>default</env>
404+ </properties>
405+ <build>
406+ <plugins>
407+ <plugin>
408+ <groupId>org.apache.maven.plugins</groupId>
409+ <artifactId>maven-surefire-plugin</artifactId>
410+ <version>2.16</version>
411+ <configuration>
412+ <groups>unit,short,long</groups>
413+ <useFile>false</useFile>
414+ <systemPropertyVariables>
415+ <cassandra.version>${cassandra.version}</cassandra.version>
416+ <ipprefix>${ipprefix}</ipprefix>
417+ </systemPropertyVariables>
418+ <classpathDependencyExcludes>
419+ <classpathDependencyExcludes>io.netty:netty-transport-native-epoll
420+ </classpathDependencyExcludes>
421+ </classpathDependencyExcludes>
422+ </configuration>
423+ </plugin>
424+ </plugins>
425+ </build>
426+ </profile>
427+
428+ <profile>
429+ <id>duration</id>
430+ <properties>
431+ <env>default</env>
432+ </properties>
433+ <build>
434+ <plugins>
435+ <plugin>
436+ <groupId>org.apache.maven.plugins</groupId>
437+ <artifactId>maven-surefire-plugin</artifactId>
438+ <version>2.16</version>
439+ <configuration>
440+ <groups>unit,short,long,duration</groups>
441+ <useFile>false</useFile>
442+ <systemPropertyVariables>
443+ <cassandra.version>${cassandra.version}</cassandra.version>
444+ <ipprefix>${ipprefix}</ipprefix>
445+ </systemPropertyVariables>
446+ <classpathDependencyExcludes>
447+ <classpathDependencyExcludes>io.netty:netty-transport-native-epoll
448+ </classpathDependencyExcludes>
449+ </classpathDependencyExcludes>
450+ </configuration>
451+ </plugin>
452+ </plugins>
453+ </build>
454+ </profile>
455+
456+ <profile>
457+ <id>doc</id>
458+ <properties>
459+ <env>default</env>
460+ </properties>
461+ <build>
462+ <plugins>
463+ <plugin>
464+ <groupId>org.apache.maven.plugins</groupId>
465+ <artifactId>maven-surefire-plugin</artifactId>
466+ <version>2.16</version>
467+ <configuration>
468+ <groups>unit,doc</groups>
469+ <useFile>false</useFile>
470+ <systemPropertyVariables>
471+ <cassandra.version>${cassandra.version}</cassandra.version>
472+ <ipprefix>${ipprefix}</ipprefix>
473+ </systemPropertyVariables>
474+ <classpathDependencyExcludes>
475+ <classpathDependencyExcludes>io.netty:netty-transport-native-epoll
476+ </classpathDependencyExcludes>
477+ </classpathDependencyExcludes>
478+ </configuration>
479+ </plugin>
480+ </plugins>
481+ </build>
482+ </profile>
483+ </profiles>
484+
485+ <licenses>
486+ <license>
487+ <name>Apache 2</name>
488+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
489+ <distribution>repo</distribution>
490+ <comments>Apache License Version 2.0</comments>
491+ </license>
492+ </licenses>
493+
494+ <scm>
495+ <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
496+ <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
497+ <url>https://github.com/datastax/java-driver</url>
498+ <tag>HEAD</tag>
499+ </scm>
500+
501+ <developers>
502+ <developer>
503+ <name>Various</name>
504+ <organization>DataStax</organization>
505+ </developer>
506+ </developers>
492507
493508 </project>
494509
modified driver-dist/pom.xml +133 −132
@@ -15,147 +15,148 @@
1515 limitations under the License.
1616
1717 -->
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>3.0.0-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>3.0.0-SNAPSHOT</version>
25+ </parent>
26+ <artifactId>cassandra-driver-dist</artifactId>
2627
27- <properties>
28- <main.basedir>${project.parent.basedir}</main.basedir>
29- </properties>
28+ <properties>
29+ <main.basedir>${project.parent.basedir}</main.basedir>
30+ </properties>
3031
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>
3334
34- <name>DataStax Java Driver for Apache Cassandra - Binary distribution</name>
35+ <name>DataStax Java Driver for Apache Cassandra - Binary distribution</name>
3536
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>
4344
44- <dependency>
45- <groupId>com.datastax.cassandra</groupId>
46- <artifactId>cassandra-driver-dse</artifactId>
47- <version>${project.parent.version}</version>
48- </dependency>
45+ <dependency>
46+ <groupId>com.datastax.cassandra</groupId>
47+ <artifactId>cassandra-driver-dse</artifactId>
48+ <version>${project.parent.version}</version>
49+ </dependency>
4950
50- <dependency>
51- <groupId>com.datastax.cassandra</groupId>
52- <artifactId>cassandra-driver-mapping</artifactId>
53- <version>${project.parent.version}</version>
54- </dependency>
51+ <dependency>
52+ <groupId>com.datastax.cassandra</groupId>
53+ <artifactId>cassandra-driver-mapping</artifactId>
54+ <version>${project.parent.version}</version>
55+ </dependency>
5556
56- <dependency>
57- <groupId>com.datastax.cassandra</groupId>
58- <artifactId>cassandra-driver-extras</artifactId>
59- <version>${project.parent.version}</version>
60- </dependency>
57+ <dependency>
58+ <groupId>com.datastax.cassandra</groupId>
59+ <artifactId>cassandra-driver-extras</artifactId>
60+ <version>${project.parent.version}</version>
61+ </dependency>
6162
62- </dependencies>
63+ </dependencies>
6364
64- <build>
65- <finalName>cassandra-java-driver-${project.version}</finalName>
66- <plugins>
67- <plugin>
68- <artifactId>maven-javadoc-plugin</artifactId>
69- <version>2.9.1</version>
70- <executions>
71- <execution>
72- <id>dependencies-javadoc</id>
73- <phase>package</phase>
74- <goals>
75- <goal>jar</goal>
76- </goals>
77- <configuration>
78- <includeDependencySources>true</includeDependencySources>
79- <!-- optional dependencies from other modules (must be explicitly declared here in order to be correctly resolved) -->
80- <additionalDependencies>
81- <additionalDependency>
82- <groupId>org.xerial.snappy</groupId>
83- <artifactId>snappy-java</artifactId>
84- <version>${snappy.version}</version>
85- </additionalDependency>
86- <additionalDependency>
87- <groupId>net.jpountz.lz4</groupId>
88- <artifactId>lz4</artifactId>
89- <version>${lz4.version}</version>
90- </additionalDependency>
91- <additionalDependency>
92- <groupId>org.hdrhistogram</groupId>
93- <artifactId>HdrHistogram</artifactId>
94- <version>${hdr.version}</version>
95- </additionalDependency>
96- <additionalDependency>
97- <groupId>com.fasterxml.jackson.core</groupId>
98- <artifactId>jackson-core</artifactId>
99- <version>${jackson.version}</version>
100- </additionalDependency>
101- <additionalDependency>
102- <groupId>com.fasterxml.jackson.core</groupId>
103- <artifactId>jackson-databind</artifactId>
104- <version>${jackson.version}</version>
105- </additionalDependency>
106- <additionalDependency>
107- <groupId>joda-time</groupId>
108- <artifactId>joda-time</artifactId>
109- <version>${joda.version}</version>
110- </additionalDependency>
111- <additionalDependency>
112- <groupId>javax.json</groupId>
113- <artifactId>javax.json-api</artifactId>
114- <version>${jsr353-api.version}</version>
115- </additionalDependency>
116- </additionalDependencies>
117- </configuration>
118- </execution>
119- </executions>
120- </plugin>
121- <plugin>
122- <artifactId>maven-assembly-plugin</artifactId>
123- <version>2.6</version>
124- <executions>
125- <execution>
126- <id>assemble-binary-tarball</id>
127- <phase>package</phase>
128- <goals>
129- <goal>single</goal>
130- </goals>
131- </execution>
132- </executions>
133- <configuration>
134- <appendAssemblyId>false</appendAssemblyId>
135- <descriptors>
136- <descriptor>src/assembly/binary-tarball.xml</descriptor>
137- </descriptors>
138- <tarLongFileMode>posix</tarLongFileMode>
139- </configuration>
140- </plugin>
141- <plugin>
142- <groupId>org.apache.maven.plugins</groupId>
143- <artifactId>maven-install-plugin</artifactId>
144- <version>2.5.1</version>
145- <configuration>
146- <skip>true</skip>
147- </configuration>
148- </plugin>
149- <plugin>
150- <groupId>org.apache.maven.plugins</groupId>
151- <artifactId>maven-deploy-plugin</artifactId>
152- <version>2.8.1</version>
153- <configuration>
154- <skip>true</skip>
155- </configuration>
156- </plugin>
157- </plugins>
158- </build>
65+ <build>
66+ <finalName>cassandra-java-driver-${project.version}</finalName>
67+ <plugins>
68+ <plugin>
69+ <artifactId>maven-javadoc-plugin</artifactId>
70+ <version>2.9.1</version>
71+ <executions>
72+ <execution>
73+ <id>dependencies-javadoc</id>
74+ <phase>package</phase>
75+ <goals>
76+ <goal>jar</goal>
77+ </goals>
78+ <configuration>
79+ <includeDependencySources>true</includeDependencySources>
80+ <!-- optional dependencies from other modules (must be explicitly declared here in order to be correctly resolved) -->
81+ <additionalDependencies>
82+ <additionalDependency>
83+ <groupId>org.xerial.snappy</groupId>
84+ <artifactId>snappy-java</artifactId>
85+ <version>${snappy.version}</version>
86+ </additionalDependency>
87+ <additionalDependency>
88+ <groupId>net.jpountz.lz4</groupId>
89+ <artifactId>lz4</artifactId>
90+ <version>${lz4.version}</version>
91+ </additionalDependency>
92+ <additionalDependency>
93+ <groupId>org.hdrhistogram</groupId>
94+ <artifactId>HdrHistogram</artifactId>
95+ <version>${hdr.version}</version>
96+ </additionalDependency>
97+ <additionalDependency>
98+ <groupId>com.fasterxml.jackson.core</groupId>
99+ <artifactId>jackson-core</artifactId>
100+ <version>${jackson.version}</version>
101+ </additionalDependency>
102+ <additionalDependency>
103+ <groupId>com.fasterxml.jackson.core</groupId>
104+ <artifactId>jackson-databind</artifactId>
105+ <version>${jackson.version}</version>
106+ </additionalDependency>
107+ <additionalDependency>
108+ <groupId>joda-time</groupId>
109+ <artifactId>joda-time</artifactId>
110+ <version>${joda.version}</version>
111+ </additionalDependency>
112+ <additionalDependency>
113+ <groupId>javax.json</groupId>
114+ <artifactId>javax.json-api</artifactId>
115+ <version>${jsr353-api.version}</version>
116+ </additionalDependency>
117+ </additionalDependencies>
118+ </configuration>
119+ </execution>
120+ </executions>
121+ </plugin>
122+ <plugin>
123+ <artifactId>maven-assembly-plugin</artifactId>
124+ <version>2.6</version>
125+ <executions>
126+ <execution>
127+ <id>assemble-binary-tarball</id>
128+ <phase>package</phase>
129+ <goals>
130+ <goal>single</goal>
131+ </goals>
132+ </execution>
133+ </executions>
134+ <configuration>
135+ <appendAssemblyId>false</appendAssemblyId>
136+ <descriptors>
137+ <descriptor>src/assembly/binary-tarball.xml</descriptor>
138+ </descriptors>
139+ <tarLongFileMode>posix</tarLongFileMode>
140+ </configuration>
141+ </plugin>
142+ <plugin>
143+ <groupId>org.apache.maven.plugins</groupId>
144+ <artifactId>maven-install-plugin</artifactId>
145+ <version>2.5.1</version>
146+ <configuration>
147+ <skip>true</skip>
148+ </configuration>
149+ </plugin>
150+ <plugin>
151+ <groupId>org.apache.maven.plugins</groupId>
152+ <artifactId>maven-deploy-plugin</artifactId>
153+ <version>2.8.1</version>
154+ <configuration>
155+ <skip>true</skip>
156+ </configuration>
157+ </plugin>
158+ </plugins>
159+ </build>
159160
160161 </project>
161162
modified driver-dse/pom.xml +65 −64
@@ -15,76 +15,77 @@
1515 limitations under the License.
1616
1717 -->
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>3.0.0-SNAPSHOT</version>
24- </parent>
25- <artifactId>cassandra-driver-dse</artifactId>
26- <packaging>bundle</packaging>
27- <name>DataStax Java Driver for Apache Cassandra - DataStax Enterprise Module</name>
28- <description>Extensions to the CQL driver for use with DataStax Enterprise.</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>3.0.0-SNAPSHOT</version>
25+ </parent>
26+ <artifactId>cassandra-driver-dse</artifactId>
27+ <packaging>bundle</packaging>
28+ <name>DataStax Java Driver for Apache Cassandra - DataStax Enterprise Module</name>
29+ <description>Extensions to the CQL driver for use with DataStax Enterprise.</description>
30+ <url>https://github.com/datastax/java-driver</url>
3031
31- <properties>
32- <main.basedir>${project.parent.basedir}</main.basedir>
33- </properties>
32+ <properties>
33+ <main.basedir>${project.parent.basedir}</main.basedir>
34+ </properties>
3435
35- <dependencies>
36- <dependency>
37- <groupId>com.datastax.cassandra</groupId>
38- <artifactId>cassandra-driver-core</artifactId>
39- <version>${project.parent.version}</version>
40- </dependency>
41- </dependencies>
36+ <dependencies>
37+ <dependency>
38+ <groupId>com.datastax.cassandra</groupId>
39+ <artifactId>cassandra-driver-core</artifactId>
40+ <version>${project.parent.version}</version>
41+ </dependency>
42+ </dependencies>
4243
43- <build>
44- <plugins>
45- <plugin>
46- <groupId>org.apache.felix</groupId>
47- <artifactId>maven-bundle-plugin</artifactId>
48- <extensions>true</extensions>
49- <version>2.4.0</version>
50- <configuration>
51- <instructions>
52- <Bundle-SymbolicName>com.datastax.driver.dse</Bundle-SymbolicName>
53- <Bundle-Version>${project.version}</Bundle-Version>
54- <_include>-osgi.bnd</_include>
55- </instructions>
56- <supportedProjectTypes>
57- <supportedProjectType>jar</supportedProjectType>
58- <supportedProjectType>bundle</supportedProjectType>
59- <supportedProjectType>pom</supportedProjectType>
60- </supportedProjectTypes>
61- </configuration>
62- </plugin>
63- </plugins>
64- </build>
44+ <build>
45+ <plugins>
46+ <plugin>
47+ <groupId>org.apache.felix</groupId>
48+ <artifactId>maven-bundle-plugin</artifactId>
49+ <extensions>true</extensions>
50+ <version>2.4.0</version>
51+ <configuration>
52+ <instructions>
53+ <Bundle-SymbolicName>com.datastax.driver.dse</Bundle-SymbolicName>
54+ <Bundle-Version>${project.version}</Bundle-Version>
55+ <_include>-osgi.bnd</_include>
56+ </instructions>
57+ <supportedProjectTypes>
58+ <supportedProjectType>jar</supportedProjectType>
59+ <supportedProjectType>bundle</supportedProjectType>
60+ <supportedProjectType>pom</supportedProjectType>
61+ </supportedProjectTypes>
62+ </configuration>
63+ </plugin>
64+ </plugins>
65+ </build>
6566
66- <licenses>
67- <license>
68- <name>Apache 2</name>
69- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
70- <distribution>repo</distribution>
71- <comments>Apache License Version 2.0</comments>
72- </license>
73- </licenses>
67+ <licenses>
68+ <license>
69+ <name>Apache 2</name>
70+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
71+ <distribution>repo</distribution>
72+ <comments>Apache License Version 2.0</comments>
73+ </license>
74+ </licenses>
7475
75- <scm>
76- <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
77- <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
78- <url>https://github.com/datastax/java-driver</url>
79- <tag>HEAD</tag>
80- </scm>
76+ <scm>
77+ <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
78+ <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
79+ <url>https://github.com/datastax/java-driver</url>
80+ <tag>HEAD</tag>
81+ </scm>
8182
82- <developers>
83- <developer>
84- <name>Various</name>
85- <organization>DataStax</organization>
86- </developer>
87- </developers>
83+ <developers>
84+ <developer>
85+ <name>Various</name>
86+ <organization>DataStax</organization>
87+ </developer>
88+ </developers>
8889
8990 </project>
9091
modified driver-examples/osgi/pom.xml +292 −291
@@ -15,298 +15,299 @@
1515 limitations under the License.
1616
1717 -->
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>3.0.0-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- <logback.version>1.1.3</logback.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>com.jcabi</groupId>
96- <artifactId>jcabi-manifests</artifactId>
97- <version>1.1</version>
98- <scope>test</scope>
99- </dependency>
100-
101- <dependency>
102- <groupId>javax.servlet</groupId>
103- <artifactId>javax.servlet-api</artifactId>
104- <version>3.1.0</version>
105- <scope>test</scope>
106- </dependency>
107-
108- <dependency>
109- <groupId>javax.inject</groupId>
110- <artifactId>javax.inject</artifactId>
111- <version>1</version>
112- <scope>test</scope>
113- </dependency>
114-
115- <dependency>
116- <groupId>org.apache.commons</groupId>
117- <artifactId>commons-exec</artifactId>
118- <version>1.3</version>
119- <scope>test</scope>
120- </dependency>
121-
122- <dependency>
123- <groupId>ch.qos.logback</groupId>
124- <artifactId>logback-classic</artifactId>
125- <version>${logback.version}</version>
126- </dependency>
127-
128- <dependency>
129- <groupId>ch.qos.logback</groupId>
130- <artifactId>logback-core</artifactId>
131- <version>${logback.version}</version>
132- </dependency>
133- </dependencies>
134-
135- <build>
136- <plugins>
137- <plugin>
138- <groupId>org.apache.maven.plugins</groupId>
139- <artifactId>maven-failsafe-plugin</artifactId>
140- <version>2.18.1</version>
141- <executions>
142- <execution>
143- <goals>
144- <goal>integration-test</goal>
145- <goal>verify</goal>
146- </goals>
147- </execution>
148- </executions>
149- </plugin>
150- <plugin>
151- <groupId>org.apache.felix</groupId>
152- <artifactId>maven-bundle-plugin</artifactId>
153- <extensions>true</extensions>
154- <version>2.4.0</version>
155- <configuration>
156- <instructions>
157- <Bundle-SymbolicName>com.datastax.driver.osgi</Bundle-SymbolicName>
158- <Bundle-Version>${project.version}</Bundle-Version>
159- <Export-Package>com.datastax.driver.osgi.api,!com.datastax.driver.osgi.impl</Export-Package>
160- <Bundle-Activator>com.datastax.driver.osgi.impl.Activator</Bundle-Activator>
161- <_include>-osgi.bnd</_include>
162- </instructions>
163- <supportedProjectTypes>
164- <supportedProjectType>jar</supportedProjectType>
165- <supportedProjectType>bundle</supportedProjectType>
166- <supportedProjectType>pom</supportedProjectType>
167- </supportedProjectTypes>
168- </configuration>
169- <executions>
170- <execution>
171- <id>bundle-manifest</id>
172- <phase>compile</phase>
173- <goals>
174- <goal>manifest</goal>
175- </goals>
176- </execution>
177- </executions>
178- </plugin>
179- </plugins>
180- </build>
181-
182- <profiles>
183- <profile>
184- <!-- Skip test by default, short or long is required to run unit tests since pax-exam will throw exception if it encounters a
185- test with no matching methods. -->
186- <id>default</id>
187- <properties>
188- <env>default</env>
189- </properties>
190- <activation>
191- <activeByDefault>true</activeByDefault>
192- </activation>
193- <build>
194- <plugins>
195- <plugin>
196- <groupId>org.apache.maven.plugins</groupId>
197- <artifactId>maven-surefire-plugin</artifactId>
198- <version>2.14</version>
199- <configuration>
200- </configuration>
201- </plugin>
202- <plugin>
203- <groupId>org.apache.maven.plugins</groupId>
204- <artifactId>maven-failsafe-plugin</artifactId>
205- <version>2.18.1</version>
206- <configuration>
207- <skip>true</skip>
208- </configuration>
209- </plugin>
210- </plugins>
211- </build>
212- </profile>
213-
214- <profile>
215- <id>short</id>
216- <properties>
217- <env>default</env>
218- </properties>
219- <build>
220- <plugins>
221- <plugin>
222- <groupId>org.apache.maven.plugins</groupId>
223- <artifactId>maven-surefire-plugin</artifactId>
224- <version>2.14</version>
225- <configuration>
226- <groups>unit,short</groups>
227- <useFile>false</useFile>
228- <systemPropertyVariables>
229- <cassandra.version>${cassandra.version}</cassandra.version>
230- <ipprefix>${ipprefix}</ipprefix>
231- </systemPropertyVariables>
232- </configuration>
233- </plugin>
234- <plugin>
235- <groupId>org.apache.maven.plugins</groupId>
236- <artifactId>maven-failsafe-plugin</artifactId>
237- <version>2.18.1</version>
238- <configuration>
239- <groups>unit,short</groups>
240- <useFile>false</useFile>
241- <systemPropertyVariables>
242- <cassandra.version>${cassandra.version}</cassandra.version>
243- <ipprefix>${ipprefix}</ipprefix>
244- </systemPropertyVariables>
245- </configuration>
246- </plugin>
247- </plugins>
248- </build>
249- </profile>
250-
251- <profile>
252- <id>long</id>
253- <properties>
254- <env>default</env>
255- </properties>
256- <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>3.0.0-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+ <logback.version>1.1.3</logback.version>
36+ <main.basedir>${project.parent.parent.basedir}</main.basedir>
37+ </properties>
38+
39+ <dependencies>
40+ <dependency>
41+ <groupId>com.datastax.cassandra</groupId>
42+ <artifactId>cassandra-driver-core</artifactId>
43+ <version>${project.parent.version}</version>
44+ </dependency>
45+
46+ <dependency>
47+ <groupId>org.apache.felix</groupId>
48+ <artifactId>org.apache.felix.framework</artifactId>
49+ <version>${felix.version}</version>
50+ </dependency>
51+
52+ <dependency>
53+ <groupId>com.datastax.cassandra</groupId>
54+ <artifactId>cassandra-driver-core</artifactId>
55+ <version>${project.parent.version}</version>
56+ <type>test-jar</type>
57+ <scope>test</scope>
58+ </dependency>
59+
60+ <dependency>
61+ <groupId>org.ops4j.pax.exam</groupId>
62+ <artifactId>pax-exam</artifactId>
63+ <version>${pax-exam.version}</version>
64+ <scope>test</scope>
65+ </dependency>
66+
67+ <dependency>
68+ <groupId>org.ops4j.pax.exam</groupId>
69+ <artifactId>pax-exam-testng</artifactId>
70+ <version>${pax-exam.version}</version>
71+ <scope>test</scope>
72+ </dependency>
73+
74+ <dependency>
75+ <groupId>org.ops4j.pax.exam</groupId>
76+ <artifactId>pax-exam-container-native</artifactId>
77+ <version>${pax-exam.version}</version>
78+ <scope>test</scope>
79+ </dependency>
80+
81+ <dependency>
82+ <groupId>org.ops4j.pax.exam</groupId>
83+ <artifactId>pax-exam-link-mvn</artifactId>
84+ <version>${pax-exam.version}</version>
85+ <scope>test</scope>
86+ </dependency>
87+
88+ <dependency>
89+ <groupId>javax.transaction</groupId>
90+ <artifactId>jta</artifactId>
91+ <version>1.1</version>
92+ <scope>test</scope>
93+ </dependency>
94+
95+ <dependency>
96+ <groupId>com.jcabi</groupId>
97+ <artifactId>jcabi-manifests</artifactId>
98+ <version>1.1</version>
99+ <scope>test</scope>
100+ </dependency>
101+
102+ <dependency>
103+ <groupId>javax.servlet</groupId>
104+ <artifactId>javax.servlet-api</artifactId>
105+ <version>3.1.0</version>
106+ <scope>test</scope>
107+ </dependency>
108+
109+ <dependency>
110+ <groupId>javax.inject</groupId>
111+ <artifactId>javax.inject</artifactId>
112+ <version>1</version>
113+ <scope>test</scope>
114+ </dependency>
115+
116+ <dependency>
117+ <groupId>org.apache.commons</groupId>
118+ <artifactId>commons-exec</artifactId>
119+ <version>1.3</version>
120+ <scope>test</scope>
121+ </dependency>
122+
123+ <dependency>
124+ <groupId>ch.qos.logback</groupId>
125+ <artifactId>logback-classic</artifactId>
126+ <version>${logback.version}</version>
127+ </dependency>
128+
129+ <dependency>
130+ <groupId>ch.qos.logback</groupId>
131+ <artifactId>logback-core</artifactId>
132+ <version>${logback.version}</version>
133+ </dependency>
134+ </dependencies>
135+
136+ <build>
257137 <plugins>
258- <plugin>
259- <groupId>org.apache.maven.plugins</groupId>
260- <artifactId>maven-surefire-plugin</artifactId>
261- <version>2.16</version>
262- <configuration>
263- <groups>unit,short,long</groups>
264- <useFile>false</useFile>
265- <systemPropertyVariables>
266- <cassandra.version>${cassandra.version}</cassandra.version>
267- <ipprefix>${ipprefix}</ipprefix>
268- </systemPropertyVariables>
269- </configuration>
270- </plugin>
271- <plugin>
272- <groupId>org.apache.maven.plugins</groupId>
273- <artifactId>maven-failsafe-plugin</artifactId>
274- <version>2.18.1</version>
275- <configuration>
276- <groups>unit,short,long</groups>
277- <useFile>false</useFile>
278- <systemPropertyVariables>
279- <cassandra.version>${cassandra.version}</cassandra.version>
280- <ipprefix>${ipprefix}</ipprefix>
281- </systemPropertyVariables>
282- </configuration>
283- </plugin>
138+ <plugin>
139+ <groupId>org.apache.maven.plugins</groupId>
140+ <artifactId>maven-failsafe-plugin</artifactId>
141+ <version>2.18.1</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>
284180 </plugins>
285- </build>
286- </profile>
287- </profiles>
288-
289- <licenses>
290- <license>
291- <name>Apache 2</name>
292- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
293- <distribution>repo</distribution>
294- <comments>Apache License Version 2.0</comments>
295- </license>
296- </licenses>
297-
298- <scm>
299- <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
300- <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
301- <url>https://github.com/datastax/java-driver</url>
302- <tag>HEAD</tag>
303- </scm>
304-
305- <developers>
306- <developer>
307- <name>Various</name>
308- <organization>DataStax</organization>
309- </developer>
310- </developers>
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>
195+ <plugins>
196+ <plugin>
197+ <groupId>org.apache.maven.plugins</groupId>
198+ <artifactId>maven-surefire-plugin</artifactId>
199+ <version>2.14</version>
200+ <configuration>
201+ </configuration>
202+ </plugin>
203+ <plugin>
204+ <groupId>org.apache.maven.plugins</groupId>
205+ <artifactId>maven-failsafe-plugin</artifactId>
206+ <version>2.18.1</version>
207+ <configuration>
208+ <skip>true</skip>
209+ </configuration>
210+ </plugin>
211+ </plugins>
212+ </build>
213+ </profile>
214+
215+ <profile>
216+ <id>short</id>
217+ <properties>
218+ <env>default</env>
219+ </properties>
220+ <build>
221+ <plugins>
222+ <plugin>
223+ <groupId>org.apache.maven.plugins</groupId>
224+ <artifactId>maven-surefire-plugin</artifactId>
225+ <version>2.14</version>
226+ <configuration>
227+ <groups>unit,short</groups>
228+ <useFile>false</useFile>
229+ <systemPropertyVariables>
230+ <cassandra.version>${cassandra.version}</cassandra.version>
231+ <ipprefix>${ipprefix}</ipprefix>
232+ </systemPropertyVariables>
233+ </configuration>
234+ </plugin>
235+ <plugin>
236+ <groupId>org.apache.maven.plugins</groupId>
237+ <artifactId>maven-failsafe-plugin</artifactId>
238+ <version>2.18.1</version>
239+ <configuration>
240+ <groups>unit,short</groups>
241+ <useFile>false</useFile>
242+ <systemPropertyVariables>
243+ <cassandra.version>${cassandra.version}</cassandra.version>
244+ <ipprefix>${ipprefix}</ipprefix>
245+ </systemPropertyVariables>
246+ </configuration>
247+ </plugin>
248+ </plugins>
249+ </build>
250+ </profile>
251+
252+ <profile>
253+ <id>long</id>
254+ <properties>
255+ <env>default</env>
256+ </properties>
257+ <build>
258+ <plugins>
259+ <plugin>
260+ <groupId>org.apache.maven.plugins</groupId>
261+ <artifactId>maven-surefire-plugin</artifactId>
262+ <version>2.16</version>
263+ <configuration>
264+ <groups>unit,short,long</groups>
265+ <useFile>false</useFile>
266+ <systemPropertyVariables>
267+ <cassandra.version>${cassandra.version}</cassandra.version>
268+ <ipprefix>${ipprefix}</ipprefix>
269+ </systemPropertyVariables>
270+ </configuration>
271+ </plugin>
272+ <plugin>
273+ <groupId>org.apache.maven.plugins</groupId>
274+ <artifactId>maven-failsafe-plugin</artifactId>
275+ <version>2.18.1</version>
276+ <configuration>
277+ <groups>unit,short,long</groups>
278+ <useFile>false</useFile>
279+ <systemPropertyVariables>
280+ <cassandra.version>${cassandra.version}</cassandra.version>
281+ <ipprefix>${ipprefix}</ipprefix>
282+ </systemPropertyVariables>
283+ </configuration>
284+ </plugin>
285+ </plugins>
286+ </build>
287+ </profile>
288+ </profiles>
289+
290+ <licenses>
291+ <license>
292+ <name>Apache 2</name>
293+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
294+ <distribution>repo</distribution>
295+ <comments>Apache License Version 2.0</comments>
296+ </license>
297+ </licenses>
298+
299+ <scm>
300+ <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
301+ <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
302+ <url>https://github.com/datastax/java-driver</url>
303+ <tag>HEAD</tag>
304+ </scm>
305+
306+ <developers>
307+ <developer>
308+ <name>Various</name>
309+ <organization>DataStax</organization>
310+ </developer>
311+ </developers>
311312 </project>
312313
modified driver-examples/osgi/src/test/resources/logback.xml +9 −9
@@ -16,12 +16,12 @@
1616
1717 -->
1818 <configuration>
19- <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
20- <layout class="ch.qos.logback.classic.PatternLayout">
21- <Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern>
22- </layout>
23- </appender>
24- <root level="INFO">
25- <appender-ref ref="STDOUT" />
26- </root>
27-</configuration>
No newline at the end of the file
19+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
20+ <layout class="ch.qos.logback.classic.PatternLayout">
21+ <Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern>
22+ </layout>
23+ </appender>
24+ <root level="INFO">
25+ <appender-ref ref="STDOUT"/>
26+ </root>
27+</configuration>
modified driver-examples/pom.xml +63 −62
@@ -15,69 +15,70 @@
1515 limitations under the License.
1616
1717 -->
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>3.0.0-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>3.0.0-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>
3031
31- <properties>
32- <main.basedir>${project.parent.basedir}</main.basedir>
33- </properties>
32+ <properties>
33+ <main.basedir>${project.parent.basedir}</main.basedir>
34+ </properties>
3435
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>
6263
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>
8384 </project>
modified driver-examples/stress/pom.xml +90 −89
@@ -15,95 +15,96 @@
1515 limitations under the License.
1616
1717 -->
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>3.0.0-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>3.0.0-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>3.0.0-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>
9830 <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>3.0.0-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>
108109 </project>
109110
modified driver-extras/pom.xml +247 −246
@@ -15,252 +15,253 @@
1515 limitations under the License.
1616
1717 -->
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/xsd/maven-4.0.0.xsd">
19- <parent>
20- <artifactId>cassandra-driver-parent</artifactId>
21- <groupId>com.datastax.cassandra</groupId>
22- <version>3.0.0-SNAPSHOT</version>
23- </parent>
24- <modelVersion>4.0.0</modelVersion>
25-
26- <artifactId>cassandra-driver-extras</artifactId>
27-
28- <name>DataStax Java Driver for Apache Cassandra - Extras</name>
29- <description>Extended functionality for the Java driver.</description>
30- <url>https://github.com/datastax/java-driver</url>
31-
32- <properties>
33- <main.basedir>${project.parent.basedir}</main.basedir>
34- <test.groups>unit</test.groups>
35- <jdk8.excludes>none</jdk8.excludes>
36- </properties>
37-
38- <dependencies>
39-
40- <dependency>
41- <groupId>com.datastax.cassandra</groupId>
42- <artifactId>cassandra-driver-core</artifactId>
43- <version>${project.parent.version}</version>
44- </dependency>
45-
46- <dependency>
47- <groupId>com.google.guava</groupId>
48- <artifactId>guava</artifactId>
49- <version>${guava.version}</version>
50- </dependency>
51-
52- <dependency>
53- <groupId>com.fasterxml.jackson.core</groupId>
54- <artifactId>jackson-databind</artifactId>
55- <version>${jackson.version}</version>
56- <optional>true</optional>
57- </dependency>
58-
59- <dependency>
60- <groupId>joda-time</groupId>
61- <artifactId>joda-time</artifactId>
62- <version>${joda.version}</version>
63- <optional>true</optional>
64- </dependency>
65-
66- <dependency>
67- <groupId>javax.json</groupId>
68- <artifactId>javax.json-api</artifactId>
69- <version>${jsr353-api.version}</version>
70- <optional>true</optional>
71- </dependency>
72-
73- <dependency>
74- <groupId>com.datastax.cassandra</groupId>
75- <artifactId>cassandra-driver-core</artifactId>
76- <version>${project.parent.version}</version>
77- <type>test-jar</type>
78- <scope>test</scope>
79- </dependency>
80-
81- <dependency>
82- <groupId>com.datastax.cassandra</groupId>
83- <artifactId>cassandra-driver-mapping</artifactId>
84- <version>${project.parent.version}</version>
85- <scope>test</scope>
86- </dependency>
87-
88- <dependency>
89- <groupId>org.testng</groupId>
90- <artifactId>testng</artifactId>
91- <version>${testng.version}</version>
92- <scope>test</scope>
93- </dependency>
94-
95- <dependency>
96- <groupId>org.assertj</groupId>
97- <artifactId>assertj-core</artifactId>
98- <version>${assertj.version}</version>
99- <scope>test</scope>
100- </dependency>
101-
102- <dependency>
103- <groupId>org.mockito</groupId>
104- <artifactId>mockito-all</artifactId>
105- <version>${mockito.version}</version>
106- <scope>test</scope>
107- </dependency>
108-
109- <dependency>
110- <groupId>org.apache.commons</groupId>
111- <artifactId>commons-exec</artifactId>
112- <version>${commons-exec.version}</version>
113- <scope>test</scope>
114- </dependency>
115-
116- <dependency>
117- <groupId>org.glassfish</groupId>
118- <artifactId>javax.json</artifactId>
119- <version>${jsr353-ri.version}</version>
120- <scope>test</scope>
121- </dependency>
122-
123- </dependencies>
124-
125- <build>
126-
127- <plugins>
128-
129- <plugin>
130- <groupId>org.apache.maven.plugins</groupId>
131- <artifactId>maven-compiler-plugin</artifactId>
132- <configuration>
133- <excludes>
134- <exclude>${jdk8.excludes}</exclude>
135- </excludes>
136- <testExcludes>
137- <exclude>${jdk8.excludes}</exclude>
138- </testExcludes>
139- </configuration>
140- </plugin>
141-
142- <plugin>
143- <groupId>org.codehaus.mojo</groupId>
144- <artifactId>animal-sniffer-maven-plugin</artifactId>
145- <configuration>
146- <!--
147- There is no support for JDK 8 yet, see
148- https://github.com/mojohaus/animal-sniffer/issues/1
149- -->
150- <skip>true</skip>
151- <signature>
152- <groupId>org.codehaus.mojo.signature</groupId>
153- <artifactId>java18</artifactId>
154- <version>1.0</version>
155- </signature>
156- </configuration>
157- </plugin>
158-
159- <plugin>
160- <groupId>org.apache.maven.plugins</groupId>
161- <artifactId>maven-surefire-plugin</artifactId>
162- <version>2.16</version>
163- <configuration>
164- <groups>${test.groups}</groups>
165- <useFile>false</useFile>
166- <systemPropertyVariables>
167- <cassandra.version>${cassandra.version}</cassandra.version>
168- <ipprefix>${ipprefix}</ipprefix>
169- </systemPropertyVariables>
170- <classpathDependencyExcludes>
171- <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
172- </classpathDependencyExcludes>
173- <excludes>
174- <exclude>${jdk8.excludes}</exclude>
175- </excludes>
176- </configuration>
177- </plugin>
178-
179- <plugin>
180- <groupId>org.apache.felix</groupId>
181- <artifactId>maven-bundle-plugin</artifactId>
182- <extensions>true</extensions>
183- <version>2.4.0</version>
184- <executions>
185- <execution>
186- <id>bundle-manifest</id>
187- <phase>process-classes</phase>
188- <goals>
189- <goal>manifest</goal>
190- </goals>
191- </execution>
192- </executions>
193- <configuration>
194- <instructions>
195- <Bundle-SymbolicName>com.datastax.driver.extras</Bundle-SymbolicName>
196- <Bundle-Version>${project.version}</Bundle-Version>
197- <_include>-osgi.bnd</_include>
198- </instructions>
199- <supportedProjectTypes>
200- <supportedProjectType>jar</supportedProjectType>
201- <supportedProjectType>bundle</supportedProjectType>
202- <supportedProjectType>pom</supportedProjectType>
203- </supportedProjectTypes>
204- </configuration>
205- </plugin>
206-
207- </plugins>
208-
209- </build>
210-
211- <profiles>
212-
213- <profile>
214- <id>short</id>
215- <properties>
216- <test.groups>unit,short</test.groups>
217- </properties>
218- </profile>
219-
220- <profile>
221- <id>long</id>
222- <properties>
223- <test.groups>unit,short,long</test.groups>
224- </properties>
225- </profile>
226-
227- <!--
228- This profile excludes all JDK 8 dependent classes from
229- compilation. Use this when running tests with a legacy JDK (6 or 7)
230- -->
231- <profile>
232- <id>legacy-jdks</id>
233- <activation>
234- <jdk>[,1.8)</jdk>
235- </activation>
236- <properties>
237- <jdk8.excludes>**/jdk8/*.java</jdk8.excludes>
238- </properties>
239- </profile>
240-
241- </profiles>
242-
243- <licenses>
244- <license>
245- <name>Apache 2</name>
246- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
247- <distribution>repo</distribution>
248- <comments>Apache License Version 2.0</comments>
249- </license>
250- </licenses>
251-
252- <scm>
253- <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
254- <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/xsd/maven-4.0.0.xsd">
20+ <parent>
21+ <artifactId>cassandra-driver-parent</artifactId>
22+ <groupId>com.datastax.cassandra</groupId>
23+ <version>3.0.0-SNAPSHOT</version>
24+ </parent>
25+ <modelVersion>4.0.0</modelVersion>
26+
27+ <artifactId>cassandra-driver-extras</artifactId>
28+
29+ <name>DataStax Java Driver for Apache Cassandra - Extras</name>
30+ <description>Extended functionality for the Java driver.</description>
25531 <url>https://github.com/datastax/java-driver</url>
256- <tag>HEAD</tag>
257- </scm>
258-
259- <developers>
260- <developer>
261- <name>Various</name>
262- <organization>DataStax</organization>
263- </developer>
264- </developers>
32+
33+ <properties>
34+ <main.basedir>${project.parent.basedir}</main.basedir>
35+ <test.groups>unit</test.groups>
36+ <jdk8.excludes>none</jdk8.excludes>
37+ </properties>
38+
39+ <dependencies>
40+
41+ <dependency>
42+ <groupId>com.datastax.cassandra</groupId>
43+ <artifactId>cassandra-driver-core</artifactId>
44+ <version>${project.parent.version}</version>
45+ </dependency>
46+
47+ <dependency>
48+ <groupId>com.google.guava</groupId>
49+ <artifactId>guava</artifactId>
50+ <version>${guava.version}</version>
51+ </dependency>
52+
53+ <dependency>
54+ <groupId>com.fasterxml.jackson.core</groupId>
55+ <artifactId>jackson-databind</artifactId>
56+ <version>${jackson.version}</version>
57+ <optional>true</optional>
58+ </dependency>
59+
60+ <dependency>
61+ <groupId>joda-time</groupId>
62+ <artifactId>joda-time</artifactId>
63+ <version>${joda.version}</version>
64+ <optional>true</optional>
65+ </dependency>
66+
67+ <dependency>
68+ <groupId>javax.json</groupId>
69+ <artifactId>javax.json-api</artifactId>
70+ <version>${jsr353-api.version}</version>
71+ <optional>true</optional>
72+ </dependency>
73+
74+ <dependency>
75+ <groupId>com.datastax.cassandra</groupId>
76+ <artifactId>cassandra-driver-core</artifactId>
77+ <version>${project.parent.version}</version>
78+ <type>test-jar</type>
79+ <scope>test</scope>
80+ </dependency>
81+
82+ <dependency>
83+ <groupId>com.datastax.cassandra</groupId>
84+ <artifactId>cassandra-driver-mapping</artifactId>
85+ <version>${project.parent.version}</version>
86+ <scope>test</scope>
87+ </dependency>
88+
89+ <dependency>
90+ <groupId>org.testng</groupId>
91+ <artifactId>testng</artifactId>
92+ <version>${testng.version}</version>
93+ <scope>test</scope>
94+ </dependency>
95+
96+ <dependency>
97+ <groupId>org.assertj</groupId>
98+ <artifactId>assertj-core</artifactId>
99+ <version>${assertj.version}</version>
100+ <scope>test</scope>
101+ </dependency>
102+
103+ <dependency>
104+ <groupId>org.mockito</groupId>
105+ <artifactId>mockito-all</artifactId>
106+ <version>${mockito.version}</version>
107+ <scope>test</scope>
108+ </dependency>
109+
110+ <dependency>
111+ <groupId>org.apache.commons</groupId>
112+ <artifactId>commons-exec</artifactId>
113+ <version>${commons-exec.version}</version>
114+ <scope>test</scope>
115+ </dependency>
116+
117+ <dependency>
118+ <groupId>org.glassfish</groupId>
119+ <artifactId>javax.json</artifactId>
120+ <version>${jsr353-ri.version}</version>
121+ <scope>test</scope>
122+ </dependency>
123+
124+ </dependencies>
125+
126+ <build>
127+
128+ <plugins>
129+
130+ <plugin>
131+ <groupId>org.apache.maven.plugins</groupId>
132+ <artifactId>maven-compiler-plugin</artifactId>
133+ <configuration>
134+ <excludes>
135+ <exclude>${jdk8.excludes}</exclude>
136+ </excludes>
137+ <testExcludes>
138+ <exclude>${jdk8.excludes}</exclude>
139+ </testExcludes>
140+ </configuration>
141+ </plugin>
142+
143+ <plugin>
144+ <groupId>org.codehaus.mojo</groupId>
145+ <artifactId>animal-sniffer-maven-plugin</artifactId>
146+ <configuration>
147+ <!--
148+ There is no support for JDK 8 yet, see
149+ https://github.com/mojohaus/animal-sniffer/issues/1
150+ -->
151+ <skip>true</skip>
152+ <signature>
153+ <groupId>org.codehaus.mojo.signature</groupId>
154+ <artifactId>java18</artifactId>
155+ <version>1.0</version>
156+ </signature>
157+ </configuration>
158+ </plugin>
159+
160+ <plugin>
161+ <groupId>org.apache.maven.plugins</groupId>
162+ <artifactId>maven-surefire-plugin</artifactId>
163+ <version>2.16</version>
164+ <configuration>
165+ <groups>${test.groups}</groups>
166+ <useFile>false</useFile>
167+ <systemPropertyVariables>
168+ <cassandra.version>${cassandra.version}</cassandra.version>
169+ <ipprefix>${ipprefix}</ipprefix>
170+ </systemPropertyVariables>
171+ <classpathDependencyExcludes>
172+ <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
173+ </classpathDependencyExcludes>
174+ <excludes>
175+ <exclude>${jdk8.excludes}</exclude>
176+ </excludes>
177+ </configuration>
178+ </plugin>
179+
180+ <plugin>
181+ <groupId>org.apache.felix</groupId>
182+ <artifactId>maven-bundle-plugin</artifactId>
183+ <extensions>true</extensions>
184+ <version>2.4.0</version>
185+ <executions>
186+ <execution>
187+ <id>bundle-manifest</id>
188+ <phase>process-classes</phase>
189+ <goals>
190+ <goal>manifest</goal>
191+ </goals>
192+ </execution>
193+ </executions>
194+ <configuration>
195+ <instructions>
196+ <Bundle-SymbolicName>com.datastax.driver.extras</Bundle-SymbolicName>
197+ <Bundle-Version>${project.version}</Bundle-Version>
198+ <_include>-osgi.bnd</_include>
199+ </instructions>
200+ <supportedProjectTypes>
201+ <supportedProjectType>jar</supportedProjectType>
202+ <supportedProjectType>bundle</supportedProjectType>
203+ <supportedProjectType>pom</supportedProjectType>
204+ </supportedProjectTypes>
205+ </configuration>
206+ </plugin>
207+
208+ </plugins>
209+
210+ </build>
211+
212+ <profiles>
213+
214+ <profile>
215+ <id>short</id>
216+ <properties>
217+ <test.groups>unit,short</test.groups>
218+ </properties>
219+ </profile>
220+
221+ <profile>
222+ <id>long</id>
223+ <properties>
224+ <test.groups>unit,short,long</test.groups>
225+ </properties>
226+ </profile>
227+
228+ <!--
229+ This profile excludes all JDK 8 dependent classes from
230+ compilation. Use this when running tests with a legacy JDK (6 or 7)
231+ -->
232+ <profile>
233+ <id>legacy-jdks</id>
234+ <activation>
235+ <jdk>[,1.8)</jdk>
236+ </activation>
237+ <properties>
238+ <jdk8.excludes>**/jdk8/*.java</jdk8.excludes>
239+ </properties>
240+ </profile>
241+
242+ </profiles>
243+
244+ <licenses>
245+ <license>
246+ <name>Apache 2</name>
247+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
248+ <distribution>repo</distribution>
249+ <comments>Apache License Version 2.0</comments>
250+ </license>
251+ </licenses>
252+
253+ <scm>
254+ <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
255+ <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
256+ <url>https://github.com/datastax/java-driver</url>
257+ <tag>HEAD</tag>
258+ </scm>
259+
260+ <developers>
261+ <developer>
262+ <name>Various</name>
263+ <organization>DataStax</organization>
264+ </developer>
265+ </developers>
265266
266267 </project>
modified driver-mapping/pom.xml +214 −213
@@ -15,220 +15,221 @@
1515 limitations under the License.
1616
1717 -->
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>3.0.0-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>
34-
35- <dependencies>
36- <dependency>
37- <groupId>com.datastax.cassandra</groupId>
38- <artifactId>cassandra-driver-core</artifactId>
39- <version>${project.parent.version}</version>
40- </dependency>
41-
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>
49-
50- <dependency>
51- <groupId>org.testng</groupId>
52- <artifactId>testng</artifactId>
53- <version>${testng.version}</version>
54- <scope>test</scope>
55- </dependency>
56-
57- <dependency>
58- <groupId>org.assertj</groupId>
59- <artifactId>assertj-core</artifactId>
60- <version>${assertj.version}</version>
61- <scope>test</scope>
62- </dependency>
63-
64- <dependency>
65- <groupId>org.mockito</groupId>
66- <artifactId>mockito-all</artifactId>
67- <version>${mockito.version}</version>
68- <scope>test</scope>
69- </dependency>
70-
71- <dependency>
72- <groupId>org.apache.commons</groupId>
73- <artifactId>commons-exec</artifactId>
74- <version>${commons-exec.version}</version>
75- <scope>test</scope>
76- </dependency>
77-
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>
97-
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-
130- <profiles>
131- <profile>
132- <id>unit</id>
133- <properties>
134- <env>default</env>
135- </properties>
136- <!-- do not use activeByDefault as other profiles might be active -->
137- <activation>
138- <property>
139- <name>!activateUnitTests</name>
140- </property>
141- </activation>
142- <build>
143- <plugins>
144- <plugin>
145- <groupId>org.apache.maven.plugins</groupId>
146- <artifactId>maven-surefire-plugin</artifactId>
147- <version>2.14</version>
148- <configuration>
149- <groups>unit</groups>
150- <useFile>false</useFile>
151- <systemPropertyVariables>
152- <cassandra.version>${cassandra.version}</cassandra.version>
153- <ipprefix>${ipprefix}</ipprefix>
154- </systemPropertyVariables>
155- </configuration>
156- </plugin>
157- </plugins>
158- </build>
159- </profile>
160-
161- <profile>
162- <id>short</id>
163- <properties>
164- <env>default</env>
165- </properties>
166- <build>
167- <plugins>
168- <plugin>
169- <groupId>org.apache.maven.plugins</groupId>
170- <artifactId>maven-surefire-plugin</artifactId>
171- <version>2.14</version>
172- <configuration>
173- <groups>unit,short</groups>
174- <useFile>false</useFile>
175- <systemPropertyVariables>
176- <cassandra.version>${cassandra.version}</cassandra.version>
177- <ipprefix>${ipprefix}</ipprefix>
178- </systemPropertyVariables>
179- </configuration>
180- </plugin>
181- </plugins>
182- </build>
183- </profile>
184-
185- <profile>
186- <id>long</id>
187- <properties>
188- <env>default</env>
189- </properties>
190- <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>3.0.0-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>
31+
32+ <properties>
33+ <main.basedir>${project.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>${project.parent.version}</version>
41+ </dependency>
42+
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>
50+
51+ <dependency>
52+ <groupId>org.testng</groupId>
53+ <artifactId>testng</artifactId>
54+ <version>${testng.version}</version>
55+ <scope>test</scope>
56+ </dependency>
57+
58+ <dependency>
59+ <groupId>org.assertj</groupId>
60+ <artifactId>assertj-core</artifactId>
61+ <version>${assertj.version}</version>
62+ <scope>test</scope>
63+ </dependency>
64+
65+ <dependency>
66+ <groupId>org.mockito</groupId>
67+ <artifactId>mockito-all</artifactId>
68+ <version>${mockito.version}</version>
69+ <scope>test</scope>
70+ </dependency>
71+
72+ <dependency>
73+ <groupId>org.apache.commons</groupId>
74+ <artifactId>commons-exec</artifactId>
75+ <version>${commons-exec.version}</version>
76+ <scope>test</scope>
77+ </dependency>
78+
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>
98+
99+ <build>
191100 <plugins>
192- <plugin>
193- <groupId>org.apache.maven.plugins</groupId>
194- <artifactId>maven-surefire-plugin</artifactId>
195- <version>2.14</version>
196- <configuration>
197- <groups>unit,short,long</groups>
198- <useFile>false</useFile>
199- <systemPropertyVariables>
200- <cassandra.version>${cassandra.version}</cassandra.version>
201- <ipprefix>${ipprefix}</ipprefix>
202- </systemPropertyVariables>
203- </configuration>
204- </plugin>
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>
205128 </plugins>
206- </build>
207- </profile>
208-
209- </profiles>
210-
211- <licenses>
212- <license>
213- <name>Apache 2</name>
214- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
215- <distribution>repo</distribution>
216- <comments>Apache License Version 2.0</comments>
217- </license>
218- </licenses>
219-
220- <scm>
221- <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
222- <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
223- <url>https://github.com/datastax/java-driver</url>
224- <tag>HEAD</tag>
225- </scm>
226-
227- <developers>
228- <developer>
229- <name>Various</name>
230- <organization>DataStax</organization>
231- </developer>
232- </developers>
129+ </build>
130+
131+ <profiles>
132+ <profile>
133+ <id>unit</id>
134+ <properties>
135+ <env>default</env>
136+ </properties>
137+ <!-- do not use activeByDefault as other profiles might be active -->
138+ <activation>
139+ <property>
140+ <name>!activateUnitTests</name>
141+ </property>
142+ </activation>
143+ <build>
144+ <plugins>
145+ <plugin>
146+ <groupId>org.apache.maven.plugins</groupId>
147+ <artifactId>maven-surefire-plugin</artifactId>
148+ <version>2.14</version>
149+ <configuration>
150+ <groups>unit</groups>
151+ <useFile>false</useFile>
152+ <systemPropertyVariables>
153+ <cassandra.version>${cassandra.version}</cassandra.version>
154+ <ipprefix>${ipprefix}</ipprefix>
155+ </systemPropertyVariables>
156+ </configuration>
157+ </plugin>
158+ </plugins>
159+ </build>
160+ </profile>
161+
162+ <profile>
163+ <id>short</id>
164+ <properties>
165+ <env>default</env>
166+ </properties>
167+ <build>
168+ <plugins>
169+ <plugin>
170+ <groupId>org.apache.maven.plugins</groupId>
171+ <artifactId>maven-surefire-plugin</artifactId>
172+ <version>2.14</version>
173+ <configuration>
174+ <groups>unit,short</groups>
175+ <useFile>false</useFile>
176+ <systemPropertyVariables>
177+ <cassandra.version>${cassandra.version}</cassandra.version>
178+ <ipprefix>${ipprefix}</ipprefix>
179+ </systemPropertyVariables>
180+ </configuration>
181+ </plugin>
182+ </plugins>
183+ </build>
184+ </profile>
185+
186+ <profile>
187+ <id>long</id>
188+ <properties>
189+ <env>default</env>
190+ </properties>
191+ <build>
192+ <plugins>
193+ <plugin>
194+ <groupId>org.apache.maven.plugins</groupId>
195+ <artifactId>maven-surefire-plugin</artifactId>
196+ <version>2.14</version>
197+ <configuration>
198+ <groups>unit,short,long</groups>
199+ <useFile>false</useFile>
200+ <systemPropertyVariables>
201+ <cassandra.version>${cassandra.version}</cassandra.version>
202+ <ipprefix>${ipprefix}</ipprefix>
203+ </systemPropertyVariables>
204+ </configuration>
205+ </plugin>
206+ </plugins>
207+ </build>
208+ </profile>
209+
210+ </profiles>
211+
212+ <licenses>
213+ <license>
214+ <name>Apache 2</name>
215+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
216+ <distribution>repo</distribution>
217+ <comments>Apache License Version 2.0</comments>
218+ </license>
219+ </licenses>
220+
221+ <scm>
222+ <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
223+ <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
224+ <url>https://github.com/datastax/java-driver</url>
225+ <tag>HEAD</tag>
226+ </scm>
227+
228+ <developers>
229+ <developer>
230+ <name>Various</name>
231+ <organization>DataStax</organization>
232+ </developer>
233+ </developers>
233234 </project>
234235
modified pom.xml +313 −302
@@ -15,321 +15,332 @@
1515 limitations under the License.
1616
1717 -->
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>
2627
27- <groupId>com.datastax.cassandra</groupId>
28- <artifactId>cassandra-driver-parent</artifactId>
29- <version>3.0.0-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>3.0.0-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>
38+
39+ <modules>
40+ <module>driver-core</module>
41+ <module>driver-mapping</module>
42+ <module>driver-extras</module>
43+ <module>driver-examples</module>
44+ <module>driver-dse</module>
45+ <module>driver-dist</module>
46+ </modules>
3547
36- <modules>
37- <module>driver-core</module>
38- <module>driver-mapping</module>
39- <module>driver-extras</module>
40- <module>driver-examples</module>
41- <module>driver-dse</module>
42- <module>driver-dist</module>
43- </modules>
48+ <properties>
49+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50+ <cassandra.version>3.0.0</cassandra.version>
51+ <java.version>1.6</java.version>
52+ <log4j.version>1.2.17</log4j.version>
53+ <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version>
54+ <guava.version>16.0.1</guava.version>
55+ <netty.version>4.0.33.Final</netty.version>
56+ <metrics.version>3.1.2</metrics.version>
57+ <snappy.version>1.0.5</snappy.version>
58+ <lz4.version>1.2.0</lz4.version>
59+ <hdr.version>2.1.4</hdr.version>
60+ <!-- driver-extras module -->
61+ <jackson.version>2.6.3</jackson.version>
62+ <joda.version>2.9.1</joda.version>
63+ <jsr353-api.version>1.0</jsr353-api.version>
64+ <jsr353-ri.version>1.0.4</jsr353-ri.version>
65+ <!-- test dependency versions -->
66+ <testng.version>6.8.8</testng.version>
67+ <assertj.version>1.7.0</assertj.version>
68+ <mockito.version>1.10.8</mockito.version>
69+ <commons-exec.version>1.3</commons-exec.version>
70+ <scassandra.version>0.11.0</scassandra.version>
71+ <main.basedir>${project.basedir}</main.basedir>
72+ <ipprefix>127.0.1.</ipprefix>
73+ <!-- Set default javadoc.opts, overriden by profiles -->
74+ <javadoc.opts/>
75+ </properties>
4476
45- <properties>
46- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47- <cassandra.version>3.0.0</cassandra.version>
48- <java.version>1.6</java.version>
49- <log4j.version>1.2.17</log4j.version>
50- <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version>
51- <guava.version>16.0.1</guava.version>
52- <netty.version>4.0.33.Final</netty.version>
53- <metrics.version>3.1.2</metrics.version>
54- <snappy.version>1.0.5</snappy.version>
55- <lz4.version>1.2.0</lz4.version>
56- <hdr.version>2.1.4</hdr.version>
57- <!-- driver-extras module -->
58- <jackson.version>2.6.3</jackson.version>
59- <joda.version>2.9.1</joda.version>
60- <jsr353-api.version>1.0</jsr353-api.version>
61- <jsr353-ri.version>1.0.4</jsr353-ri.version>
62- <!-- test dependency versions -->
63- <testng.version>6.8.8</testng.version>
64- <assertj.version>1.7.0</assertj.version>
65- <mockito.version>1.10.8</mockito.version>
66- <commons-exec.version>1.3</commons-exec.version>
67- <scassandra.version>0.11.0</scassandra.version>
68- <main.basedir>${project.basedir}</main.basedir>
69- <ipprefix>127.0.1.</ipprefix>
70- <!-- Set default javadoc.opts, overriden by profiles -->
71- <javadoc.opts />
72- </properties>
77+ <dependencies>
78+ <dependency>
79+ <groupId>log4j</groupId>
80+ <artifactId>log4j</artifactId>
81+ <version>${log4j.version}</version>
82+ <scope>test</scope>
83+ </dependency>
7384
74- <dependencies>
75- <dependency>
76- <groupId>log4j</groupId>
77- <artifactId>log4j</artifactId>
78- <version>${log4j.version}</version>
79- <scope>test</scope>
80- </dependency>
85+ <dependency>
86+ <groupId>org.slf4j</groupId>
87+ <artifactId>slf4j-log4j12</artifactId>
88+ <version>${slf4j-log4j12.version}</version>
89+ <scope>test</scope>
90+ </dependency>
91+ </dependencies>
8192
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>
93+ <profiles>
8994
90- <profiles>
95+ <profile>
96+ <id>doclint-java8-disable</id>
97+ <activation>
98+ <jdk>[1.8,)</jdk>
99+ </activation>
100+ <properties>
101+ <javadoc.opts>-Xdoclint:none</javadoc.opts>
102+ </properties>
103+ </profile>
91104
92- <profile>
93- <id>doclint-java8-disable</id>
94- <activation>
95- <jdk>[1.8,)</jdk>
96- </activation>
97- <properties>
98- <javadoc.opts>-Xdoclint:none</javadoc.opts>
99- </properties>
100- </profile>
105+ <profile>
106+ <id>enforce-java8</id>
107+ <build>
108+ <plugins>
109+ <plugin>
110+ <groupId>org.apache.maven.plugins</groupId>
111+ <artifactId>maven-enforcer-plugin</artifactId>
112+ <version>1.4.1</version>
113+ <executions>
114+ <execution>
115+ <id>enforce-java8</id>
116+ <goals>
117+ <goal>enforce</goal>
118+ </goals>
119+ <configuration>
120+ <rules>
121+ <requireJavaVersion>
122+ <version>1.8</version>
123+ </requireJavaVersion>
124+ </rules>
125+ </configuration>
126+ </execution>
127+ </executions>
128+ </plugin>
129+ </plugins>
130+ </build>
131+ </profile>
101132
102- <profile>
103- <id>enforce-java8</id>
104- <build>
133+ </profiles>
134+
135+ <build>
105136 <plugins>
106- <plugin>
107- <groupId>org.apache.maven.plugins</groupId>
108- <artifactId>maven-enforcer-plugin</artifactId>
109- <version>1.4.1</version>
110- <executions>
111- <execution>
112- <id>enforce-java8</id>
113- <goals>
114- <goal>enforce</goal>
115- </goals>
137+ <plugin>
138+ <artifactId>maven-compiler-plugin</artifactId>
139+ <version>3.3</version>
140+ <configuration>
141+ <source>${java.version}</source>
142+ <target>${java.version}</target>
143+ <optimize>true</optimize>
144+ <showDeprecation>true</showDeprecation>
145+ <showWarnings>true</showWarnings>
146+ <!--
147+ Avoids warnings when cross-compiling to older source levels, see
148+ https://blogs.oracle.com/darcy/entry/bootclasspath_older_source
149+ -->
150+ <compilerArgument>-Xlint:-options</compilerArgument>
151+ <!-- this actually means: use incremental compilation -->
152+ <useIncrementalCompilation>false</useIncrementalCompilation>
153+ </configuration>
154+ </plugin>
155+ <plugin>
156+ <groupId>org.apache.maven.plugins</groupId>
157+ <artifactId>maven-source-plugin</artifactId>
158+ <version>2.2.1</version>
159+ <executions>
160+ <execution>
161+ <id>attach-sources</id>
162+ <phase>package</phase>
163+ <goals>
164+ <goal>jar-no-fork</goal>
165+ </goals>
166+ </execution>
167+ </executions>
168+ </plugin>
169+ <plugin>
170+ <groupId>org.apache.maven.plugins</groupId>
171+ <artifactId>maven-javadoc-plugin</artifactId>
172+ <version>2.9.1</version>
173+ <inherited>true</inherited>
174+ <configuration>
175+ <verbose>false</verbose>
176+ <additionalparam>${javadoc.opts}</additionalparam>
177+ <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
178+ <header>
179+ &lt;script type="text/javascript"
180+ src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;
181+ </header>
182+ <!-- open external links in a separate window -->
183+ <bottom>
184+ &lt;script type="text/javascript"&gt;
185+ for(var i in document.links) {
186+ var link = document.links[i];
187+ if (link.href.indexOf('is-external=true') != -1) link.target = '_blank';
188+ }
189+ &lt;/script&gt;
190+ </bottom>
191+ <links>
192+ <link>https://docs.oracle.com/javase/8/docs/api/</link>
193+ <link>http://docs.guava-libraries.googlecode.com/git-history/v16.0.1/javadoc/</link>
194+ <link>http://netty.io/4.0/api/</link>
195+ <!-- dependencies from driver-extras -->
196+ <link>http://www.joda.org/joda-time/apidocs/</link>
197+ <link>http://fasterxml.github.io/jackson-core/javadoc/2.6/</link>
198+ <link>http://fasterxml.github.io/jackson-databind/javadoc/2.6/</link>
199+ <link>https://javaee-spec.java.net/nonav/javadocs/</link>
200+ </links>
201+ </configuration>
202+ <executions>
203+ <execution>
204+ <id>attach-javadocs</id>
205+ <goals>
206+ <goal>jar</goal>
207+ </goals>
208+ </execution>
209+ </executions>
210+ </plugin>
211+ <plugin>
212+ <groupId>org.apache.maven.plugins</groupId>
213+ <artifactId>maven-release-plugin</artifactId>
214+ <version>2.5</version>
215+ <configuration>
216+ <tagNameFormat>@{project.version}</tagNameFormat>
217+ <preparationGoals>clean verify -Penforce-java8</preparationGoals>
218+ <!-- do NOT specify arguments tag here as it would override the arguments tag in this plugin's definition in the parent POM -->
219+ </configuration>
220+ </plugin>
221+ <plugin>
222+ <groupId>org.codehaus.mojo</groupId>
223+ <artifactId>clirr-maven-plugin</artifactId>
224+ <version>2.7</version>
225+ <executions>
226+ <execution>
227+ <phase>compile</phase>
228+ <goals>
229+ <goal>check</goal>
230+ </goals>
231+ </execution>
232+ </executions>
233+ <configuration>
234+ <comparisonVersion>3.0.0</comparisonVersion>
235+ <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
236+ <excludes>
237+ <!-- Package-private, internal classes -->
238+ <exclude>com/datastax/driver/core/Frame$*</exclude>
239+ <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude>
240+ <exclude>com/datastax/driver/core/Message$*</exclude>
241+ <exclude>com/datastax/driver/core/Requests$*</exclude>
242+ <exclude>com/datastax/driver/core/Responses$*</exclude>
243+ <exclude>com/datastax/driver/core/Connection$*</exclude>
244+ </excludes>
245+ </configuration>
246+ <!--
247+ Workaround to make clirr plugin work with Java 8.
248+ The bug is actually in the BCEL library,
249+ see https://issues.apache.org/jira/browse/BCEL-173.
250+ See also https://github.com/RichardWarburton/lambda-behave/issues/31#issuecomment-86052095
251+ -->
252+ <dependencies>
253+ <dependency>
254+ <groupId>com.google.code.findbugs</groupId>
255+ <artifactId>bcel-findbugs</artifactId>
256+ <version>6.0</version>
257+ </dependency>
258+ </dependencies>
259+ </plugin>
260+ <!--
261+ To update license headers run:
262+ mvn license:format
263+ -->
264+ <plugin>
265+ <groupId>com.mycila</groupId>
266+ <artifactId>license-maven-plugin</artifactId>
267+ <version>2.8</version>
268+ <configuration>
269+ <header>${main.basedir}/src/license/header.txt</header>
270+ <includes>
271+ <include>src/**/*.java</include>
272+ <include>src/**/*.xml</include>
273+ <include>src/**/*.properties</include>
274+ <include>**/pom.xml</include>
275+ </includes>
276+ <excludes>
277+ <exclude>**/src/main/config/ide/**</exclude>
278+ </excludes>
279+ <mapping>
280+ <java>SLASHSTAR_STYLE</java>
281+ <properties>SCRIPT_STYLE</properties>
282+ </mapping>
283+ <strictCheck>true</strictCheck>
284+ </configuration>
285+ <executions>
286+ <execution>
287+ <id>check-license</id>
288+ <phase>initialize</phase>
289+ <goals>
290+ <goal>check</goal>
291+ </goals>
292+ <configuration>
293+ <properties>
294+ <currentYear>${currentYear}</currentYear>
295+ </properties>
296+ </configuration>
297+ </execution>
298+ </executions>
299+ </plugin>
300+ <plugin>
301+ <groupId>org.codehaus.mojo</groupId>
302+ <artifactId>animal-sniffer-maven-plugin</artifactId>
303+ <version>1.14</version>
116304 <configuration>
117- <rules>
118- <requireJavaVersion>
119- <version>1.8</version>
120- </requireJavaVersion>
121- </rules>
305+ <signature>
306+ <groupId>org.codehaus.mojo.signature</groupId>
307+ <artifactId>java16</artifactId>
308+ <version>1.0</version>
309+ </signature>
122310 </configuration>
123- </execution>
124- </executions>
125- </plugin>
311+ <executions>
312+ <execution>
313+ <id>check</id>
314+ <phase>compile</phase>
315+ <goals>
316+ <goal>check</goal>
317+ </goals>
318+ </execution>
319+ </executions>
320+ </plugin>
126321 </plugins>
127- </build>
128- </profile>
129-
130- </profiles>
322+ </build>
131323
132- <build>
133- <plugins>
134- <plugin>
135- <artifactId>maven-compiler-plugin</artifactId>
136- <version>3.3</version>
137- <configuration>
138- <source>${java.version}</source>
139- <target>${java.version}</target>
140- <optimize>true</optimize>
141- <showDeprecation>true</showDeprecation>
142- <showWarnings>true</showWarnings>
143- <!--
144- Avoids warnings when cross-compiling to older source levels, see
145- https://blogs.oracle.com/darcy/entry/bootclasspath_older_source
146- -->
147- <compilerArgument>-Xlint:-options</compilerArgument>
148- <!-- this actually means: use incremental compilation -->
149- <useIncrementalCompilation>false</useIncrementalCompilation>
150- </configuration>
151- </plugin>
152- <plugin>
153- <groupId>org.apache.maven.plugins</groupId>
154- <artifactId>maven-source-plugin</artifactId>
155- <version>2.2.1</version>
156- <executions>
157- <execution>
158- <id>attach-sources</id>
159- <phase>package</phase>
160- <goals>
161- <goal>jar-no-fork</goal>
162- </goals>
163- </execution>
164- </executions>
165- </plugin>
166- <plugin>
167- <groupId>org.apache.maven.plugins</groupId>
168- <artifactId>maven-javadoc-plugin</artifactId>
169- <version>2.9.1</version>
170- <inherited>true</inherited>
171- <configuration>
172- <verbose>false</verbose>
173- <additionalparam>${javadoc.opts}</additionalparam>
174- <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
175- <header>
176- &lt;script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;
177- </header>
178- <!-- open external links in a separate window -->
179- <bottom>
180- &lt;script type="text/javascript"&gt;
181- for(var i in document.links) {
182- var link = document.links[i];
183- if (link.href.indexOf('is-external=true') != -1) link.target = '_blank';
184- }
185- &lt;/script&gt;
186- </bottom>
187- <links>
188- <link>https://docs.oracle.com/javase/8/docs/api/</link>
189- <link>http://docs.guava-libraries.googlecode.com/git-history/v16.0.1/javadoc/</link>
190- <link>http://netty.io/4.0/api/</link>
191- <!-- dependencies from driver-extras -->
192- <link>http://www.joda.org/joda-time/apidocs/</link>
193- <link>http://fasterxml.github.io/jackson-core/javadoc/2.6/</link>
194- <link>http://fasterxml.github.io/jackson-databind/javadoc/2.6/</link>
195- <link>https://javaee-spec.java.net/nonav/javadocs/</link>
196- </links>
197- </configuration>
198- <executions>
199- <execution>
200- <id>attach-javadocs</id>
201- <goals>
202- <goal>jar</goal>
203- </goals>
204- </execution>
205- </executions>
206- </plugin>
207- <plugin>
208- <groupId>org.apache.maven.plugins</groupId>
209- <artifactId>maven-release-plugin</artifactId>
210- <version>2.5</version>
211- <configuration>
212- <tagNameFormat>@{project.version}</tagNameFormat>
213- <preparationGoals>clean verify -Penforce-java8</preparationGoals>
214- <!-- do NOT specify arguments tag here as it would override the arguments tag in this plugin's definition in the parent POM -->
215- </configuration>
216- </plugin>
217- <plugin>
218- <groupId>org.codehaus.mojo</groupId>
219- <artifactId>clirr-maven-plugin</artifactId>
220- <version>2.7</version>
221- <executions>
222- <execution>
223- <phase>compile</phase>
224- <goals><goal>check</goal></goals>
225- </execution>
226- </executions>
227- <configuration>
228- <comparisonVersion>3.0.0</comparisonVersion>
229- <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
230- <excludes>
231- <!-- Package-private, internal classes -->
232- <exclude>com/datastax/driver/core/Frame$*</exclude>
233- <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude>
234- <exclude>com/datastax/driver/core/Message$*</exclude>
235- <exclude>com/datastax/driver/core/Requests$*</exclude>
236- <exclude>com/datastax/driver/core/Responses$*</exclude>
237- <exclude>com/datastax/driver/core/Connection$*</exclude>
238- </excludes>
239- </configuration>
240- <!--
241- Workaround to make clirr plugin work with Java 8.
242- The bug is actually in the BCEL library,
243- see https://issues.apache.org/jira/browse/BCEL-173.
244- See also https://github.com/RichardWarburton/lambda-behave/issues/31#issuecomment-86052095
245- -->
246- <dependencies>
247- <dependency>
248- <groupId>com.google.code.findbugs</groupId>
249- <artifactId>bcel-findbugs</artifactId>
250- <version>6.0</version>
251- </dependency>
252- </dependencies>
253- </plugin>
254- <!--
255- To update license headers run:
256- mvn license:format
257- -->
258- <plugin>
259- <groupId>com.mycila</groupId>
260- <artifactId>license-maven-plugin</artifactId>
261- <version>2.8</version>
262- <configuration>
263- <header>${main.basedir}/src/license/header.txt</header>
264- <includes>
265- <include>src/**/*.java</include>
266- <include>src/**/*.xml</include>
267- <include>src/**/*.properties</include>
268- <include>**/pom.xml</include>
269- </includes>
270- <excludes>
271- <exclude>**/src/main/config/ide/**</exclude>
272- </excludes>
273- <mapping>
274- <java>SLASHSTAR_STYLE</java>
275- <properties>SCRIPT_STYLE</properties>
276- </mapping>
277- <strictCheck>true</strictCheck>
278- </configuration>
279- <executions>
280- <execution>
281- <id>check-license</id>
282- <phase>initialize</phase>
283- <goals>
284- <goal>check</goal>
285- </goals>
286- </execution>
287- </executions>
288- </plugin>
289- <plugin>
290- <groupId>org.codehaus.mojo</groupId>
291- <artifactId>animal-sniffer-maven-plugin</artifactId>
292- <version>1.14</version>
293- <configuration>
294- <signature>
295- <groupId>org.codehaus.mojo.signature</groupId>
296- <artifactId>java16</artifactId>
297- <version>1.0</version>
298- </signature>
299- </configuration>
300- <executions>
301- <execution>
302- <id>check</id>
303- <phase>compile</phase>
304- <goals>
305- <goal>check</goal>
306- </goals>
307- </execution>
308- </executions>
309- </plugin>
310- </plugins>
311- </build>
324+ <licenses>
325+ <license>
326+ <name>Apache 2</name>
327+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
328+ <distribution>repo</distribution>
329+ <comments>Apache License Version 2.0</comments>
330+ </license>
331+ </licenses>
312332
313- <licenses>
314- <license>
315- <name>Apache 2</name>
316- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
317- <distribution>repo</distribution>
318- <comments>Apache License Version 2.0</comments>
319- </license>
320- </licenses>
321-
322- <scm>
323- <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
324- <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
325- <url>https://github.com/datastax/java-driver</url>
326- <tag>HEAD</tag>
327- </scm>
333+ <scm>
334+ <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
335+ <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
336+ <url>https://github.com/datastax/java-driver</url>
337+ <tag>HEAD</tag>
338+ </scm>
328339
329- <developers>
330- <developer>
331- <name>Various</name>
332- <organization>DataStax</organization>
333- </developer>
334- </developers>
340+ <developers>
341+ <developer>
342+ <name>Various</name>
343+ <organization>DataStax</organization>
344+ </developer>
345+ </developers>
335346 </project>