Elffuss BraidHub

kikocis/java-driver public

ced5ba920359 · 10.0 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/xsd/maven-4.0.0.xsd">
19 <parent>
20 <artifactId>cassandra-driver-parent</artifactId>
21 <groupId>com.datastax.cassandra</groupId>
22 <version>3.0.1-SNAPSHOT</version>
23 </parent>
24 <modelVersion>4.0.0</modelVersion>
25
26 <artifactId>cassandra-driver-extras</artifactId>
27
28 <name>DataStax Java Driver for Apache Cassandra - Extras</name>
29 <description>Extended functionality for the Java driver.</description>
30 <url>https://github.com/datastax/java-driver</url>
31
32 <properties>
33 <main.basedir>${project.parent.basedir}</main.basedir>
34 <test.groups>unit</test.groups>
35 <jdk8.excludes>none</jdk8.excludes>
36 </properties>
37
38 <dependencies>
39
40 <dependency>
41 <groupId>com.datastax.cassandra</groupId>
42 <artifactId>cassandra-driver-core</artifactId>
43 <version>${project.parent.version}</version>
44 </dependency>
45
46 <dependency>
47 <groupId>com.google.guava</groupId>
48 <artifactId>guava</artifactId>
49 <version>${guava.version}</version>
50 </dependency>
51
52 <dependency>
53 <groupId>com.fasterxml.jackson.core</groupId>
54 <artifactId>jackson-databind</artifactId>
55 <version>${jackson.version}</version>
56 <optional>true</optional>
57 </dependency>
58
59 <dependency>
60 <groupId>joda-time</groupId>
61 <artifactId>joda-time</artifactId>
62 <version>${joda.version}</version>
63 <optional>true</optional>
64 </dependency>
65
66 <dependency>
67 <groupId>javax.json</groupId>
68 <artifactId>javax.json-api</artifactId>
69 <version>${jsr353-api.version}</version>
70 <optional>true</optional>
71 </dependency>
72
73 <dependency>
74 <groupId>com.datastax.cassandra</groupId>
75 <artifactId>cassandra-driver-core</artifactId>
76 <version>${project.parent.version}</version>
77 <type>test-jar</type>
78 <scope>test</scope>
79 </dependency>
80
81 <dependency>
82 <groupId>com.datastax.cassandra</groupId>
83 <artifactId>cassandra-driver-mapping</artifactId>
84 <version>${project.parent.version}</version>
85 <scope>test</scope>
86 </dependency>
87
88 <dependency>
89 <groupId>org.testng</groupId>
90 <artifactId>testng</artifactId>
91 <version>${testng.version}</version>
92 <scope>test</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>org.assertj</groupId>
97 <artifactId>assertj-core</artifactId>
98 <version>${assertj.version}</version>
99 <scope>test</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>org.mockito</groupId>
104 <artifactId>mockito-all</artifactId>
105 <version>${mockito.version}</version>
106 <scope>test</scope>
107 </dependency>
108
109 <dependency>
110 <groupId>org.apache.commons</groupId>
111 <artifactId>commons-exec</artifactId>
112 <version>${commons-exec.version}</version>
113 <scope>test</scope>
114 </dependency>
115
116 <dependency>
117 <groupId>org.glassfish</groupId>
118 <artifactId>javax.json</artifactId>
119 <version>${jsr353-ri.version}</version>
120 <scope>test</scope>
121 </dependency>
122
123 </dependencies>
124
125 <build>
126
127 <plugins>
128
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-compiler-plugin</artifactId>
132 <configuration>
133 <excludes>
134 <exclude>${jdk8.excludes}</exclude>
135 </excludes>
136 <testExcludes>
137 <exclude>${jdk8.excludes}</exclude>
138 </testExcludes>
139 </configuration>
140 </plugin>
141
142 <plugin>
143 <groupId>org.codehaus.mojo</groupId>
144 <artifactId>animal-sniffer-maven-plugin</artifactId>
145 <executions>
146 <execution>
147 <id>check</id>
148 <phase>process-classes</phase>
149 <goals>
150 <goal>check</goal>
151 </goals>
152 <configuration>
153 <signature>
154 <groupId>org.codehaus.mojo.signature</groupId>
155 <artifactId>java16</artifactId>
156 <version>1.0</version>
157 </signature>
158 <annotations>
159 <annotation>com.datastax.driver.extras.codecs.jdk8.IgnoreJDK6Requirement</annotation>
160 </annotations>
161 </configuration>
162 </execution>
163 <execution>
164 <id>check-jdk8</id>
165 <phase>process-classes</phase>
166 <goals>
167 <goal>check</goal>
168 </goals>
169 <configuration>
170 <signature>
171 <groupId>org.codehaus.mojo.signature</groupId>
172 <artifactId>java18</artifactId>
173 <version>1.0</version>
174 </signature>
175 </configuration>
176 </execution>
177 </executions>
178 </plugin>
179
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-surefire-plugin</artifactId>
183 <version>2.16</version>
184 <configuration>
185 <groups>${test.groups}</groups>
186 <useFile>false</useFile>
187 <systemPropertyVariables>
188 <cassandra.version>${cassandra.version}</cassandra.version>
189 <ipprefix>${ipprefix}</ipprefix>
190 </systemPropertyVariables>
191 <classpathDependencyExcludes>
192 <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
193 </classpathDependencyExcludes>
194 <excludes>
195 <exclude>${jdk8.excludes}</exclude>
196 </excludes>
197 </configuration>
198 </plugin>
199
200 <plugin>
201 <groupId>org.apache.felix</groupId>
202 <artifactId>maven-bundle-plugin</artifactId>
203 <extensions>true</extensions>
204 <version>2.4.0</version>
205 <executions>
206 <execution>
207 <id>bundle-manifest</id>
208 <phase>process-classes</phase>
209 <goals>
210 <goal>manifest</goal>
211 </goals>
212 </execution>
213 </executions>
214 <configuration>
215 <instructions>
216 <Bundle-SymbolicName>com.datastax.driver.extras</Bundle-SymbolicName>
217 <Bundle-Version>${project.version}</Bundle-Version>
218 <_include>-osgi.bnd</_include>
219 </instructions>
220 <supportedProjectTypes>
221 <supportedProjectType>jar</supportedProjectType>
222 <supportedProjectType>bundle</supportedProjectType>
223 <supportedProjectType>pom</supportedProjectType>
224 </supportedProjectTypes>
225 </configuration>
226 </plugin>
227
228 </plugins>
229
230 </build>
231
232 <profiles>
233
234 <profile>
235 <id>short</id>
236 <properties>
237 <test.groups>unit,short</test.groups>
238 </properties>
239 </profile>
240
241 <profile>
242 <id>long</id>
243 <properties>
244 <test.groups>unit,short,long</test.groups>
245 </properties>
246 </profile>
247
248 <!--
249 This profile excludes all JDK 8 dependent classes from
250 compilation. Use this when running tests with a legacy JDK (6 or 7)
251 -->
252 <profile>
253 <id>legacy-jdks</id>
254 <activation>
255 <jdk>[,1.8)</jdk>
256 </activation>
257 <properties>
258 <jdk8.excludes>**/jdk8/*.java</jdk8.excludes>
259 </properties>
260 </profile>
261
262 </profiles>
263
264 <licenses>
265 <license>
266 <name>Apache 2</name>
267 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
268 <distribution>repo</distribution>
269 <comments>Apache License Version 2.0</comments>
270 </license>
271 </licenses>
272
273 <scm>
274 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
275 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
276 <url>https://github.com/datastax/java-driver</url>
277 <tag>HEAD</tag>
278 </scm>
279
280 <developers>
281 <developer>
282 <name>Various</name>
283 <organization>DataStax</organization>
284 </developer>
285 </developers>
286
287</project>