Elffuss BraidHub

kikocis/java-driver public

434273cc91ae · 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-dse</module>
45 <module>driver-dist</module>
46 </modules>
47
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>
76
77 <dependencies>
78 <dependency>
79 <groupId>log4j</groupId>
80 <artifactId>log4j</artifactId>
81 <version>${log4j.version}</version>
82 <scope>test</scope>
83 </dependency>
84
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>
92
93 <profiles>
94
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>
104
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>
132
133 </profiles>
134
135 <build>
136 <plugins>
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 </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>