Elffuss BraidHub

kikocis/java-driver public

d969dcfd7ef6 · 10.9 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 <ipprefix>127.0.1.</ipprefix>
68 <test.groups>unit</test.groups>
69 </properties>
70
71 <dependencies>
72 <dependency>
73 <groupId>log4j</groupId>
74 <artifactId>log4j</artifactId>
75 <version>${log4j.version}</version>
76 <scope>test</scope>
77 </dependency>
78
79 <dependency>
80 <groupId>org.slf4j</groupId>
81 <artifactId>slf4j-log4j12</artifactId>
82 <version>${slf4j-log4j12.version}</version>
83 <scope>test</scope>
84 </dependency>
85 </dependencies>
86
87 <profiles>
88 <profile>
89 <id>default</id>
90 <properties>
91 <env>default</env>
92 <test.groups>unit</test.groups>
93 </properties>
94 <activation>
95 <activeByDefault>true</activeByDefault>
96 </activation>
97 </profile>
98 <profile>
99 <id>doclint-java8-disable</id>
100 <activation>
101 <jdk>[1.8,)</jdk>
102 </activation>
103 <properties>
104 <javadoc.opts>-Xdoclint:none</javadoc.opts>
105 </properties>
106 </profile>
107 <profile>
108 <id>short</id>
109 <properties>
110 <env>default</env>
111 <test.groups>unit,short</test.groups>
112 </properties>
113 </profile>
114 <profile>
115 <id>long</id>
116 <properties>
117 <env>default</env>
118 <test.groups>unit,short,long</test.groups>
119 </properties>
120 </profile>
121 <profile>
122 <id>duration</id>
123 <properties>
124 <env>default</env>
125 <test.groups>unit,short,long,duration</test.groups>
126 </properties>
127 </profile>
128 <profile>
129 <id>doc</id>
130 <properties>
131 <env>default</env>
132 <test.groups>unit,doc</test.groups>
133 </properties>
134 </profile>
135 <profile>
136 <!-- default profile settings for 'isolated' test group, will skip tests unless overriden in child module. -->
137 <id>isolated</id>
138 <properties>
139 <env>default</env>
140 <test.groups>isolated</test.groups>
141 </properties>
142 <build>
143 <plugins>
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-surefire-plugin</artifactId>
147 <version>2.16</version>
148 <configuration>
149 <skip>true</skip>
150 <forkCount>1</forkCount>
151 <reuseForks>false</reuseForks>
152 <reportNameSuffix>isolated</reportNameSuffix>
153 <!-- This requires includes to be explicitly specified by implementing classes.
154 This is needed to prevent creating a JVM fork for each test, even those that don't
155 have the isolated group. -->
156 <includes/>
157 </configuration>
158 </plugin>
159 </plugins>
160 </build>
161 </profile>
162 </profiles>
163
164 <build>
165 <plugins>
166 <plugin>
167 <artifactId>maven-compiler-plugin</artifactId>
168 <version>3.1</version>
169 <configuration>
170 <source>${java.version}</source>
171 <target>${java.version}</target>
172 <optimize>true</optimize>
173 <showDeprecation>true</showDeprecation>
174 <showWarnings>true</showWarnings>
175 </configuration>
176 </plugin>
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-source-plugin</artifactId>
180 <version>2.2.1</version>
181 <executions>
182 <execution>
183 <id>attach-sources</id>
184 <goals>
185 <goal>jar-no-fork</goal>
186 </goals>
187 </execution>
188 </executions>
189 </plugin>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-javadoc-plugin</artifactId>
193 <version>2.9.1</version>
194 <configuration>
195 <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
196 <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>
197 </configuration>
198 <executions>
199 <execution>
200 <id>attach-javadocs</id>
201 <goals>
202 <goal>jar</goal>
203 </goals>
204 <configuration>
205 <additionalparam>${javadoc.opts}</additionalparam>
206 </configuration>
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 </configuration>
217 </plugin>
218 <plugin>
219 <groupId>org.codehaus.mojo</groupId>
220 <artifactId>clirr-maven-plugin</artifactId>
221 <version>2.6.1</version>
222 <executions>
223 <execution>
224 <phase>compile</phase>
225 <goals><goal>check</goal></goals>
226 </execution>
227 </executions>
228 <configuration>
229 <comparisonVersion>2.1.9</comparisonVersion>
230 <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
231 <excludes>
232 <!-- Package-private, internal classes -->
233 <exclude>com/datastax/driver/core/Frame$*</exclude>
234 <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude>
235 <exclude>com/datastax/driver/core/Message$*</exclude>
236 <exclude>com/datastax/driver/core/Requests$*</exclude>
237 <exclude>com/datastax/driver/core/Responses$*</exclude>
238 <exclude>com/datastax/driver/core/Connection$*</exclude>
239 </excludes>
240 </configuration>
241 </plugin>
242 <!--
243 To update license headers run:
244 mvn license:format
245 -->
246 <plugin>
247 <groupId>com.mycila</groupId>
248 <artifactId>license-maven-plugin</artifactId>
249 <version>2.8</version>
250 <configuration>
251 <header>${main.basedir}/src/license/header.txt</header>
252 <includes>
253 <include>src/**/*.java</include>
254 <include>src/**/*.xml</include>
255 <include>src/**/*.properties</include>
256 <include>**/pom.xml</include>
257 </includes>
258 <excludes>
259 <exclude>**/src/main/config/ide/**</exclude>
260 </excludes>
261 <mapping>
262 <java>SLASHSTAR_STYLE</java>
263 <properties>SCRIPT_STYLE</properties>
264 </mapping>
265 <strictCheck>true</strictCheck>
266 </configuration>
267 <executions>
268 <execution>
269 <id>check-license</id>
270 <phase>initialize</phase>
271 <goals>
272 <goal>check</goal>
273 </goals>
274 </execution>
275 </executions>
276 </plugin>
277 <plugin>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-surefire-plugin</artifactId>
280 <version>2.16</version>
281 <configuration>
282 <groups>${test.groups}</groups>
283 <useFile>false</useFile>
284 <systemPropertyVariables>
285 <cassandra.version>${cassandra.version}</cassandra.version>
286 <ipprefix>${ipprefix}</ipprefix>
287 <com.datastax.driver.NEW_NODE_DELAY_SECONDS>60</com.datastax.driver.NEW_NODE_DELAY_SECONDS>
288 </systemPropertyVariables>
289 <classpathDependencyExcludes>
290 <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
291 </classpathDependencyExcludes>
292 <properties>
293 <property>
294 <!-- Don't skip tests after a @Before method throws a SkipException -->
295 <name>configfailurepolicy</name>
296 <value>continue</value>
297 </property>
298 </properties>
299 </configuration>
300 </plugin>
301 </plugins>
302
303 </build>
304
305 <licenses>
306 <license>
307 <name>Apache 2</name>
308 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
309 <distribution>repo</distribution>
310 <comments>Apache License Version 2.0</comments>
311 </license>
312 </licenses>
313
314 <scm>
315 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
316 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
317 <url>https://github.com/datastax/java-driver</url>
318 <tag>HEAD</tag>
319 </scm>
320
321 <developers>
322 <developer>
323 <name>Various</name>
324 <organization>DataStax</organization>
325 </developer>
326 </developers>
327</project>