Elffuss BraidHub

kikocis/java-driver public

c24f41b39166 · 8.1 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>4.4.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>1.2.17</version>
92 <scope>test</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-log4j12</artifactId>
98 <version>1.7.6</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.felix</groupId>
127 <artifactId>maven-bundle-plugin</artifactId>
128 <extensions>true</extensions>
129 <version>2.4.0</version>
130 <configuration>
131 <instructions>
132 <Bundle-SymbolicName>com.datastax.driver.osgi</Bundle-SymbolicName>
133 <Bundle-Version>${project.version}</Bundle-Version>
134 <Export-Package>com.datastax.driver.osgi.api,!com.datastax.driver.osgi.impl</Export-Package>
135 <Bundle-Activator>com.datastax.driver.osgi.impl.Activator</Bundle-Activator>
136 <_include>-osgi.bnd</_include>
137 </instructions>
138 <supportedProjectTypes>
139 <supportedProjectType>jar</supportedProjectType>
140 <supportedProjectType>bundle</supportedProjectType>
141 <supportedProjectType>pom</supportedProjectType>
142 </supportedProjectTypes>
143 </configuration>
144 <executions>
145 <execution>
146 <id>bundle-manifest</id>
147 <phase>compile</phase>
148 <goals>
149 <goal>manifest</goal>
150 </goals>
151 </execution>
152 </executions>
153 </plugin>
154 </plugins>
155 </build>
156
157 <profiles>
158 <profile>
159 <!-- Skip test by default, short or long is required to run unit tests since pax-exam will throw exception if it encounters a
160 test with no matching methods. -->
161 <id>default</id>
162 <properties>
163 <env>default</env>
164 </properties>
165 <activation>
166 <activeByDefault>true</activeByDefault>
167 </activation>
168 <build>
169 <plugins>
170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-surefire-plugin</artifactId>
173 <version>2.14</version>
174 <configuration>
175 <skipTests>true</skipTests>
176 </configuration>
177 </plugin>
178 <plugin>
179 <artifactId>maven-compiler-plugin</artifactId>
180 <configuration>
181 <compilerArgument>-Xlint:all</compilerArgument>
182 <showWarnings>true</showWarnings>
183 <showDeprecation>true</showDeprecation>
184 </configuration>
185 </plugin>
186 </plugins>
187 </build>
188 </profile>
189
190 <profile>
191 <id>short</id>
192 <properties>
193 <env>default</env>
194 </properties>
195 <build>
196 <plugins>
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-surefire-plugin</artifactId>
200 <version>2.14</version>
201 <configuration>
202 <groups>unit,short</groups>
203 <useFile>false</useFile>
204 <systemPropertyVariables>
205 <cassandra.version>${cassandra.version}</cassandra.version>
206 <ipprefix>${ipprefix}</ipprefix>
207 </systemPropertyVariables>
208 </configuration>
209 </plugin>
210 </plugins>
211 </build>
212 </profile>
213
214 <profile>
215 <id>long</id>
216 <properties>
217 <env>default</env>
218 </properties>
219 <build>
220 <plugins>
221 <plugin>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-surefire-plugin</artifactId>
224 <version>2.16</version>
225 <configuration>
226 <groups>unit,short,long</groups>
227 <useFile>false</useFile>
228 <systemPropertyVariables>
229 <cassandra.version>${cassandra.version}</cassandra.version>
230 <ipprefix>${ipprefix}</ipprefix>
231 </systemPropertyVariables>
232 </configuration>
233 </plugin>
234 </plugins>
235 </build>
236 </profile>
237 </profiles>
238
239 <licenses>
240 <license>
241 <name>Apache 2</name>
242 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
243 <distribution>repo</distribution>
244 <comments>Apache License Version 2.0</comments>
245 </license>
246 </licenses>
247
248 <scm>
249 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
250 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
251 <url>https://github.com/datastax/java-driver</url>
252 </scm>
253
254 <developers>
255 <developer>
256 <name>Various</name>
257 <organization>DataStax</organization>
258 </developer>
259 </developers>
260</project>
261