Elffuss BraidHub

kikocis/java-driver public

62f0b882a788 · 8.8 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.0.13-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-examples</module>
39 <module>driver-dse</module>
40 <module>driver-dist</module>
41 </modules>
42
43 <properties>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 <cassandra.version>2.0.16</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.27.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.10.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 </profiles>
94
95 <build>
96 <plugins>
97 <plugin>
98 <artifactId>maven-compiler-plugin</artifactId>
99 <version>3.1</version>
100 <configuration>
101 <source>${java.version}</source>
102 <target>${java.version}</target>
103 <optimize>true</optimize>
104 <showDeprecation>true</showDeprecation>
105 <showWarnings>true</showWarnings>
106 </configuration>
107 </plugin>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-source-plugin</artifactId>
111 <version>2.2.1</version>
112 <executions>
113 <execution>
114 <id>attach-sources</id>
115 <goals>
116 <goal>jar</goal>
117 </goals>
118 </execution>
119 </executions>
120 </plugin>
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-javadoc-plugin</artifactId>
124 <version>2.9.1</version>
125 <configuration>
126 <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
127 <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>
128 </configuration>
129 <executions>
130 <execution>
131 <id>attach-javadocs</id>
132 <goals>
133 <goal>jar</goal>
134 </goals>
135 <configuration>
136 <additionalparam>${javadoc.opts}</additionalparam>
137 </configuration>
138 </execution>
139 </executions>
140 </plugin>
141 <plugin>
142 <artifactId>maven-assembly-plugin</artifactId>
143 <version>2.4</version>
144 <configuration>
145 <descriptorRefs>
146 <descriptorRef>jar-with-dependencies</descriptorRef>
147 </descriptorRefs>
148 </configuration>
149 </plugin>
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-release-plugin</artifactId>
153 <version>2.5</version>
154 <configuration>
155 <tagNameFormat>@{project.version}</tagNameFormat>
156 </configuration>
157 </plugin>
158 <plugin>
159 <groupId>org.codehaus.mojo</groupId>
160 <artifactId>clirr-maven-plugin</artifactId>
161 <version>2.6.1</version>
162 <executions>
163 <execution>
164 <phase>compile</phase>
165 <goals><goal>check</goal></goals>
166 </execution>
167 </executions>
168 <configuration>
169 <comparisonVersion>2.0.11</comparisonVersion>
170 <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
171 <excludes>
172 <!-- Package-private, internal classes -->
173 <exclude>com/datastax/driver/core/Frame$*</exclude>
174 <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude>
175 <exclude>com/datastax/driver/core/Message$*</exclude>
176 <exclude>com/datastax/driver/core/Requests$*</exclude>
177 <exclude>com/datastax/driver/core/Responses$*</exclude>
178 <exclude>com/datastax/driver/core/Connection$*</exclude>
179 </excludes>
180 </configuration>
181 </plugin>
182 <plugin>
183 <groupId>org.codehaus.mojo</groupId>
184 <artifactId>build-helper-maven-plugin</artifactId>
185 <version>1.9.1</version>
186 <executions>
187 <execution>
188 <id>timestamp-property</id>
189 <phase>initialize</phase>
190 <goals>
191 <goal>timestamp-property</goal>
192 </goals>
193 <configuration>
194 <name>currentYear</name>
195 <pattern>yyyy</pattern>
196 <locale>en_US</locale>
197 </configuration>
198 </execution>
199 </executions>
200 </plugin>
201 <!--
202 To update license headers run:
203 mvn license:format -DcurrentYear=XXXX
204 -->
205 <plugin>
206 <groupId>com.mycila</groupId>
207 <artifactId>license-maven-plugin</artifactId>
208 <version>2.8</version>
209 <configuration>
210 <header>${main.basedir}/src/license/header.txt</header>
211 <includes>
212 <include>src/**/*.java</include>
213 <include>src/**/*.xml</include>
214 <include>src/**/*.properties</include>
215 <include>**/pom.xml</include>
216 </includes>
217 <excludes>
218 <exclude>**/src/main/config/ide/**</exclude>
219 </excludes>
220 <mapping>
221 <java>SLASHSTAR_STYLE</java>
222 <properties>SCRIPT_STYLE</properties>
223 </mapping>
224 <strictCheck>true</strictCheck>
225 </configuration>
226 <executions>
227 <execution>
228 <id>check-license</id>
229 <phase>initialize</phase>
230 <goals>
231 <goal>check</goal>
232 </goals>
233 <configuration>
234 <properties>
235 <currentYear>${currentYear}</currentYear>
236 </properties>
237 </configuration>
238 </execution>
239 </executions>
240 </plugin>
241 </plugins>
242 </build>
243
244 <licenses>
245 <license>
246 <name>Apache 2</name>
247 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
248 <distribution>repo</distribution>
249 <comments>Apache License Version 2.0</comments>
250 </license>
251 </licenses>
252
253 <scm>
254 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
255 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
256 <url>https://github.com/datastax/java-driver</url>
257 <tag>HEAD</tag>
258 </scm>
259
260 <developers>
261 <developer>
262 <name>Various</name>
263 <organization>DataStax</organization>
264 </developer>
265 </developers>
266</project>