Elffuss BraidHub

kikocis/java-driver public

493693bdeaa2 · 9.9 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/maven-v4_0_0.xsd">
19 <modelVersion>4.0.0</modelVersion>
20 <parent>
21 <groupId>com.datastax.cassandra</groupId>
22 <artifactId>cassandra-driver-tests-parent</artifactId>
23 <version>3.0.3-SNAPSHOT</version>
24 </parent>
25
26 <artifactId>cassandra-driver-tests-osgi</artifactId>
27 <packaging>bundle</packaging>
28 <name>DataStax Java Driver for Apache Cassandra Tests - OSGi</name>
29 <description>A test for the DataStax Java Driver in an OSGi container.</description>
30 <url>https://github.com/datastax/java-driver</url>
31
32 <properties>
33 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
34 <felix.version>4.6.0</felix.version>
35 <!-- more recent version require JDK7+ -->
36 <pax-exam.version>3.6.0</pax-exam.version>
37 <logback.version>1.1.3</logback.version>
38 <test.groups>none</test.groups>
39 <!--
40 Skip tests by default, short or long profile is required to run tests in this module
41 since pax-exam will throw exception if it encounters a
42 test with no matching methods.
43 -->
44 <test.skip>true</test.skip>
45 <main.basedir>${project.parent.parent.basedir}</main.basedir>
46 </properties>
47
48 <dependencies>
49
50 <dependency>
51 <groupId>com.datastax.cassandra</groupId>
52 <artifactId>cassandra-driver-core</artifactId>
53 <version>${project.parent.version}</version>
54 </dependency>
55
56 <dependency>
57 <groupId>com.datastax.cassandra</groupId>
58 <artifactId>cassandra-driver-mapping</artifactId>
59 <version>${project.parent.version}</version>
60 </dependency>
61
62 <dependency>
63 <groupId>com.datastax.cassandra</groupId>
64 <artifactId>cassandra-driver-extras</artifactId>
65 <version>${project.parent.version}</version>
66 </dependency>
67
68 <dependency>
69 <groupId>org.apache.felix</groupId>
70 <artifactId>org.apache.felix.framework</artifactId>
71 <version>${felix.version}</version>
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>org.ops4j.pax.exam</groupId>
84 <artifactId>pax-exam</artifactId>
85 <version>${pax-exam.version}</version>
86 <scope>test</scope>
87 </dependency>
88
89 <dependency>
90 <groupId>org.ops4j.pax.exam</groupId>
91 <artifactId>pax-exam-testng</artifactId>
92 <version>${pax-exam.version}</version>
93 <scope>test</scope>
94 </dependency>
95
96 <dependency>
97 <groupId>org.ops4j.pax.exam</groupId>
98 <artifactId>pax-exam-container-native</artifactId>
99 <version>${pax-exam.version}</version>
100 <scope>test</scope>
101 </dependency>
102
103 <dependency>
104 <groupId>org.ops4j.pax.exam</groupId>
105 <artifactId>pax-exam-link-mvn</artifactId>
106 <version>${pax-exam.version}</version>
107 <scope>test</scope>
108 </dependency>
109
110 <dependency>
111 <groupId>javax.transaction</groupId>
112 <artifactId>jta</artifactId>
113 <version>1.1</version>
114 <scope>test</scope>
115 </dependency>
116
117 <dependency>
118 <groupId>com.jcabi</groupId>
119 <artifactId>jcabi-manifests</artifactId>
120 <version>1.1</version>
121 <scope>test</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>javax.servlet</groupId>
126 <artifactId>javax.servlet-api</artifactId>
127 <version>3.1.0</version>
128 <scope>test</scope>
129 </dependency>
130
131 <dependency>
132 <groupId>javax.inject</groupId>
133 <artifactId>javax.inject</artifactId>
134 <version>1</version>
135 <scope>test</scope>
136 </dependency>
137
138 <dependency>
139 <groupId>org.apache.commons</groupId>
140 <artifactId>commons-exec</artifactId>
141 <version>1.3</version>
142 <scope>test</scope>
143 </dependency>
144
145 <dependency>
146 <groupId>ch.qos.logback</groupId>
147 <artifactId>logback-classic</artifactId>
148 <version>${logback.version}</version>
149 </dependency>
150
151 <dependency>
152 <groupId>ch.qos.logback</groupId>
153 <artifactId>logback-core</artifactId>
154 <version>${logback.version}</version>
155 </dependency>
156
157 </dependencies>
158
159 <build>
160
161 <plugins>
162
163 <!--
164 this project has no unit tests;
165 this plugin is declared just so that Maven properties
166 get automatically passed to tests run with IntelliJ
167 -->
168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-surefire-plugin</artifactId>
171 <version>2.18.1</version>
172 <configuration>
173 <skip>true</skip>
174 <systemPropertyVariables>
175 <cassandra.version>${cassandra.version}</cassandra.version>
176 <ipprefix>${ipprefix}</ipprefix>
177 </systemPropertyVariables>
178 </configuration>
179 </plugin>
180
181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-failsafe-plugin</artifactId>
184 <version>2.18.1</version>
185 <configuration>
186 <skip>${test.skip}</skip>
187 <groups>${test.groups}</groups>
188 <systemPropertyVariables>
189 <cassandra.version>${cassandra.version}</cassandra.version>
190 <ipprefix>${ipprefix}</ipprefix>
191 </systemPropertyVariables>
192 </configuration>
193 <executions>
194 <execution>
195 <id>default</id>
196 <goals>
197 <goal>integration-test</goal>
198 <goal>verify</goal>
199 </goals>
200 </execution>
201 </executions>
202 </plugin>
203
204 <plugin>
205 <groupId>org.apache.felix</groupId>
206 <artifactId>maven-bundle-plugin</artifactId>
207 <extensions>true</extensions>
208 <version>2.4.0</version>
209 <configuration>
210 <instructions>
211 <Bundle-SymbolicName>com.datastax.driver.osgi</Bundle-SymbolicName>
212 <Bundle-Version>${project.version}</Bundle-Version>
213 <Export-Package>com.datastax.driver.osgi.api,!com.datastax.driver.osgi.impl</Export-Package>
214 <Bundle-Activator>com.datastax.driver.osgi.impl.Activator</Bundle-Activator>
215 <_include>-osgi.bnd</_include>
216 <Import-Package><![CDATA[com.google.common*;version="[16.0.1,20)",*]]></Import-Package>
217 </instructions>
218 <supportedProjectTypes>
219 <supportedProjectType>jar</supportedProjectType>
220 <supportedProjectType>bundle</supportedProjectType>
221 <supportedProjectType>pom</supportedProjectType>
222 </supportedProjectTypes>
223 </configuration>
224 <executions>
225 <execution>
226 <id>bundle-manifest</id>
227 <phase>compile</phase>
228 <goals>
229 <goal>manifest</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
234
235 </plugins>
236
237 </build>
238
239 <profiles>
240
241 <profile>
242 <id>short</id>
243 <properties>
244 <test.groups>unit,short</test.groups>
245 <test.skip>false</test.skip>
246 </properties>
247 </profile>
248
249 <profile>
250 <id>long</id>
251 <properties>
252 <test.groups>unit,short,long</test.groups>
253 <test.skip>false</test.skip>
254 </properties>
255 </profile>
256
257 </profiles>
258
259 <licenses>
260 <license>
261 <name>Apache 2</name>
262 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
263 <distribution>repo</distribution>
264 <comments>Apache License Version 2.0</comments>
265 </license>
266 </licenses>
267
268 <scm>
269 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
270 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
271 <url>https://github.com/datastax/java-driver</url>
272 <tag>HEAD</tag>
273 </scm>
274
275 <developers>
276 <developer>
277 <name>Various</name>
278 <organization>DataStax</organization>
279 </developer>
280 </developers>
281</project>
282