Elffuss BraidHub

kikocis/java-driver public

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