Elffuss BraidHub

kikocis/java-driver public

f01502dcbaf7 · 9.6 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"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21 <parent>
22 <groupId>org.sonatype.oss</groupId>
23 <artifactId>oss-parent</artifactId>
24 <version>7</version>
25 <relativePath/>
26 </parent>
27
28 <groupId>com.datastax.cassandra</groupId>
29 <artifactId>cassandra-driver-parent</artifactId>
30 <version>2.0.12.1-SNAPSHOT</version>
31 <packaging>pom</packaging>
32 <name>DataStax Java Driver for Apache Cassandra</name>
33 <description>A driver for Apache Cassandra 1.2+ that works exclusively with the Cassandra Query Language version 3
34 (CQL3) and Cassandra's binary protocol.
35 </description>
36 <url>https://github.com/datastax/java-driver</url>
37 <inceptionYear>2012</inceptionYear>
38
39 <modules>
40 <module>driver-core</module>
41 <module>driver-examples</module>
42 <module>driver-dist</module>
43 </modules>
44
45 <properties>
46 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47 <cassandra.version>2.0.16</cassandra.version>
48 <java.version>1.6</java.version>
49 <log4j.version>1.2.17</log4j.version>
50 <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version>
51 <!--
52 We use an old version of Guava to be compatible with Spark 1.1.
53 Check with the spark-cassandra-connector team before upgrading this.
54 -->
55 <guava.version>14.0.1</guava.version>
56 <netty.version>4.0.27.Final</netty.version>
57 <metrics.version>3.0.2</metrics.version>
58 <snappy.version>1.0.5</snappy.version>
59 <lz4.version>1.2.0</lz4.version>
60 <hdr.version>2.1.4</hdr.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.10.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 </profiles>
96
97 <build>
98 <plugins>
99 <plugin>
100 <artifactId>maven-compiler-plugin</artifactId>
101 <version>3.1</version>
102 <configuration>
103 <source>${java.version}</source>
104 <target>${java.version}</target>
105 <optimize>true</optimize>
106 <showDeprecation>true</showDeprecation>
107 <showWarnings>true</showWarnings>
108 </configuration>
109 </plugin>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-source-plugin</artifactId>
113 <version>2.2.1</version>
114 <executions>
115 <execution>
116 <id>attach-sources</id>
117 <goals>
118 <goal>jar</goal>
119 </goals>
120 </execution>
121 </executions>
122 </plugin>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-javadoc-plugin</artifactId>
126 <version>2.9.1</version>
127 <configuration>
128 <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
129 <additionalparam>-header '&lt;script type="text/javascript"
130 src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'
131 </additionalparam>
132 </configuration>
133 <executions>
134 <execution>
135 <id>attach-javadocs</id>
136 <goals>
137 <goal>jar</goal>
138 </goals>
139 <configuration>
140 <additionalparam>${javadoc.opts}</additionalparam>
141 </configuration>
142 </execution>
143 </executions>
144 </plugin>
145 <plugin>
146 <artifactId>maven-assembly-plugin</artifactId>
147 <version>2.4</version>
148 <configuration>
149 <descriptorRefs>
150 <descriptorRef>jar-with-dependencies</descriptorRef>
151 </descriptorRefs>
152 </configuration>
153 </plugin>
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-release-plugin</artifactId>
157 <version>2.5</version>
158 <configuration>
159 <tagNameFormat>@{project.version}</tagNameFormat>
160 </configuration>
161 </plugin>
162 <plugin>
163 <groupId>org.codehaus.mojo</groupId>
164 <artifactId>clirr-maven-plugin</artifactId>
165 <version>2.6.1</version>
166 <executions>
167 <execution>
168 <phase>compile</phase>
169 <goals>
170 <goal>check</goal>
171 </goals>
172 </execution>
173 </executions>
174 <configuration>
175 <comparisonVersion>2.0.12</comparisonVersion>
176 <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
177 <excludes>
178 <!-- Package-private, internal classes -->
179 <exclude>com/datastax/driver/core/Frame$*</exclude>
180 <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude>
181 <exclude>com/datastax/driver/core/Message$*</exclude>
182 <exclude>com/datastax/driver/core/Requests$*</exclude>
183 <exclude>com/datastax/driver/core/Responses$*</exclude>
184 <exclude>com/datastax/driver/core/Connection$*</exclude>
185 </excludes>
186 </configuration>
187 </plugin>
188 <!--
189 To update license headers run:
190 mvn license:format
191 -->
192 <plugin>
193 <groupId>com.mycila</groupId>
194 <artifactId>license-maven-plugin</artifactId>
195 <version>2.8</version>
196 <configuration>
197 <header>${main.basedir}/src/license/header.txt</header>
198 <includes>
199 <include>src/**/*.java</include>
200 <include>src/**/*.xml</include>
201 <include>src/**/*.properties</include>
202 <include>**/pom.xml</include>
203 </includes>
204 <excludes>
205 <exclude>**/src/main/config/ide/**</exclude>
206 </excludes>
207 <mapping>
208 <java>SLASHSTAR_STYLE</java>
209 <properties>SCRIPT_STYLE</properties>
210 </mapping>
211 <strictCheck>true</strictCheck>
212 </configuration>
213 <executions>
214 <execution>
215 <id>check-license</id>
216 <phase>initialize</phase>
217 <goals>
218 <goal>check</goal>
219 </goals>
220 </execution>
221 </executions>
222 </plugin>
223 </plugins>
224 </build>
225
226 <licenses>
227 <license>
228 <name>Apache 2</name>
229 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
230 <distribution>repo</distribution>
231 <comments>Apache License Version 2.0</comments>
232 </license>
233 </licenses>
234
235 <scm>
236 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
237 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
238 <url>https://github.com/datastax/java-driver</url>
239 <tag>HEAD</tag>
240 </scm>
241
242 <developers>
243 <developer>
244 <name>Various</name>
245 <organization>DataStax</organization>
246 </developer>
247 </developers>
248</project>