Elffuss BraidHub

kikocis/java-driver public

b32166e873b8 · 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 <!-- test dependency versions -->
61 <testng.version>6.8.8</testng.version>
62 <assertj.version>1.7.0</assertj.version>
63 <mockito.version>1.10.8</mockito.version>
64 <scassandra.version>0.11.0</scassandra.version>
65 <main.basedir>${project.basedir}</main.basedir>
66 </properties>
67
68 <dependencies>
69 <dependency>
70 <groupId>log4j</groupId>
71 <artifactId>log4j</artifactId>
72 <version>${log4j.version}</version>
73 <scope>test</scope>
74 </dependency>
75
76 <dependency>
77 <groupId>org.slf4j</groupId>
78 <artifactId>slf4j-log4j12</artifactId>
79 <version>${slf4j-log4j12.version}</version>
80 <scope>test</scope>
81 </dependency>
82 </dependencies>
83
84 <profiles>
85 <profile>
86 <id>doclint-java8-disable</id>
87 <activation>
88 <jdk>[1.8,)</jdk>
89 </activation>
90 <properties>
91 <javadoc.opts>-Xdoclint:none</javadoc.opts>
92 </properties>
93 </profile>
94 <profile>
95 <!-- default profile settings for 'isolated' test group, will skip tests unless overriden in child module. -->
96 <id>isolated</id>
97 <properties>
98 <env>default</env>
99 </properties>
100 <build>
101 <plugins>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-surefire-plugin</artifactId>
105 <version>2.16</version>
106 <configuration>
107 <skip>true</skip>
108 <forkCount>1</forkCount>
109 <reuseForks>false</reuseForks>
110 <groups>isolated</groups>
111 <reportNameSuffix>isolated</reportNameSuffix>
112 <useFile>false</useFile>
113 <systemPropertyVariables>
114 <cassandra.version>${cassandra.version}</cassandra.version>
115 <ipprefix>${ipprefix}</ipprefix>
116 </systemPropertyVariables>
117 <classpathDependencyExcludes>
118 <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
119 </classpathDependencyExcludes>
120 <!-- This requires includes to be explicitly specified by implementing classes.
121 This is needed to prevent creating a JVM fork for each test, even those that don't
122 have the isolated group. -->
123 <includes/>
124 </configuration>
125 </plugin>
126 </plugins>
127 </build>
128 </profile>
129 </profiles>
130
131 <build>
132 <plugins>
133 <plugin>
134 <artifactId>maven-compiler-plugin</artifactId>
135 <version>3.1</version>
136 <configuration>
137 <source>${java.version}</source>
138 <target>${java.version}</target>
139 <optimize>true</optimize>
140 <showDeprecation>true</showDeprecation>
141 <showWarnings>true</showWarnings>
142 </configuration>
143 </plugin>
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-source-plugin</artifactId>
147 <version>2.2.1</version>
148 <executions>
149 <execution>
150 <id>attach-sources</id>
151 <goals>
152 <goal>jar-no-fork</goal>
153 </goals>
154 </execution>
155 </executions>
156 </plugin>
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-javadoc-plugin</artifactId>
160 <version>2.9.1</version>
161 <configuration>
162 <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
163 <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>
164 </configuration>
165 <executions>
166 <execution>
167 <id>attach-javadocs</id>
168 <goals>
169 <goal>jar</goal>
170 </goals>
171 <configuration>
172 <additionalparam>${javadoc.opts}</additionalparam>
173 </configuration>
174 </execution>
175 </executions>
176 </plugin>
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-release-plugin</artifactId>
180 <version>2.5</version>
181 <configuration>
182 <tagNameFormat>@{project.version}</tagNameFormat>
183 </configuration>
184 </plugin>
185 <plugin>
186 <groupId>org.codehaus.mojo</groupId>
187 <artifactId>clirr-maven-plugin</artifactId>
188 <version>2.6.1</version>
189 <executions>
190 <execution>
191 <phase>compile</phase>
192 <goals><goal>check</goal></goals>
193 </execution>
194 </executions>
195 <configuration>
196 <comparisonVersion>2.1.9</comparisonVersion>
197 <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
198 <excludes>
199 <!-- Package-private, internal classes -->
200 <exclude>com/datastax/driver/core/Frame$*</exclude>
201 <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude>
202 <exclude>com/datastax/driver/core/Message$*</exclude>
203 <exclude>com/datastax/driver/core/Requests$*</exclude>
204 <exclude>com/datastax/driver/core/Responses$*</exclude>
205 <exclude>com/datastax/driver/core/Connection$*</exclude>
206 </excludes>
207 </configuration>
208 </plugin>
209 <!--
210 To update license headers run:
211 mvn license:format
212 -->
213 <plugin>
214 <groupId>com.mycila</groupId>
215 <artifactId>license-maven-plugin</artifactId>
216 <version>2.8</version>
217 <configuration>
218 <header>${main.basedir}/src/license/header.txt</header>
219 <includes>
220 <include>src/**/*.java</include>
221 <include>src/**/*.xml</include>
222 <include>src/**/*.properties</include>
223 <include>**/pom.xml</include>
224 </includes>
225 <excludes>
226 <exclude>**/src/main/config/ide/**</exclude>
227 </excludes>
228 <mapping>
229 <java>SLASHSTAR_STYLE</java>
230 <properties>SCRIPT_STYLE</properties>
231 </mapping>
232 <strictCheck>true</strictCheck>
233 </configuration>
234 <executions>
235 <execution>
236 <id>check-license</id>
237 <phase>initialize</phase>
238 <goals>
239 <goal>check</goal>
240 </goals>
241 </execution>
242 </executions>
243 </plugin>
244 </plugins>
245 </build>
246
247 <licenses>
248 <license>
249 <name>Apache 2</name>
250 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
251 <distribution>repo</distribution>
252 <comments>Apache License Version 2.0</comments>
253 </license>
254 </licenses>
255
256 <scm>
257 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
258 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
259 <url>https://github.com/datastax/java-driver</url>
260 <tag>HEAD</tag>
261 </scm>
262
263 <developers>
264 <developer>
265 <name>Various</name>
266 <organization>DataStax</organization>
267 </developer>
268 </developers>
269</project>