Elffuss BraidHub

kikocis/java-driver public

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