Elffuss BraidHub

kikocis/java-driver public

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