Elffuss BraidHub

kikocis/java-driver public

90868556be12 · 9.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 <configuration>
146 <!--
147 There is no support for JDK 8 yet, see
148 https://github.com/mojohaus/animal-sniffer/issues/1
149 -->
150 <skip>true</skip>
151 <signature>
152 <groupId>org.codehaus.mojo.signature</groupId>
153 <artifactId>java18</artifactId>
154 <version>1.0</version>
155 </signature>
156 </configuration>
157 </plugin>
158
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-surefire-plugin</artifactId>
162 <version>2.16</version>
163 <configuration>
164 <groups>${test.groups}</groups>
165 <useFile>false</useFile>
166 <systemPropertyVariables>
167 <cassandra.version>${cassandra.version}</cassandra.version>
168 <ipprefix>${ipprefix}</ipprefix>
169 </systemPropertyVariables>
170 <classpathDependencyExcludes>
171 <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
172 </classpathDependencyExcludes>
173 <excludes>
174 <exclude>${jdk8.excludes}</exclude>
175 </excludes>
176 </configuration>
177 </plugin>
178
179 <plugin>
180 <groupId>org.apache.felix</groupId>
181 <artifactId>maven-bundle-plugin</artifactId>
182 <extensions>true</extensions>
183 <version>2.4.0</version>
184 <executions>
185 <execution>
186 <id>bundle-manifest</id>
187 <phase>process-classes</phase>
188 <goals>
189 <goal>manifest</goal>
190 </goals>
191 </execution>
192 </executions>
193 <configuration>
194 <instructions>
195 <Bundle-SymbolicName>com.datastax.driver.extras</Bundle-SymbolicName>
196 <Bundle-Version>${project.version}</Bundle-Version>
197 <_include>-osgi.bnd</_include>
198 </instructions>
199 <supportedProjectTypes>
200 <supportedProjectType>jar</supportedProjectType>
201 <supportedProjectType>bundle</supportedProjectType>
202 <supportedProjectType>pom</supportedProjectType>
203 </supportedProjectTypes>
204 </configuration>
205 </plugin>
206
207 </plugins>
208
209 </build>
210
211 <profiles>
212
213 <profile>
214 <id>short</id>
215 <properties>
216 <test.groups>unit,short</test.groups>
217 </properties>
218 </profile>
219
220 <profile>
221 <id>long</id>
222 <properties>
223 <test.groups>unit,short,long</test.groups>
224 </properties>
225 </profile>
226
227 <!--
228 This profile excludes all JDK 8 dependent classes from
229 compilation. Use this when running tests with a legacy JDK (6 or 7)
230 -->
231 <profile>
232 <id>legacy-jdks</id>
233 <activation>
234 <jdk>[,1.8)</jdk>
235 </activation>
236 <properties>
237 <jdk8.excludes>**/jdk8/*.java</jdk8.excludes>
238 </properties>
239 </profile>
240
241 </profiles>
242
243 <licenses>
244 <license>
245 <name>Apache 2</name>
246 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
247 <distribution>repo</distribution>
248 <comments>Apache License Version 2.0</comments>
249 </license>
250 </licenses>
251
252 <scm>
253 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
254 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
255 <url>https://github.com/datastax/java-driver</url>
256 <tag>HEAD</tag>
257 </scm>
258
259 <developers>
260 <developer>
261 <name>Various</name>
262 <organization>DataStax</organization>
263 </developer>
264 </developers>
265
266</project>