Elffuss BraidHub

kikocis/java-driver public

6ae8ffe222d7 · 9.3 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" 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>
26
27 <groupId>com.datastax.cassandra</groupId>
28 <artifactId>cassandra-driver-parent</artifactId>
29 <version>2.1.10-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>
35
36 <modules>
37 <module>driver-core</module>
38 <module>driver-mapping</module>
39 <module>driver-examples</module>
40 <module>driver-dist</module>
41 </modules>
42
43 <properties>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 <cassandra.version>2.1.9</cassandra.version>
46 <java.version>1.6</java.version>
47 <log4j.version>1.2.17</log4j.version>
48 <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version>
49 <!--
50 We use an old version of Guava to be compatible with Spark 1.1.
51 Check with the spark-cassandra-connector team before upgrading this.
52 -->
53 <guava.version>14.0.1</guava.version>
54 <netty.version>4.0.33.Final</netty.version>
55 <metrics.version>3.0.2</metrics.version>
56 <snappy.version>1.0.5</snappy.version>
57 <lz4.version>1.2.0</lz4.version>
58 <hdr.version>2.1.4</hdr.version>
59 <jnr-ffi.version>2.0.7</jnr-ffi.version>
60 <jnr-posix.version>3.0.27</jnr-posix.version>
61 <!-- test dependency versions -->
62 <testng.version>6.8.8</testng.version>
63 <assertj.version>1.7.0</assertj.version>
64 <mockito.version>1.10.8</mockito.version>
65 <scassandra.version>0.11.0</scassandra.version>
66 <main.basedir>${project.basedir}</main.basedir>
67 </properties>
68
69 <dependencies>
70 <dependency>
71 <groupId>log4j</groupId>
72 <artifactId>log4j</artifactId>
73 <version>${log4j.version}</version>
74 <scope>test</scope>
75 </dependency>
76
77 <dependency>
78 <groupId>org.slf4j</groupId>
79 <artifactId>slf4j-log4j12</artifactId>
80 <version>${slf4j-log4j12.version}</version>
81 <scope>test</scope>
82 </dependency>
83 </dependencies>
84
85 <profiles>
86 <profile>
87 <id>doclint-java8-disable</id>
88 <activation>
89 <jdk>[1.8,)</jdk>
90 </activation>
91 <properties>
92 <javadoc.opts>-Xdoclint:none</javadoc.opts>
93 </properties>
94 </profile>
95 <profile>
96 <!-- default profile settings for 'isolated' test group, will skip tests unless overriden in child module. -->
97 <id>isolated</id>
98 <properties>
99 <env>default</env>
100 </properties>
101 <build>
102 <plugins>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-surefire-plugin</artifactId>
106 <version>2.16</version>
107 <configuration>
108 <skip>true</skip>
109 <forkCount>1</forkCount>
110 <reuseForks>false</reuseForks>
111 <groups>isolated</groups>
112 <reportNameSuffix>isolated</reportNameSuffix>
113 <useFile>false</useFile>
114 <systemPropertyVariables>
115 <cassandra.version>${cassandra.version}</cassandra.version>
116 <ipprefix>${ipprefix}</ipprefix>
117 </systemPropertyVariables>
118 <classpathDependencyExcludes>
119 <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
120 </classpathDependencyExcludes>
121 <!-- This requires includes to be explicitly specified by implementing classes.
122 This is needed to prevent creating a JVM fork for each test, even those that don't
123 have the isolated group. -->
124 <includes/>
125 </configuration>
126 </plugin>
127 </plugins>
128 </build>
129 </profile>
130 </profiles>
131
132 <build>
133 <plugins>
134 <plugin>
135 <artifactId>maven-compiler-plugin</artifactId>
136 <version>3.1</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 </configuration>
144 </plugin>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-source-plugin</artifactId>
148 <version>2.2.1</version>
149 <executions>
150 <execution>
151 <id>attach-sources</id>
152 <goals>
153 <goal>jar-no-fork</goal>
154 </goals>
155 </execution>
156 </executions>
157 </plugin>
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-javadoc-plugin</artifactId>
161 <version>2.9.1</version>
162 <configuration>
163 <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
164 <additionalparam>-header '&lt;script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalparam>
165 </configuration>
166 <executions>
167 <execution>
168 <id>attach-javadocs</id>
169 <goals>
170 <goal>jar</goal>
171 </goals>
172 <configuration>
173 <additionalparam>${javadoc.opts}</additionalparam>
174 </configuration>
175 </execution>
176 </executions>
177 </plugin>
178 <plugin>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-release-plugin</artifactId>
181 <version>2.5</version>
182 <configuration>
183 <tagNameFormat>@{project.version}</tagNameFormat>
184 </configuration>
185 </plugin>
186 <plugin>
187 <groupId>org.codehaus.mojo</groupId>
188 <artifactId>clirr-maven-plugin</artifactId>
189 <version>2.6.1</version>
190 <executions>
191 <execution>
192 <phase>compile</phase>
193 <goals><goal>check</goal></goals>
194 </execution>
195 </executions>
196 <configuration>
197 <comparisonVersion>2.1.9</comparisonVersion>
198 <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
199 <excludes>
200 <!-- Package-private, internal classes -->
201 <exclude>com/datastax/driver/core/Frame$*</exclude>
202 <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude>
203 <exclude>com/datastax/driver/core/Message$*</exclude>
204 <exclude>com/datastax/driver/core/Requests$*</exclude>
205 <exclude>com/datastax/driver/core/Responses$*</exclude>
206 <exclude>com/datastax/driver/core/Connection$*</exclude>
207 </excludes>
208 </configuration>
209 </plugin>
210 <!--
211 To update license headers run:
212 mvn license:format
213 -->
214 <plugin>
215 <groupId>com.mycila</groupId>
216 <artifactId>license-maven-plugin</artifactId>
217 <version>2.8</version>
218 <configuration>
219 <header>${main.basedir}/src/license/header.txt</header>
220 <includes>
221 <include>src/**/*.java</include>
222 <include>src/**/*.xml</include>
223 <include>src/**/*.properties</include>
224 <include>**/pom.xml</include>
225 </includes>
226 <excludes>
227 <exclude>**/src/main/config/ide/**</exclude>
228 </excludes>
229 <mapping>
230 <java>SLASHSTAR_STYLE</java>
231 <properties>SCRIPT_STYLE</properties>
232 </mapping>
233 <strictCheck>true</strictCheck>
234 </configuration>
235 <executions>
236 <execution>
237 <id>check-license</id>
238 <phase>initialize</phase>
239 <goals>
240 <goal>check</goal>
241 </goals>
242 </execution>
243 </executions>
244 </plugin>
245 </plugins>
246 </build>
247
248 <licenses>
249 <license>
250 <name>Apache 2</name>
251 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
252 <distribution>repo</distribution>
253 <comments>Apache License Version 2.0</comments>
254 </license>
255 </licenses>
256
257 <scm>
258 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
259 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
260 <url>https://github.com/datastax/java-driver</url>
261 <tag>HEAD</tag>
262 </scm>
263
264 <developers>
265 <developer>
266 <name>Various</name>
267 <organization>DataStax</organization>
268 </developer>
269 </developers>
270</project>