Elffuss BraidHub

kikocis/java-driver public

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