Elffuss BraidHub

kikocis/java-driver public

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