Elffuss BraidHub

kikocis/java-driver public

a8ec6e3c297b · 10.1 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-examples-parent</artifactId>
23 <version>3.0.0-beta1-SNAPSHOT</version>
24 </parent>
25 <artifactId>cassandra-driver-examples-osgi</artifactId>
26 <packaging>bundle</packaging>
27 <name>DataStax Java Driver for Apache Cassandra Examples - OSGi</name>
28 <description>An example of using DataStax Java Driver in an OSGi container.</description>
29 <url>https://github.com/datastax/java-driver</url>
30
31 <properties>
32 <felix.version>4.6.0</felix.version>
33 <pax-exam.version>3.6.0</pax-exam.version>
34 <logback.version>1.1.3</logback.version>
35 <main.basedir>${project.parent.parent.basedir}</main.basedir>
36 </properties>
37
38 <dependencies>
39 <dependency>
40 <groupId>com.datastax.cassandra</groupId>
41 <artifactId>cassandra-driver-core</artifactId>
42 <version>${project.parent.version}</version>
43 </dependency>
44
45 <dependency>
46 <groupId>org.apache.felix</groupId>
47 <artifactId>org.apache.felix.framework</artifactId>
48 <version>${felix.version}</version>
49 </dependency>
50
51 <dependency>
52 <groupId>com.datastax.cassandra</groupId>
53 <artifactId>cassandra-driver-core</artifactId>
54 <version>${project.parent.version}</version>
55 <type>test-jar</type>
56 <scope>test</scope>
57 </dependency>
58
59 <dependency>
60 <groupId>org.ops4j.pax.exam</groupId>
61 <artifactId>pax-exam</artifactId>
62 <version>${pax-exam.version}</version>
63 <scope>test</scope>
64 </dependency>
65
66 <dependency>
67 <groupId>org.ops4j.pax.exam</groupId>
68 <artifactId>pax-exam-testng</artifactId>
69 <version>${pax-exam.version}</version>
70 <scope>test</scope>
71 </dependency>
72
73 <dependency>
74 <groupId>org.ops4j.pax.exam</groupId>
75 <artifactId>pax-exam-container-native</artifactId>
76 <version>${pax-exam.version}</version>
77 <scope>test</scope>
78 </dependency>
79
80 <dependency>
81 <groupId>org.ops4j.pax.exam</groupId>
82 <artifactId>pax-exam-link-mvn</artifactId>
83 <version>${pax-exam.version}</version>
84 <scope>test</scope>
85 </dependency>
86
87 <dependency>
88 <groupId>javax.transaction</groupId>
89 <artifactId>jta</artifactId>
90 <version>1.1</version>
91 <scope>test</scope>
92 </dependency>
93
94 <dependency>
95 <groupId>com.jcabi</groupId>
96 <artifactId>jcabi-manifests</artifactId>
97 <version>1.1</version>
98 <scope>test</scope>
99 </dependency>
100
101 <dependency>
102 <groupId>javax.servlet</groupId>
103 <artifactId>javax.servlet-api</artifactId>
104 <version>3.1.0</version>
105 <scope>test</scope>
106 </dependency>
107
108 <dependency>
109 <groupId>javax.inject</groupId>
110 <artifactId>javax.inject</artifactId>
111 <version>1</version>
112 <scope>test</scope>
113 </dependency>
114
115 <dependency>
116 <groupId>org.apache.commons</groupId>
117 <artifactId>commons-exec</artifactId>
118 <version>1.3</version>
119 <scope>test</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>ch.qos.logback</groupId>
124 <artifactId>logback-classic</artifactId>
125 <version>${logback.version}</version>
126 </dependency>
127
128 <dependency>
129 <groupId>ch.qos.logback</groupId>
130 <artifactId>logback-core</artifactId>
131 <version>${logback.version}</version>
132 </dependency>
133 </dependencies>
134
135 <build>
136 <plugins>
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-failsafe-plugin</artifactId>
140 <version>2.18.1</version>
141 <executions>
142 <execution>
143 <goals>
144 <goal>integration-test</goal>
145 <goal>verify</goal>
146 </goals>
147 </execution>
148 </executions>
149 </plugin>
150 <plugin>
151 <groupId>org.apache.felix</groupId>
152 <artifactId>maven-bundle-plugin</artifactId>
153 <extensions>true</extensions>
154 <version>2.4.0</version>
155 <configuration>
156 <instructions>
157 <Bundle-SymbolicName>com.datastax.driver.osgi</Bundle-SymbolicName>
158 <Bundle-Version>${project.version}</Bundle-Version>
159 <Export-Package>com.datastax.driver.osgi.api,!com.datastax.driver.osgi.impl</Export-Package>
160 <Bundle-Activator>com.datastax.driver.osgi.impl.Activator</Bundle-Activator>
161 <_include>-osgi.bnd</_include>
162 </instructions>
163 <supportedProjectTypes>
164 <supportedProjectType>jar</supportedProjectType>
165 <supportedProjectType>bundle</supportedProjectType>
166 <supportedProjectType>pom</supportedProjectType>
167 </supportedProjectTypes>
168 </configuration>
169 <executions>
170 <execution>
171 <id>bundle-manifest</id>
172 <phase>compile</phase>
173 <goals>
174 <goal>manifest</goal>
175 </goals>
176 </execution>
177 </executions>
178 </plugin>
179 </plugins>
180 </build>
181
182 <profiles>
183 <profile>
184 <!-- Skip test by default, short or long is required to run unit tests since pax-exam will throw exception if it encounters a
185 test with no matching methods. -->
186 <id>default</id>
187 <properties>
188 <env>default</env>
189 </properties>
190 <activation>
191 <activeByDefault>true</activeByDefault>
192 </activation>
193 <build>
194 <plugins>
195 <plugin>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-surefire-plugin</artifactId>
198 <version>2.14</version>
199 <configuration>
200 </configuration>
201 </plugin>
202 <plugin>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-failsafe-plugin</artifactId>
205 <version>2.18.1</version>
206 <configuration>
207 <skip>true</skip>
208 </configuration>
209 </plugin>
210 <plugin>
211 <artifactId>maven-compiler-plugin</artifactId>
212 <configuration>
213 <compilerArgument>-Xlint:all</compilerArgument>
214 <showWarnings>true</showWarnings>
215 <showDeprecation>true</showDeprecation>
216 </configuration>
217 </plugin>
218 </plugins>
219 </build>
220 </profile>
221
222 <profile>
223 <id>short</id>
224 <properties>
225 <env>default</env>
226 </properties>
227 <build>
228 <plugins>
229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-surefire-plugin</artifactId>
232 <version>2.14</version>
233 <configuration>
234 <groups>unit,short</groups>
235 <useFile>false</useFile>
236 <systemPropertyVariables>
237 <cassandra.version>${cassandra.version}</cassandra.version>
238 <ipprefix>${ipprefix}</ipprefix>
239 </systemPropertyVariables>
240 </configuration>
241 </plugin>
242 <plugin>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-failsafe-plugin</artifactId>
245 <version>2.18.1</version>
246 <configuration>
247 <groups>unit,short</groups>
248 <useFile>false</useFile>
249 <systemPropertyVariables>
250 <cassandra.version>${cassandra.version}</cassandra.version>
251 <ipprefix>${ipprefix}</ipprefix>
252 </systemPropertyVariables>
253 </configuration>
254 </plugin>
255 </plugins>
256 </build>
257 </profile>
258
259 <profile>
260 <id>long</id>
261 <properties>
262 <env>default</env>
263 </properties>
264 <build>
265 <plugins>
266 <plugin>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-surefire-plugin</artifactId>
269 <version>2.16</version>
270 <configuration>
271 <groups>unit,short,long</groups>
272 <useFile>false</useFile>
273 <systemPropertyVariables>
274 <cassandra.version>${cassandra.version}</cassandra.version>
275 <ipprefix>${ipprefix}</ipprefix>
276 </systemPropertyVariables>
277 </configuration>
278 </plugin>
279 <plugin>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-failsafe-plugin</artifactId>
282 <version>2.18.1</version>
283 <configuration>
284 <groups>unit,short,long</groups>
285 <useFile>false</useFile>
286 <systemPropertyVariables>
287 <cassandra.version>${cassandra.version}</cassandra.version>
288 <ipprefix>${ipprefix}</ipprefix>
289 </systemPropertyVariables>
290 </configuration>
291 </plugin>
292 </plugins>
293 </build>
294 </profile>
295 </profiles>
296
297 <licenses>
298 <license>
299 <name>Apache 2</name>
300 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
301 <distribution>repo</distribution>
302 <comments>Apache License Version 2.0</comments>
303 </license>
304 </licenses>
305
306 <scm>
307 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
308 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
309 <url>https://github.com/datastax/java-driver</url>
310 <tag>HEAD</tag>
311 </scm>
312
313 <developers>
314 <developer>
315 <name>Various</name>
316 <organization>DataStax</organization>
317 </developer>
318 </developers>
319</project>
320