Elffuss BraidHub

kikocis/java-driver public

92ae90bf3cd7 · 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-examples-parent</artifactId>
23 <version>2.0.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 <dependency>
121 <groupId>javax.inject</groupId>
122 <artifactId>javax.inject</artifactId>
123 <version>1</version>
124 <scope>test</scope>
125 </dependency>
126 </dependencies>
127
128 <build>
129 <plugins>
130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-failsafe-plugin</artifactId>
133 <version>2.18.1</version>
134 <executions>
135 <execution>
136 <goals>
137 <goal>integration-test</goal>
138 <goal>verify</goal>
139 </goals>
140 </execution>
141 </executions>
142 </plugin>
143 <plugin>
144 <groupId>org.apache.felix</groupId>
145 <artifactId>maven-bundle-plugin</artifactId>
146 <extensions>true</extensions>
147 <version>2.4.0</version>
148 <configuration>
149 <instructions>
150 <Bundle-SymbolicName>com.datastax.driver.osgi</Bundle-SymbolicName>
151 <Bundle-Version>${project.version}</Bundle-Version>
152 <Export-Package>com.datastax.driver.osgi.api,!com.datastax.driver.osgi.impl</Export-Package>
153 <Bundle-Activator>com.datastax.driver.osgi.impl.Activator</Bundle-Activator>
154 <_include>-osgi.bnd</_include>
155 </instructions>
156 <supportedProjectTypes>
157 <supportedProjectType>jar</supportedProjectType>
158 <supportedProjectType>bundle</supportedProjectType>
159 <supportedProjectType>pom</supportedProjectType>
160 </supportedProjectTypes>
161 </configuration>
162 <executions>
163 <execution>
164 <id>bundle-manifest</id>
165 <phase>compile</phase>
166 <goals>
167 <goal>manifest</goal>
168 </goals>
169 </execution>
170 </executions>
171 </plugin>
172 </plugins>
173 </build>
174
175 <profiles>
176 <profile>
177 <!-- Skip test by default, short or long is required to run unit tests since pax-exam will throw exception if it encounters a
178 test with no matching methods. -->
179 <id>default</id>
180 <properties>
181 <env>default</env>
182 </properties>
183 <activation>
184 <activeByDefault>true</activeByDefault>
185 </activation>
186 <build>
187 <plugins>
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-surefire-plugin</artifactId>
191 <version>2.14</version>
192 <configuration>
193 </configuration>
194 </plugin>
195 <plugin>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-failsafe-plugin</artifactId>
198 <version>2.18.1</version>
199 <configuration>
200 <skip>true</skip>
201 </configuration>
202 </plugin>
203 <plugin>
204 <artifactId>maven-compiler-plugin</artifactId>
205 <configuration>
206 <compilerArgument>-Xlint:all</compilerArgument>
207 <showWarnings>true</showWarnings>
208 <showDeprecation>true</showDeprecation>
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 </scm>
304
305 <developers>
306 <developer>
307 <name>Various</name>
308 <organization>DataStax</organization>
309 </developer>
310 </developers>
311</project>
312