Elffuss BraidHub

kikocis/java-driver public

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