Elffuss BraidHub

kikocis/java-driver public

ced5ba920359 · 8.6 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 <artifactId>cassandra-driver-examples-osgi</artifactId>
27 <packaging>bundle</packaging>
28 <name>DataStax Java Driver for Apache Cassandra Examples - OSGi</name>
29 <description>An example of using DataStax Java Driver in an OSGi container.</description>
30 <url>https://github.com/datastax/java-driver</url>
31
32 <properties>
33 <felix.version>4.6.0</felix.version>
34 <pax-exam.version>3.6.0</pax-exam.version>
35 <logback.version>1.1.3</logback.version>
36 <main.basedir>${project.parent.parent.basedir}</main.basedir>
37 </properties>
38
39 <dependencies>
40 <dependency>
41 <groupId>com.datastax.cassandra</groupId>
42 <artifactId>cassandra-driver-core</artifactId>
43 <version>${project.parent.version}</version>
44 </dependency>
45
46 <dependency>
47 <groupId>org.apache.felix</groupId>
48 <artifactId>org.apache.felix.framework</artifactId>
49 <version>${felix.version}</version>
50 </dependency>
51
52 <dependency>
53 <groupId>com.datastax.cassandra</groupId>
54 <artifactId>cassandra-driver-core</artifactId>
55 <version>${project.parent.version}</version>
56 <type>test-jar</type>
57 <scope>test</scope>
58 </dependency>
59
60 <dependency>
61 <groupId>org.ops4j.pax.exam</groupId>
62 <artifactId>pax-exam</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-testng</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-container-native</artifactId>
77 <version>${pax-exam.version}</version>
78 <scope>test</scope>
79 </dependency>
80
81 <dependency>
82 <groupId>org.ops4j.pax.exam</groupId>
83 <artifactId>pax-exam-link-mvn</artifactId>
84 <version>${pax-exam.version}</version>
85 <scope>test</scope>
86 </dependency>
87
88 <dependency>
89 <groupId>javax.transaction</groupId>
90 <artifactId>jta</artifactId>
91 <version>1.1</version>
92 <scope>test</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>com.jcabi</groupId>
97 <artifactId>jcabi-manifests</artifactId>
98 <version>1.1</version>
99 <scope>test</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>javax.servlet</groupId>
104 <artifactId>javax.servlet-api</artifactId>
105 <version>3.1.0</version>
106 <scope>test</scope>
107 </dependency>
108
109 <dependency>
110 <groupId>javax.inject</groupId>
111 <artifactId>javax.inject</artifactId>
112 <version>1</version>
113 <scope>test</scope>
114 </dependency>
115
116 <dependency>
117 <groupId>org.apache.commons</groupId>
118 <artifactId>commons-exec</artifactId>
119 <version>1.3</version>
120 <scope>test</scope>
121 </dependency>
122
123 <dependency>
124 <groupId>ch.qos.logback</groupId>
125 <artifactId>logback-classic</artifactId>
126 <version>${logback.version}</version>
127 </dependency>
128
129 <dependency>
130 <groupId>ch.qos.logback</groupId>
131 <artifactId>logback-core</artifactId>
132 <version>${logback.version}</version>
133 </dependency>
134 </dependencies>
135
136 <build>
137 <plugins>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-failsafe-plugin</artifactId>
141 <version>2.16</version>
142 <executions>
143 <execution>
144 <goals>
145 <goal>integration-test</goal>
146 <goal>verify</goal>
147 </goals>
148 </execution>
149 </executions>
150 </plugin>
151 <plugin>
152 <groupId>org.apache.felix</groupId>
153 <artifactId>maven-bundle-plugin</artifactId>
154 <extensions>true</extensions>
155 <version>2.4.0</version>
156 <configuration>
157 <instructions>
158 <Bundle-SymbolicName>com.datastax.driver.osgi</Bundle-SymbolicName>
159 <Bundle-Version>${project.version}</Bundle-Version>
160 <Export-Package>com.datastax.driver.osgi.api,!com.datastax.driver.osgi.impl</Export-Package>
161 <Bundle-Activator>com.datastax.driver.osgi.impl.Activator</Bundle-Activator>
162 <_include>-osgi.bnd</_include>
163 </instructions>
164 <supportedProjectTypes>
165 <supportedProjectType>jar</supportedProjectType>
166 <supportedProjectType>bundle</supportedProjectType>
167 <supportedProjectType>pom</supportedProjectType>
168 </supportedProjectTypes>
169 </configuration>
170 <executions>
171 <execution>
172 <id>bundle-manifest</id>
173 <phase>compile</phase>
174 <goals>
175 <goal>manifest</goal>
176 </goals>
177 </execution>
178 </executions>
179 </plugin>
180 </plugins>
181 </build>
182
183 <profiles>
184 <profile>
185 <!-- Skip test by default, short or long is required to run unit tests since pax-exam will throw exception if it encounters a
186 test with no matching methods. -->
187 <id>default</id>
188 <properties>
189 <env>default</env>
190 </properties>
191 <activation>
192 <activeByDefault>true</activeByDefault>
193 </activation>
194 <build>
195 <plugins>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-surefire-plugin</artifactId>
199 <version>2.16</version>
200 <configuration>
201 <skip>true</skip>
202 </configuration>
203 </plugin>
204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-failsafe-plugin</artifactId>
207 <version>2.16</version>
208 <configuration>
209 <skip>true</skip>
210 </configuration>
211 </plugin>
212 </plugins>
213 </build>
214 </profile>
215 </profiles>
216
217 <licenses>
218 <license>
219 <name>Apache 2</name>
220 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
221 <distribution>repo</distribution>
222 <comments>Apache License Version 2.0</comments>
223 </license>
224 </licenses>
225
226 <scm>
227 <connection>scm:git:git@github.com:datastax/java-driver.git</connection>
228 <developerConnection>scm:git:git@github.com:datastax/java-driver.git</developerConnection>
229 <url>https://github.com/datastax/java-driver</url>
230 <tag>HEAD</tag>
231 </scm>
232
233 <developers>
234 <developer>
235 <name>Various</name>
236 <organization>DataStax</organization>
237 </developer>
238 </developers>
239</project>
240