Elffuss BraidHub

kikocis/java-driver public

2f65efe52bb8 · 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>2.1.10-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 <main.basedir>${project.parent.parent.basedir}</main.basedir>
35 </properties>
36
37 <dependencies>
38 <dependency>
39 <groupId>com.datastax.cassandra</groupId>
40 <artifactId>cassandra-driver-core</artifactId>
41 <version>${project.parent.version}</version>
42 </dependency>
43
44 <dependency>
45 <groupId>org.apache.felix</groupId>
46 <artifactId>org.apache.felix.framework</artifactId>
47 <version>${felix.version}</version>
48 </dependency>
49
50 <dependency>
51 <groupId>com.datastax.cassandra</groupId>
52 <artifactId>cassandra-driver-core</artifactId>
53 <version>${project.parent.version}</version>
54 <type>test-jar</type>
55 <scope>test</scope>
56 </dependency>
57
58 <dependency>
59 <groupId>org.ops4j.pax.exam</groupId>
60 <artifactId>pax-exam</artifactId>
61 <version>${pax-exam.version}</version>
62 <scope>test</scope>
63 </dependency>
64
65 <dependency>
66 <groupId>org.ops4j.pax.exam</groupId>
67 <artifactId>pax-exam-testng</artifactId>
68 <version>${pax-exam.version}</version>
69 <scope>test</scope>
70 </dependency>
71
72 <dependency>
73 <groupId>org.ops4j.pax.exam</groupId>
74 <artifactId>pax-exam-container-native</artifactId>
75 <version>${pax-exam.version}</version>
76 <scope>test</scope>
77 </dependency>
78
79 <dependency>
80 <groupId>org.ops4j.pax.exam</groupId>
81 <artifactId>pax-exam-link-mvn</artifactId>
82 <version>${pax-exam.version}</version>
83 <scope>test</scope>
84 </dependency>
85
86 <dependency>
87 <groupId>javax.transaction</groupId>
88 <artifactId>jta</artifactId>
89 <version>1.1</version>
90 <scope>test</scope>
91 </dependency>
92
93 <dependency>
94 <groupId>log4j</groupId>
95 <artifactId>log4j</artifactId>
96 <version>${log4j.version}</version>
97 <scope>test</scope>
98 </dependency>
99
100 <dependency>
101 <groupId>org.slf4j</groupId>
102 <artifactId>slf4j-log4j12</artifactId>
103 <version>${slf4j-log4j12.version}</version>
104 <scope>test</scope>
105 </dependency>
106
107 <dependency>
108 <groupId>com.jcabi</groupId>
109 <artifactId>jcabi-manifests</artifactId>
110 <version>1.1</version>
111 <scope>test</scope>
112 </dependency>
113
114 <dependency>
115 <groupId>javax.servlet</groupId>
116 <artifactId>javax.servlet-api</artifactId>
117 <version>3.1.0</version>
118 <scope>test</scope>
119 </dependency>
120
121 <dependency>
122 <groupId>javax.inject</groupId>
123 <artifactId>javax.inject</artifactId>
124 <version>1</version>
125 <scope>test</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>org.apache.commons</groupId>
130 <artifactId>commons-exec</artifactId>
131 <version>1.3</version>
132 <scope>test</scope>
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 <plugin>
212 <artifactId>maven-compiler-plugin</artifactId>
213 <configuration>
214 <compilerArgument>-Xlint:all</compilerArgument>
215 <showWarnings>true</showWarnings>
216 <showDeprecation>true</showDeprecation>
217 </configuration>
218 </plugin>
219 </plugins>
220 </build>
221 </profile>
222
223 <profile>
224 <id>short</id>
225 <properties>
226 <env>default</env>
227 </properties>
228 <build>
229 <plugins>
230 <plugin>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-surefire-plugin</artifactId>
233 <version>2.14</version>
234 <configuration>
235 <groups>unit,short</groups>
236 <useFile>false</useFile>
237 <systemPropertyVariables>
238 <cassandra.version>${cassandra.version}</cassandra.version>
239 <ipprefix>${ipprefix}</ipprefix>
240 </systemPropertyVariables>
241 </configuration>
242 </plugin>
243 <plugin>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-failsafe-plugin</artifactId>
246 <version>2.18.1</version>
247 <configuration>
248 <groups>unit,short</groups>
249 <useFile>false</useFile>
250 <systemPropertyVariables>
251 <cassandra.version>${cassandra.version}</cassandra.version>
252 <ipprefix>${ipprefix}</ipprefix>
253 </systemPropertyVariables>
254 </configuration>
255 </plugin>
256 </plugins>
257 </build>
258 </profile>
259
260 <profile>
261 <id>long</id>
262 <properties>
263 <env>default</env>
264 </properties>
265 <build>
266 <plugins>
267 <plugin>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-surefire-plugin</artifactId>
270 <version>2.16</version>
271 <configuration>
272 <groups>unit,short,long</groups>
273 <useFile>false</useFile>
274 <systemPropertyVariables>
275 <cassandra.version>${cassandra.version}</cassandra.version>
276 <ipprefix>${ipprefix}</ipprefix>
277 </systemPropertyVariables>
278 </configuration>
279 </plugin>
280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-failsafe-plugin</artifactId>
283 <version>2.18.1</version>
284 <configuration>
285 <groups>unit,short,long</groups>
286 <useFile>false</useFile>
287 <systemPropertyVariables>
288 <cassandra.version>${cassandra.version}</cassandra.version>
289 <ipprefix>${ipprefix}</ipprefix>
290 </systemPropertyVariables>
291 </configuration>
292 </plugin>
293 </plugins>
294 </build>
295 </profile>
296 </profiles>
297
298 <licenses>
299 <license>
300 <name>Apache 2</name>
301 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
302 <distribution>repo</distribution>
303 <comments>Apache License Version 2.0</comments>
304 </license>
305 </licenses>
306
307 <scm>
308 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
309 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
310 <url>https://github.com/datastax/java-driver</url>
311 <tag>HEAD</tag>
312 </scm>
313
314 <developers>
315 <developer>
316 <name>Various</name>
317 <organization>DataStax</organization>
318 </developer>
319 </developers>
320</project>
321