Elffuss BraidHub

kikocis/java-driver public

48926c018af7 · 13.7 KiBRawPermalink
1<!--
2
3 Copyright (C) 2012-2015 DataStax Inc.
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17-->
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>
27
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-dist</module>
45 </modules>
46
47 <properties>
48 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49 <cassandra.version>3.2.1</cassandra.version>
50 <java.version>1.6</java.version>
51 <log4j.version>1.2.17</log4j.version>
52 <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version>
53 <guava.version>16.0.1</guava.version>
54 <netty.version>4.0.33.Final</netty.version>
55 <metrics.version>3.1.2</metrics.version>
56 <snappy.version>1.0.5</snappy.version>
57 <lz4.version>1.2.0</lz4.version>
58 <hdr.version>2.1.4</hdr.version>
59 <!-- driver-extras module -->
60 <jackson.version>2.6.3</jackson.version>
61 <joda.version>2.9.1</joda.version>
62 <jsr353-api.version>1.0</jsr353-api.version>
63 <jsr353-ri.version>1.0.4</jsr353-ri.version>
64 <!-- test dependency versions -->
65 <testng.version>6.8.8</testng.version>
66 <assertj.version>1.7.0</assertj.version>
67 <mockito.version>1.10.8</mockito.version>
68 <commons-exec.version>1.3</commons-exec.version>
69 <scassandra.version>0.11.0</scassandra.version>
70 <main.basedir>${project.basedir}</main.basedir>
71 <ipprefix>127.0.1.</ipprefix>
72 <!-- Set default javadoc.opts, overriden by profiles -->
73 <javadoc.opts/>
74 </properties>
75
76 <dependencies>
77 <dependency>
78 <groupId>log4j</groupId>
79 <artifactId>log4j</artifactId>
80 <version>${log4j.version}</version>
81 <scope>test</scope>
82 </dependency>
83
84 <dependency>
85 <groupId>org.slf4j</groupId>
86 <artifactId>slf4j-log4j12</artifactId>
87 <version>${slf4j-log4j12.version}</version>
88 <scope>test</scope>
89 </dependency>
90 </dependencies>
91
92 <profiles>
93
94 <profile>
95 <id>doclint-java8-disable</id>
96 <activation>
97 <jdk>[1.8,)</jdk>
98 </activation>
99 <properties>
100 <javadoc.opts>-Xdoclint:none</javadoc.opts>
101 </properties>
102 </profile>
103
104 <profile>
105 <id>enforce-java8</id>
106 <build>
107 <plugins>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-enforcer-plugin</artifactId>
111 <version>1.4.1</version>
112 <executions>
113 <execution>
114 <id>enforce-java8</id>
115 <goals>
116 <goal>enforce</goal>
117 </goals>
118 <configuration>
119 <rules>
120 <requireJavaVersion>
121 <version>1.8</version>
122 </requireJavaVersion>
123 </rules>
124 </configuration>
125 </execution>
126 </executions>
127 </plugin>
128 </plugins>
129 </build>
130 </profile>
131
132 </profiles>
133
134 <build>
135 <plugins>
136 <plugin>
137 <artifactId>maven-compiler-plugin</artifactId>
138 <version>3.3</version>
139 <configuration>
140 <source>${java.version}</source>
141 <target>${java.version}</target>
142 <optimize>true</optimize>
143 <showDeprecation>true</showDeprecation>
144 <showWarnings>true</showWarnings>
145 <!--
146 Avoids warnings when cross-compiling to older source levels, see
147 https://blogs.oracle.com/darcy/entry/bootclasspath_older_source
148 -->
149 <compilerArgument>-Xlint:-options</compilerArgument>
150 <!-- this actually means: use incremental compilation -->
151 <useIncrementalCompilation>false</useIncrementalCompilation>
152 </configuration>
153 </plugin>
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-source-plugin</artifactId>
157 <version>2.2.1</version>
158 <executions>
159 <execution>
160 <id>attach-sources</id>
161 <phase>package</phase>
162 <goals>
163 <goal>jar-no-fork</goal>
164 </goals>
165 </execution>
166 </executions>
167 </plugin>
168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-javadoc-plugin</artifactId>
171 <version>2.9.1</version>
172 <inherited>true</inherited>
173 <configuration>
174 <verbose>false</verbose>
175 <additionalparam>${javadoc.opts}</additionalparam>
176 <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
177 <header>
178 &lt;script type="text/javascript"
179 src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;
180 </header>
181 <!-- open external links in a separate window -->
182 <bottom>
183 &lt;script type="text/javascript"&gt;
184 for(var i in document.links) {
185 var link = document.links[i];
186 if (link.href.indexOf('is-external=true') != -1) link.target = '_blank';
187 }
188 &lt;/script&gt;
189 </bottom>
190 <links>
191 <link>https://docs.oracle.com/javase/8/docs/api/</link>
192 <link>http://docs.guava-libraries.googlecode.com/git-history/v16.0.1/javadoc/</link>
193 <link>http://netty.io/4.0/api/</link>
194 <!-- dependencies from driver-extras -->
195 <link>http://www.joda.org/joda-time/apidocs/</link>
196 <link>http://fasterxml.github.io/jackson-core/javadoc/2.6/</link>
197 <link>http://fasterxml.github.io/jackson-databind/javadoc/2.6/</link>
198 <link>https://javaee-spec.java.net/nonav/javadocs/</link>
199 </links>
200 </configuration>
201 <executions>
202 <execution>
203 <id>attach-javadocs</id>
204 <goals>
205 <goal>jar</goal>
206 </goals>
207 </execution>
208 </executions>
209 </plugin>
210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-release-plugin</artifactId>
213 <version>2.5</version>
214 <configuration>
215 <tagNameFormat>@{project.version}</tagNameFormat>
216 <preparationGoals>clean verify -Penforce-java8</preparationGoals>
217 <!-- do NOT specify arguments tag here as it would override the arguments tag in this plugin's definition in the parent POM -->
218 </configuration>
219 </plugin>
220 <plugin>
221 <groupId>org.codehaus.mojo</groupId>
222 <artifactId>clirr-maven-plugin</artifactId>
223 <version>2.7</version>
224 <executions>
225 <execution>
226 <phase>compile</phase>
227 <goals>
228 <goal>check</goal>
229 </goals>
230 </execution>
231 </executions>
232 <configuration>
233 <skip>true</skip>
234 <comparisonVersion>3.0.0</comparisonVersion>
235 <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
236 </configuration>
237 <!--
238 Workaround to make clirr plugin work with Java 8.
239 The bug is actually in the BCEL library,
240 see https://issues.apache.org/jira/browse/BCEL-173.
241 See also https://github.com/RichardWarburton/lambda-behave/issues/31#issuecomment-86052095
242 -->
243 <dependencies>
244 <dependency>
245 <groupId>com.google.code.findbugs</groupId>
246 <artifactId>bcel-findbugs</artifactId>
247 <version>6.0</version>
248 </dependency>
249 </dependencies>
250 </plugin>
251 <!--
252 To update license headers run:
253 mvn license:format
254 -->
255 <plugin>
256 <groupId>com.mycila</groupId>
257 <artifactId>license-maven-plugin</artifactId>
258 <version>2.8</version>
259 <configuration>
260 <header>${main.basedir}/src/license/header.txt</header>
261 <includes>
262 <include>src/**/*.java</include>
263 <include>src/**/*.xml</include>
264 <include>src/**/*.properties</include>
265 <include>**/pom.xml</include>
266 </includes>
267 <excludes>
268 <exclude>**/src/main/config/ide/**</exclude>
269 </excludes>
270 <mapping>
271 <java>SLASHSTAR_STYLE</java>
272 <properties>SCRIPT_STYLE</properties>
273 </mapping>
274 <strictCheck>true</strictCheck>
275 </configuration>
276 <executions>
277 <execution>
278 <id>check-license</id>
279 <phase>initialize</phase>
280 <goals>
281 <goal>check</goal>
282 </goals>
283 <configuration>
284 <properties>
285 <currentYear>${currentYear}</currentYear>
286 </properties>
287 </configuration>
288 </execution>
289 </executions>
290 </plugin>
291 <plugin>
292 <groupId>org.codehaus.mojo</groupId>
293 <artifactId>animal-sniffer-maven-plugin</artifactId>
294 <version>1.14</version>
295 <configuration>
296 <signature>
297 <groupId>org.codehaus.mojo.signature</groupId>
298 <artifactId>java16</artifactId>
299 <version>1.0</version>
300 </signature>
301 </configuration>
302 <executions>
303 <execution>
304 <id>check</id>
305 <phase>compile</phase>
306 <goals>
307 <goal>check</goal>
308 </goals>
309 </execution>
310 </executions>
311 </plugin>
312 </plugins>
313 </build>
314
315 <licenses>
316 <license>
317 <name>Apache 2</name>
318 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
319 <distribution>repo</distribution>
320 <comments>Apache License Version 2.0</comments>
321 </license>
322 </licenses>
323
324 <scm>
325 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
326 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
327 <url>https://github.com/datastax/java-driver</url>
328 <tag>HEAD</tag>
329 </scm>
330
331 <developers>
332 <developer>
333 <name>Various</name>
334 <organization>DataStax</organization>
335 </developer>
336 </developers>
337</project>