Elffuss BraidHub

kikocis/java-driver public

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