Elffuss BraidHub

kikocis/java-driver public

c9dbc74fb796 · 7.9 KiBRawPermalink
1<!--
2 Licensed under the Apache License, Version 2.0 (the "License");
3 you may not use this file except in compliance with the License.
4 You may obtain a copy of the License at
5
6 http://www.apache.org/licenses/LICENSE-2.0
7
8 Unless required by applicable law or agreed to in writing, software
9 distributed under the License is distributed on an "AS IS" BASIS,
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 See the License for the specific language governing permissions and
12 limitations under the License. See accompanying LICENSE file.
13-->
14<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">
15 <modelVersion>4.0.0</modelVersion>
16 <parent>
17 <groupId>org.sonatype.oss</groupId>
18 <artifactId>oss-parent</artifactId>
19 <version>7</version>
20 <relativePath/>
21 </parent>
22
23 <groupId>com.datastax.cassandra</groupId>
24 <artifactId>cassandra-driver-parent</artifactId>
25 <version>2.0.10-SNAPSHOT</version>
26 <packaging>pom</packaging>
27 <name>DataStax Java Driver for Apache Cassandra</name>
28 <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>
29 <url>https://github.com/datastax/java-driver</url>
30 <inceptionYear>2012</inceptionYear>
31
32 <modules>
33 <module>driver-core</module>
34 <module>driver-examples</module>
35 <module>driver-dse</module>
36 <module>driver-dist</module>
37 </modules>
38
39 <properties>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <cassandra.version>2.0.10</cassandra.version>
42 <java.version>1.6</java.version>
43 <log4j.version>1.2.17</log4j.version>
44 <slf4j-log4j12.version>1.7.6</slf4j-log4j12.version>
45 <!--
46 We use an old version of Guava to be compatible with Spark 1.1.
47 Check with the spark-cassandra-connector team before upgrading this.
48 -->
49 <guava.version>14.0.1</guava.version>
50 <netty.version>4.0.26.Final</netty.version>
51 <metrics.version>3.0.2</metrics.version>
52 <snappy.version>1.0.5</snappy.version>
53 <lz4.version>1.2.0</lz4.version>
54 <!-- test dependency versions -->
55 <testng.version>6.8.8</testng.version>
56 <assertj.version>1.7.0</assertj.version>
57 <mockito.version>1.10.8</mockito.version>
58 <!--
59 There are more recent versions of Scassandra but they require JDK 7,
60 our build is still using JDK 6.
61 -->
62 <scassandra.version>0.4.1</scassandra.version>
63 <main.basedir>${project.basedir}</main.basedir>
64 </properties>
65
66 <dependencies>
67 <dependency>
68 <groupId>log4j</groupId>
69 <artifactId>log4j</artifactId>
70 <version>${log4j.version}</version>
71 <scope>test</scope>
72 </dependency>
73
74 <dependency>
75 <groupId>org.slf4j</groupId>
76 <artifactId>slf4j-log4j12</artifactId>
77 <version>${slf4j-log4j12.version}</version>
78 <scope>test</scope>
79 </dependency>
80 </dependencies>
81
82 <profiles>
83 <profile>
84 <id>doclint-java8-disable</id>
85 <activation>
86 <jdk>[1.8,)</jdk>
87 </activation>
88 <properties>
89 <javadoc.opts>-Xdoclint:none</javadoc.opts>
90 </properties>
91 </profile>
92 </profiles>
93
94 <build>
95 <plugins>
96 <plugin>
97 <artifactId>maven-compiler-plugin</artifactId>
98 <version>3.1</version>
99 <configuration>
100 <source>${java.version}</source>
101 <target>${java.version}</target>
102 <optimize>true</optimize>
103 <showDeprecation>true</showDeprecation>
104 <showWarnings>true</showWarnings>
105 </configuration>
106 </plugin>
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-source-plugin</artifactId>
110 <version>2.2.1</version>
111 <executions>
112 <execution>
113 <id>attach-sources</id>
114 <goals>
115 <goal>jar</goal>
116 </goals>
117 </execution>
118 </executions>
119 </plugin>
120 <plugin>
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-javadoc-plugin</artifactId>
123 <version>2.9.1</version>
124 <configuration>
125 <!-- I can haz math in my javadoc (see http://zverovich.net/2012/01/14/beautiful-math-in-javadoc.html) -->
126 <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>
127 </configuration>
128 <executions>
129 <execution>
130 <id>attach-javadocs</id>
131 <goals>
132 <goal>jar</goal>
133 </goals>
134 <configuration>
135 <additionalparam>${javadoc.opts}</additionalparam>
136 </configuration>
137 </execution>
138 </executions>
139 </plugin>
140 <plugin>
141 <artifactId>maven-assembly-plugin</artifactId>
142 <version>2.4</version>
143 <configuration>
144 <descriptorRefs>
145 <descriptorRef>jar-with-dependencies</descriptorRef>
146 </descriptorRefs>
147 </configuration>
148 </plugin>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-release-plugin</artifactId>
152 <version>2.5</version>
153 <configuration>
154 <tagNameFormat>@{project.version}</tagNameFormat>
155 </configuration>
156 </plugin>
157 <plugin>
158 <groupId>org.codehaus.mojo</groupId>
159 <artifactId>build-helper-maven-plugin</artifactId>
160 <version>1.9.1</version>
161 <executions>
162 <execution>
163 <id>timestamp-property</id>
164 <phase>initialize</phase>
165 <goals>
166 <goal>timestamp-property</goal>
167 </goals>
168 <configuration>
169 <name>currentYear</name>
170 <pattern>yyyy</pattern>
171 <locale>en_US</locale>
172 </configuration>
173 </execution>
174 </executions>
175 </plugin>
176 <!--
177 To update license headers run:
178 mvn license:format -DcurrentYear=XXXX
179 -->
180 <plugin>
181 <groupId>com.mycila</groupId>
182 <artifactId>license-maven-plugin</artifactId>
183 <version>2.8</version>
184 <configuration>
185 <header>${main.basedir}/src/license/header.txt</header>
186 <includes>
187 <include>src/**/*.java</include>
188 <include>src/**/*.xml</include>
189 <include>src/**/*.properties</include>
190 <include>**/pom.xml</include>
191 </includes>
192 <excludes>
193 <exclude>**/src/main/config/ide/**</exclude>
194 </excludes>
195 <mapping>
196 <java>SLASHSTAR_STYLE</java>
197 <properties>SCRIPT_STYLE</properties>
198 </mapping>
199 <strictCheck>true</strictCheck>
200 </configuration>
201 <executions>
202 <execution>
203 <id>check-license</id>
204 <phase>initialize</phase>
205 <goals>
206 <goal>check</goal>
207 </goals>
208 <configuration>
209 <properties>
210 <currentYear>${currentYear}</currentYear>
211 </properties>
212 </configuration>
213 </execution>
214 </executions>
215 </plugin>
216 </plugins>
217 </build>
218
219 <licenses>
220 <license>
221 <name>Apache 2</name>
222 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
223 <distribution>repo</distribution>
224 <comments>Apache License Version 2.0</comments>
225 </license>
226 </licenses>
227
228 <scm>
229 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
230 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
231 <url>https://github.com/datastax/java-driver</url>
232 </scm>
233
234 <developers>
235 <developer>
236 <name>Various</name>
237 <organization>DataStax</organization>
238 </developer>
239 </developers>
240</project>