Elffuss BraidHub

kikocis/java-driver public

c6378533a184 · 8.4 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>3.0.0-alpha4-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-dse</module>
41 <module>driver-dist</module>
42 </modules>
43
44 <properties>
45 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46 <cassandra.version>3.0.0-rc1</cassandra.version>
47 <java.version>1.6</java.version>
48 <log4j.version>1.2.17</log4j.version>
49 <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version>
50 <guava.version>16.0.1</guava.version>
51 <netty.version>4.0.27.Final</netty.version>
52 <metrics.version>3.0.2</metrics.version>
53 <snappy.version>1.0.5</snappy.version>
54 <lz4.version>1.2.0</lz4.version>
55 <hdr.version>2.1.4</hdr.version>
56 <!-- test dependency versions -->
57 <testng.version>6.8.8</testng.version>
58 <assertj.version>1.7.0</assertj.version>
59 <mockito.version>1.10.8</mockito.version>
60 <scassandra.version>0.10.0</scassandra.version>
61 <main.basedir>${project.basedir}</main.basedir>
62 </properties>
63
64 <dependencies>
65 <dependency>
66 <groupId>log4j</groupId>
67 <artifactId>log4j</artifactId>
68 <version>${log4j.version}</version>
69 <scope>test</scope>
70 </dependency>
71
72 <dependency>
73 <groupId>org.slf4j</groupId>
74 <artifactId>slf4j-log4j12</artifactId>
75 <version>${slf4j-log4j12.version}</version>
76 <scope>test</scope>
77 </dependency>
78 </dependencies>
79
80 <profiles>
81 <profile>
82 <id>doclint-java8-disable</id>
83 <activation>
84 <jdk>[1.8,)</jdk>
85 </activation>
86 <properties>
87 <javadoc.opts>-Xdoclint:none</javadoc.opts>
88 </properties>
89 </profile>
90 </profiles>
91
92 <build>
93 <plugins>
94 <plugin>
95 <artifactId>maven-compiler-plugin</artifactId>
96 <version>3.1</version>
97 <configuration>
98 <source>${java.version}</source>
99 <target>${java.version}</target>
100 <optimize>true</optimize>
101 <showDeprecation>true</showDeprecation>
102 <showWarnings>true</showWarnings>
103 </configuration>
104 </plugin>
105 <plugin>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-source-plugin</artifactId>
108 <version>2.2.1</version>
109 <executions>
110 <execution>
111 <id>attach-sources</id>
112 <goals>
113 <goal>jar-no-fork</goal>
114 </goals>
115 </execution>
116 </executions>
117 </plugin>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-javadoc-plugin</artifactId>
121 <version>2.9.1</version>
122 <configuration>
123 <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
124 <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>
125 </configuration>
126 <executions>
127 <execution>
128 <id>attach-javadocs</id>
129 <goals>
130 <goal>jar</goal>
131 </goals>
132 <configuration>
133 <additionalparam>${javadoc.opts}</additionalparam>
134 </configuration>
135 </execution>
136 </executions>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-release-plugin</artifactId>
141 <version>2.5</version>
142 <configuration>
143 <tagNameFormat>@{project.version}</tagNameFormat>
144 </configuration>
145 </plugin>
146 <plugin>
147 <groupId>org.codehaus.mojo</groupId>
148 <artifactId>clirr-maven-plugin</artifactId>
149 <version>2.6.1</version>
150 <executions>
151 <execution>
152 <phase>compile</phase>
153 <goals><goal>check</goal></goals>
154 </execution>
155 </executions>
156 <configuration>
157 <comparisonVersion>3.0.0</comparisonVersion>
158 <ignoredDifferencesFile>../clirr-ignores.xml</ignoredDifferencesFile>
159 <excludes>
160 <!-- Package-private, internal classes -->
161 <exclude>com/datastax/driver/core/Frame$*</exclude>
162 <exclude>com/datastax/driver/core/ProtocolEvent$*</exclude>
163 <exclude>com/datastax/driver/core/Message$*</exclude>
164 <exclude>com/datastax/driver/core/Requests$*</exclude>
165 <exclude>com/datastax/driver/core/Responses$*</exclude>
166 <exclude>com/datastax/driver/core/Connection$*</exclude>
167 </excludes>
168 </configuration>
169 </plugin>
170 <plugin>
171 <groupId>org.codehaus.mojo</groupId>
172 <artifactId>build-helper-maven-plugin</artifactId>
173 <version>1.9.1</version>
174 <executions>
175 <execution>
176 <id>timestamp-property</id>
177 <phase>initialize</phase>
178 <goals>
179 <goal>timestamp-property</goal>
180 </goals>
181 <configuration>
182 <name>currentYear</name>
183 <pattern>yyyy</pattern>
184 <locale>en_US</locale>
185 </configuration>
186 </execution>
187 </executions>
188 </plugin>
189 <!--
190 To update license headers run:
191 mvn license:format -DcurrentYear=XXXX
192 -->
193 <plugin>
194 <groupId>com.mycila</groupId>
195 <artifactId>license-maven-plugin</artifactId>
196 <version>2.8</version>
197 <configuration>
198 <header>${main.basedir}/src/license/header.txt</header>
199 <includes>
200 <include>src/**/*.java</include>
201 <include>src/**/*.xml</include>
202 <include>src/**/*.properties</include>
203 <include>**/pom.xml</include>
204 </includes>
205 <excludes>
206 <exclude>**/src/main/config/ide/**</exclude>
207 </excludes>
208 <mapping>
209 <java>SLASHSTAR_STYLE</java>
210 <properties>SCRIPT_STYLE</properties>
211 </mapping>
212 <strictCheck>true</strictCheck>
213 </configuration>
214 <executions>
215 <execution>
216 <id>check-license</id>
217 <phase>initialize</phase>
218 <goals>
219 <goal>check</goal>
220 </goals>
221 <configuration>
222 <properties>
223 <currentYear>${currentYear}</currentYear>
224 </properties>
225 </configuration>
226 </execution>
227 </executions>
228 </plugin>
229 </plugins>
230 </build>
231
232 <licenses>
233 <license>
234 <name>Apache 2</name>
235 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
236 <distribution>repo</distribution>
237 <comments>Apache License Version 2.0</comments>
238 </license>
239 </licenses>
240
241 <scm>
242 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
243 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
244 <url>https://github.com/datastax/java-driver</url>
245 <tag>HEAD</tag>
246 </scm>
247
248 <developers>
249 <developer>
250 <name>Various</name>
251 <organization>DataStax</organization>
252 </developer>
253 </developers>
254</project>