Elffuss BraidHub

kikocis/java-driver public

e677d783d957 · 11.8 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.1-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 </plugins>
211 </build>
212 </profile>
213
214 <profile>
215 <id>short</id>
216 <properties>
217 <env>default</env>
218 </properties>
219 <build>
220 <plugins>
221 <plugin>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-surefire-plugin</artifactId>
224 <version>2.14</version>
225 <configuration>
226 <groups>unit,short</groups>
227 <useFile>false</useFile>
228 <systemPropertyVariables>
229 <cassandra.version>${cassandra.version}</cassandra.version>
230 <ipprefix>${ipprefix}</ipprefix>
231 </systemPropertyVariables>
232 </configuration>
233 </plugin>
234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-failsafe-plugin</artifactId>
237 <version>2.18.1</version>
238 <configuration>
239 <groups>unit,short</groups>
240 <useFile>false</useFile>
241 <systemPropertyVariables>
242 <cassandra.version>${cassandra.version}</cassandra.version>
243 <ipprefix>${ipprefix}</ipprefix>
244 </systemPropertyVariables>
245 </configuration>
246 </plugin>
247 </plugins>
248 </build>
249 </profile>
250
251 <profile>
252 <id>long</id>
253 <properties>
254 <env>default</env>
255 </properties>
256 <build>
257 <plugins>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-surefire-plugin</artifactId>
261 <version>2.16</version>
262 <configuration>
263 <groups>unit,short,long</groups>
264 <useFile>false</useFile>
265 <systemPropertyVariables>
266 <cassandra.version>${cassandra.version}</cassandra.version>
267 <ipprefix>${ipprefix}</ipprefix>
268 </systemPropertyVariables>
269 </configuration>
270 </plugin>
271 <plugin>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-failsafe-plugin</artifactId>
274 <version>2.18.1</version>
275 <configuration>
276 <groups>unit,short,long</groups>
277 <useFile>false</useFile>
278 <systemPropertyVariables>
279 <cassandra.version>${cassandra.version}</cassandra.version>
280 <ipprefix>${ipprefix}</ipprefix>
281 </systemPropertyVariables>
282 </configuration>
283 </plugin>
284 </plugins>
285 </build>
286 </profile>
287 </profiles>
288
289 <licenses>
290 <license>
291 <name>Apache 2</name>
292 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
293 <distribution>repo</distribution>
294 <comments>Apache License Version 2.0</comments>
295 </license>
296 </licenses>
297
298 <scm>
299 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
300 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
301 <url>https://github.com/datastax/java-driver</url>
302 <tag>HEAD</tag>
303 </scm>
304
305 <developers>
306 <developer>
307 <name>Various</name>
308 <organization>DataStax</organization>
309 </developer>
310 </developers>
311</project>
312