Elffuss BraidHub

kikocis/java-driver public

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