Elffuss BraidHub

kikocis/java-driver public

06b8ec262111 · 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 </properties>
31
32 <dependencies>
33 <dependency>
34 <groupId>com.datastax.cassandra</groupId>
35 <artifactId>cassandra-driver-core</artifactId>
36 <version>${project.parent.version}</version>
37 </dependency>
38
39 <dependency>
40 <groupId>org.apache.felix</groupId>
41 <artifactId>org.apache.felix.framework</artifactId>
42 <version>${felix.version}</version>
43 </dependency>
44
45 <dependency>
46 <groupId>com.datastax.cassandra</groupId>
47 <artifactId>cassandra-driver-core</artifactId>
48 <version>${project.parent.version}</version>
49 <type>test-jar</type>
50 <scope>test</scope>
51 </dependency>
52
53 <dependency>
54 <groupId>org.ops4j.pax.exam</groupId>
55 <artifactId>pax-exam</artifactId>
56 <version>${pax-exam.version}</version>
57 <scope>test</scope>
58 </dependency>
59
60 <dependency>
61 <groupId>org.ops4j.pax.exam</groupId>
62 <artifactId>pax-exam-testng</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-container-native</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-link-mvn</artifactId>
77 <version>${pax-exam.version}</version>
78 <scope>test</scope>
79 </dependency>
80
81 <dependency>
82 <groupId>javax.transaction</groupId>
83 <artifactId>jta</artifactId>
84 <version>1.1</version>
85 <scope>test</scope>
86 </dependency>
87
88 <dependency>
89 <groupId>log4j</groupId>
90 <artifactId>log4j</artifactId>
91 <version>${log4j.version}</version>
92 <scope>test</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-log4j12</artifactId>
98 <version>${slf4j-log4j12.version}</version>
99 <scope>test</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>com.jcabi</groupId>
104 <artifactId>jcabi-manifests</artifactId>
105 <version>1.1</version>
106 <scope>test</scope>
107 </dependency>
108
109 <dependency>
110 <groupId>javax.servlet</groupId>
111 <artifactId>javax.servlet-api</artifactId>
112 <version>3.1.0</version>
113 <scope>test</scope>
114 </dependency>
115 <dependency>
116 <groupId>javax.inject</groupId>
117 <artifactId>javax.inject</artifactId>
118 <version>1</version>
119 <scope>test</scope>
120 </dependency>
121 </dependencies>
122
123 <build>
124 <plugins>
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-failsafe-plugin</artifactId>
128 <version>2.18.1</version>
129 <executions>
130 <execution>
131 <goals>
132 <goal>integration-test</goal>
133 <goal>verify</goal>
134 </goals>
135 </execution>
136 </executions>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.felix</groupId>
140 <artifactId>maven-bundle-plugin</artifactId>
141 <extensions>true</extensions>
142 <version>2.4.0</version>
143 <configuration>
144 <instructions>
145 <Bundle-SymbolicName>com.datastax.driver.osgi</Bundle-SymbolicName>
146 <Bundle-Version>${project.version}</Bundle-Version>
147 <Export-Package>com.datastax.driver.osgi.api,!com.datastax.driver.osgi.impl</Export-Package>
148 <Bundle-Activator>com.datastax.driver.osgi.impl.Activator</Bundle-Activator>
149 <_include>-osgi.bnd</_include>
150 </instructions>
151 <supportedProjectTypes>
152 <supportedProjectType>jar</supportedProjectType>
153 <supportedProjectType>bundle</supportedProjectType>
154 <supportedProjectType>pom</supportedProjectType>
155 </supportedProjectTypes>
156 </configuration>
157 <executions>
158 <execution>
159 <id>bundle-manifest</id>
160 <phase>compile</phase>
161 <goals>
162 <goal>manifest</goal>
163 </goals>
164 </execution>
165 </executions>
166 </plugin>
167 </plugins>
168 </build>
169
170 <profiles>
171 <profile>
172 <!-- Skip test by default, short or long is required to run unit tests since pax-exam will throw exception if it encounters a
173 test with no matching methods. -->
174 <id>default</id>
175 <properties>
176 <env>default</env>
177 </properties>
178 <activation>
179 <activeByDefault>true</activeByDefault>
180 </activation>
181 <build>
182 <plugins>
183 <plugin>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-surefire-plugin</artifactId>
186 <version>2.14</version>
187 <configuration>
188 </configuration>
189 </plugin>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-failsafe-plugin</artifactId>
193 <version>2.18.1</version>
194 <configuration>
195 <skip>true</skip>
196 </configuration>
197 </plugin>
198 <plugin>
199 <artifactId>maven-compiler-plugin</artifactId>
200 <configuration>
201 <compilerArgument>-Xlint:all</compilerArgument>
202 <showWarnings>true</showWarnings>
203 <showDeprecation>true</showDeprecation>
204 </configuration>
205 </plugin>
206 </plugins>
207 </build>
208 </profile>
209
210 <profile>
211 <id>short</id>
212 <properties>
213 <env>default</env>
214 </properties>
215 <build>
216 <plugins>
217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-surefire-plugin</artifactId>
220 <version>2.14</version>
221 <configuration>
222 <groups>unit,short</groups>
223 <useFile>false</useFile>
224 <systemPropertyVariables>
225 <cassandra.version>${cassandra.version}</cassandra.version>
226 <ipprefix>${ipprefix}</ipprefix>
227 </systemPropertyVariables>
228 </configuration>
229 </plugin>
230 <plugin>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-failsafe-plugin</artifactId>
233 <version>2.18.1</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 </plugins>
244 </build>
245 </profile>
246
247 <profile>
248 <id>long</id>
249 <properties>
250 <env>default</env>
251 </properties>
252 <build>
253 <plugins>
254 <plugin>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-surefire-plugin</artifactId>
257 <version>2.16</version>
258 <configuration>
259 <groups>unit,short,long</groups>
260 <useFile>false</useFile>
261 <systemPropertyVariables>
262 <cassandra.version>${cassandra.version}</cassandra.version>
263 <ipprefix>${ipprefix}</ipprefix>
264 </systemPropertyVariables>
265 </configuration>
266 </plugin>
267 <plugin>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-failsafe-plugin</artifactId>
270 <version>2.18.1</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 </plugins>
281 </build>
282 </profile>
283 </profiles>
284
285 <licenses>
286 <license>
287 <name>Apache 2</name>
288 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
289 <distribution>repo</distribution>
290 <comments>Apache License Version 2.0</comments>
291 </license>
292 </licenses>
293
294 <scm>
295 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
296 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
297 <url>https://github.com/datastax/java-driver</url>
298 </scm>
299
300 <developers>
301 <developer>
302 <name>Various</name>
303 <organization>DataStax</organization>
304 </developer>
305 </developers>
306</project>
307