Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 423 lines (402 sloc) 13.123 kb
0455d58 @rantav Initial setup for maven build file pom.xml
authored
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5d728ad 2 space indent
Arin Sarkissian authored
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
0455d58 @rantav Initial setup for maven build file pom.xml
authored
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>me.prettyprint</groupId>
3730a2e @rantav Add library for testing, used by the embedded cassandra service
authored
5 <artifactId>hector</artifactId>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
6 <packaging>bundle</packaging>
b231eeb @rantav Add support for cassandra 0.5.1
authored
7 <!-- The version follows Cassandra's major version changes, e.g. 0.5.1 goes with the 0.5.1 cassandra release-->
0c0624f fixed issue with pom
zznate authored
8 <version>0.6.0-20</version>
3730a2e @rantav Add library for testing, used by the embedded cassandra service
authored
9 <name>hector</name>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
10 <description>Cassandra Java Client Library</description>
3730a2e @rantav Add library for testing, used by the embedded cassandra service
authored
11 <url>http://github.com/rantav/hector</url>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
12
bf01642 @rantav Set default build encoding to utf-8
authored
13 <properties>
14 <!-- Set default encoding to UTF-8 -->
15 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
16
17 <!-- OSGi bundle properties -->
18 <bundle.symbolicName>me.prettyprint.hector</bundle.symbolicName>
19 <bundle.namespace>me.prettyprint</bundle.namespace>
9afe9f3 @rantav Made log4j dependency optional.
authored
20 <slf4j.version>1.5.11</slf4j.version>
bf01642 @rantav Set default build encoding to utf-8
authored
21 </properties>
22
0455d58 @rantav Initial setup for maven build file pom.xml
authored
23 <issueManagement>
24 <system>github</system>
3730a2e @rantav Add library for testing, used by the embedded cassandra service
authored
25 <url>http://github.com/rantav/hector/issues</url>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
26 </issueManagement>
27
28 <developers>
29 <developer>
30 <name>Ran Tavory</name>
31 <id>rantav</id>
32 <email>rantav@gmail.com</email>
33 </developer>
34 </developers>
35
a3b567f @rantav Tests plumbing - adding libraries and building a test skeleton
authored
36 <build>
37 <plugins>
bcb8944 added mvn:exec plugin for running examples easily
zznate authored
38 <!--
39 run examples thusly: mvn exec:java
40 -Dexec.mainClass="me.prettyprint.cassandra.examples.ExampleDao"
41 -->
42 <plugin>
43 <groupId>org.codehaus.mojo</groupId>
44 <artifactId>exec-maven-plugin</artifactId>
45 <version>1.1</version>
46 <executions>
47 <execution>
48 <goals>
49 <goal>java</goal>
50 </goals>
51 </execution>
52 </executions>
53 </plugin>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
54 <plugin>
55 <groupId>org.ops4j</groupId>
b109797 @rantav Update pom for maven conpatibility see http://github.com/rantav/hector/i...
authored
56 <artifactId>maven-pax-plugin</artifactId>
57 <version>1.4</version>
58 <configuration>
59 <provision>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
60 <param>--platform=equinox</param>
61 </provision>
62 </configuration>
63 </plugin>
64
65 <plugin>
66 <groupId>org.apache.felix</groupId>
67 <artifactId>maven-bundle-plugin</artifactId>
68 <version>1.4.3</version>
b109797 @rantav Update pom for maven conpatibility see http://github.com/rantav/hector/i...
authored
69 <extensions>true</extensions>
70 <configuration>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
71 <instructions>
72 <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
73 <Bundle-Version>${pom.version}</Bundle-Version>
74
75 <Embed-Dependency>
76 libthrift;scope=compile|runtime;type=!pom;inline=false,
77 cassandra;scope=compile|runtime;type=!pom;inline=false,
78 <!-- *;scope=compile|runtime;type=!pom;inline=false -->
79 </Embed-Dependency>
80
81 <Export-Package>
82 <!-- !${bundle.namespace}.internal.*, -->
83 ${bundle.namespace}.*;version="${pom.version}"
84 </Export-Package>
85
86 <Import-Package>
87 !org.apache.avro.*,
88 !javax.jms.*,
89 !javax.mail.*,
90 !javax.servlet.*,
91 !com.sun.*,
92 !org.antlr.*,
93 !jline.*,
94 !sun.misc.*,
95 *;resolution:=optional
96 </Import-Package>
97
98 <Private-Package>
99 <!-- ${bundle.namespace}.internal.* -->
100 </Private-Package>
101
102 <_include>-osgi.bnd</_include>
103 </instructions>
104 </configuration>
105 </plugin>
106
a3b567f @rantav Tests plumbing - adding libraries and building a test skeleton
authored
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-surefire-plugin</artifactId>
110 <configuration>
468e9dc @rantav Fork all tests when executing
authored
111 <forkMode>always</forkMode>
a3b567f @rantav Tests plumbing - adding libraries and building a test skeleton
authored
112 <additionalClasspathElements>
113 <additionalClasspathElement>${basedir}/testlib/clhm-production-1.0.jar</additionalClasspathElement>
114 <additionalClasspathElement>${basedir}/testlib/flexjson-1.7.jar</additionalClasspathElement>
115 <additionalClasspathElement>${basedir}/testlib/high-scale-lib-1.0.jar</additionalClasspathElement>
116 <additionalClasspathElement>${basedir}/testlib/commons-collections-3.0.jar</additionalClasspathElement>
117 </additionalClasspathElements>
118 </configuration>
119 </plugin>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
120
121
a3b567f @rantav Tests plumbing - adding libraries and building a test skeleton
authored
122 <!-- Setup the build for JAVA 1.6 -->
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-compiler-plugin</artifactId>
126 <configuration>
127 <source>1.6</source>
128 <target>1.6</target>
129 <optimize>true</optimize>
130 <debug>true</debug>
131 <showDeprecation>true</showDeprecation>
132 <showWarnings>true</showWarnings>
133 </configuration>
134 </plugin>
135
136 <!-- Configure the JUnit Env -->
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-surefire-plugin</artifactId>
140 <configuration>
141 <systemProperties>
142 <property>
143 <name>storage-config</name>
144 <value>${basedir}/src/test/conf</value>
145 </property>
146 </systemProperties>
147 <forkMode>always</forkMode>
148 </configuration>
149 </plugin>
150
151 <!-- cobertura code coverage reports -->
152 <plugin>
153 <groupId>org.codehaus.mojo</groupId>
154 <artifactId>cobertura-maven-plugin</artifactId>
155 <version>2.0</version>
156 <configuration>
157 </configuration>
158 </plugin>
ef34e9b @rantav Configure the deploy goal
authored
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-source-plugin</artifactId>
162 <executions>
163 <execution>
164 <goals>
165 <goal>jar</goal>
166 </goals>
167 </execution>
168 </executions>
169 </plugin>
56f1c6e @rantav install jars locally to make the pom more friendly to other projects
authored
170 <!-- install various artifacts -->
171 <plugin>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-install-plugin</artifactId>
174 <version>2.3.1</version>
175 <executions>
176 <execution>
177 <id>install high-scale-lib</id>
178 <phase>initialize</phase>
179 <goals><goal>install-file</goal></goals>
180 <configuration>
181 <packaging>jar</packaging>
182 <groupId>org.cliffc.high_scale_lib</groupId>
183 <artifactId>high-scale-lib</artifactId>
184 <version>1.0.0</version>
185 <file>${basedir}/lib/high-scale-lib.jar</file>
186 </configuration>
187 </execution>
188 <execution>
189 <id>install clhm-production</id>
190 <phase>initialize</phase>
191 <goals><goal>install-file</goal></goals>
192 <configuration>
193 <packaging>jar</packaging>
194 <groupId>com.reardencommerce</groupId>
195 <artifactId>clhm-production</artifactId>
196 <version>1.0.0</version>
197 <file>${basedir}/lib/clhm-production.jar</file>
198 </configuration>
199 </execution>
200 </executions>
201 </plugin>
a3b567f @rantav Tests plumbing - adding libraries and building a test skeleton
authored
202 </plugins>
203 </build>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
204 <dependencies>
205 <dependency>
206 <groupId>commons-codec</groupId>
207 <artifactId>commons-codec</artifactId>
208 <version>1.4</version>
209 </dependency>
210 <dependency>
211 <groupId>commons-pool</groupId>
212 <artifactId>commons-pool</artifactId>
213 <version>1.5.3</version>
214 </dependency>
215 <dependency>
216 <groupId>libthrift</groupId>
217 <artifactId>libthrift</artifactId>
d67fb8e @rantav Change the version number of thrift lib to match the file version
authored
218 <version>917130</version>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
219 </dependency>
220 <dependency>
221 <groupId>org.slf4j</groupId>
222 <artifactId>slf4j-api</artifactId>
9afe9f3 @rantav Made log4j dependency optional.
authored
223 <version>${slf4j.version}</version>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
224 </dependency>
225 <dependency>
226 <groupId>org.slf4j</groupId>
227 <artifactId>slf4j-log4j12</artifactId>
9afe9f3 @rantav Made log4j dependency optional.
authored
228 <version>${slf4j.version}</version>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
229 </dependency>
230 <dependency>
4daca91 added sample test dao and command demonstrating original ExampleDao usag...
zznate authored
231 <groupId>org.slf4j</groupId>
232 <artifactId>jcl-over-slf4j</artifactId>
9afe9f3 @rantav Made log4j dependency optional.
authored
233 <version>${slf4j.version}</version>
234 <scope>test</scope>
4daca91 added sample test dao and command demonstrating original ExampleDao usag...
zznate authored
235 </dependency>
236 <dependency>
237 <groupId>log4j</groupId>
238 <artifactId>log4j</artifactId>
239 <version>1.2.14</version>
9afe9f3 @rantav Made log4j dependency optional.
authored
240 <scope>runtime</scope>
241 <optional>true</optional>
088210c removed redundant runtime scope
zznate authored
242 </dependency>
4daca91 added sample test dao and command demonstrating original ExampleDao usag...
zznate authored
243 <dependency>
bfd6ea4 @rantav Add jmx performance counters http://github.com/rantav/hector/issues/#iss...
authored
244 <groupId>org.perf4j</groupId>
245 <artifactId>perf4j</artifactId>
246 <version>0.9.12</version>
247 </dependency>
248 <dependency>
ca15011 @rantav Improve failover behavior and make public API a little more consistent n...
authored
249 <groupId>com.google.collections</groupId>
250 <artifactId>google-collections</artifactId>
251 <version>1.0</version>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
252 </dependency>
d7f86e2 @rantav Start working on MultigetSliceQuery. Add SuperColumnSlice, write the uni...
authored
253 <dependency>
254 <groupId>commons-lang</groupId>
255 <artifactId>commons-lang</artifactId>
256 <version>2.4</version>
257 </dependency>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
258
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
259 <!-- OSGi deps -->
260 <dependency>
261 <groupId>org.osgi</groupId>
262 <artifactId>osgi_R4_core</artifactId>
263 <version>1.0</version>
264 <scope>provided</scope>
265 <optional>true</optional>
266 </dependency>
267 <dependency>
268 <groupId>org.osgi</groupId>
269 <artifactId>osgi_R4_compendium</artifactId>
270 <version>1.0</version>
271 <scope>provided</scope>
272 <optional>true</optional>
273 </dependency>
2044bf8 @ginkel Fixed cassandra dependencies
ginkel authored
274 <dependency>
275 <groupId>org.apache.cassandra</groupId>
276 <artifactId>apache-cassandra</artifactId>
277 <version>0.6.5</version>
278 </dependency>
279
0455d58 @rantav Initial setup for maven build file pom.xml
authored
280 <!-- Testing Dependencies -->
281 <dependency>
2044bf8 @ginkel Fixed cassandra dependencies
ginkel authored
282 <groupId>org.apache.cassandra</groupId>
283 <artifactId>cassandra-javautils</artifactId>
8843fc9 @rantav Make cassandra-javautils optional
authored
284 <version>0.6.5</version>
285 <optional>true</optional>
2044bf8 @ginkel Fixed cassandra dependencies
ginkel authored
286 </dependency>
287 <dependency>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
288 <groupId>junit</groupId>
289 <artifactId>junit</artifactId>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
290 <version>4.8.1</version>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
291 <scope>test</scope>
292 </dependency>
a3b567f @rantav Tests plumbing - adding libraries and building a test skeleton
authored
293 <dependency>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
294 <groupId>com.googlecode.json-simple</groupId>
295 <artifactId>json-simple</artifactId>
296 <version>1.1</version>
56f1c6e @rantav install jars locally to make the pom more friendly to other projects
authored
297 <scope>test</scope>
298 </dependency>
299 <dependency>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
300 <groupId>commons-collections</groupId>
301 <artifactId>commons-collections</artifactId>
302 <version>3.2.1</version>
56f1c6e @rantav install jars locally to make the pom more friendly to other projects
authored
303 <scope>test</scope>
304 </dependency>
305 <dependency>
98da096 @rantav Add support for OSGi bundle. contributed by Bjorn Borud
authored
306 <groupId>com.reardencommerce</groupId>
307 <artifactId>clhm-production</artifactId>
308 <version>1.0.0</version>
309 <scope>test</scope>
310 </dependency>
311 <dependency>
312 <groupId>org.cliffc.high_scale_lib</groupId>
313 <artifactId>high-scale-lib</artifactId>
314 <version>1.0.0</version>
315 <scope>test</scope>
316 </dependency>
317 <dependency>
a2a6944 @rantav Start writing tests for failover
authored
318 <groupId>org.mockito</groupId>
319 <artifactId>mockito-all</artifactId>
320 <version>1.8.2</version>
321 <scope>test</scope>
322 </dependency>
58111e4 @rantav Implement load balancing
authored
323 <dependency>
4daca91 added sample test dao and command demonstrating original ExampleDao usag...
zznate authored
324 <groupId>org.springframework</groupId>
325 <artifactId>spring-context</artifactId>
326 <version>3.0.0.RELEASE</version>
ecd04ac spring context now scoped to test only
zznate authored
327 <scope>test</scope>
4daca91 added sample test dao and command demonstrating original ExampleDao usag...
zznate authored
328 <exclusions>
329 <exclusion>
330 <groupId>commons-logging</groupId>
331 <artifactId>commons-logging</artifactId>
332 </exclusion>
333 </exclusions>
334 </dependency>
335 <dependency>
336 <groupId>org.springframework</groupId>
337 <artifactId>spring-test</artifactId>
338 <version>3.0.0.RELEASE</version>
339 <scope>test</scope>
340 </dependency>
0455d58 @rantav Initial setup for maven build file pom.xml
authored
341 </dependencies>
342
343 <reporting>
344 <plugins>
345 <plugin>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-jxr-plugin</artifactId>
348 </plugin>
349 <plugin>
350 <groupId>org.apache.maven.plugins</groupId>
351 <artifactId>maven-surefire-report-plugin</artifactId>
352 </plugin>
353 <plugin>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-pmd-plugin</artifactId>
356 </plugin>
357 <plugin>
358 <groupId>org.codehaus.mojo</groupId>
359 <artifactId>taglist-maven-plugin</artifactId>
360 </plugin>
361 <plugin>
362 <groupId>org.apache.maven.plugins</groupId>
363 <artifactId>maven-javadoc-plugin</artifactId>
364 <configuration>
365 <links>
366 <link>http://java.sun.com/j2se/1.6.0/docs/api/</link>
367 <link>http://logging.apache.org/log4j/docs/api/</link>
368 </links>
369 <linksource>true</linksource>
370 <maxmemory>900m</maxmemory>
371 <source>1.6</source>
372 </configuration>
373 </plugin>
374 <plugin>
375 <groupId>org.codehaus.mojo</groupId>
376 <artifactId>cobertura-maven-plugin</artifactId>
377 <version>2.2</version>
378 <configuration>
379 <formats>
380 <format>html</format>
381 <format>xml</format>
382 </formats>
383 </configuration>
384 </plugin>
385 </plugins>
386 </reporting>
0c0624f fixed issue with pom
zznate authored
387 <profiles>
388 <profile>
389 <id>outbrain</id>
390 <distributionManagement>
391 <repository>
392 <id>nexus</id>
393 <name>nexus</name>
394 <url>http://obweb.il.outbrain.com:8081/nexus/content/repositories/releases/</url>
395 </repository>
396 </distributionManagement>
397 </profile>
398 <profile>
399 <id>riptano</id>
400 <distributionManagement>
401 <repository>
402 <id>riptano</id>
403 <name>riptano</name>
404 <url>http://mvn.riptano.com/content/repositories/public/</url>
405 </repository>
406 </distributionManagement>
407 </profile>
408 </profiles>
409 <repositories>
ef34e9b @rantav Configure the deploy goal
authored
410 <repository>
0c0624f fixed issue with pom
zznate authored
411 <id>riptano</id>
412 <name>riptano</name>
413 <url>http://mvn.riptano.com/content/repositories/public/</url>
ef34e9b @rantav Configure the deploy goal
authored
414 </repository>
0c0624f fixed issue with pom
zznate authored
415 <repository>
416 <id>codehaus</id>
417 <name>codehaus</name>
418 <url>http://repository.codehaus.org/</url>
419 </repository>
420 </repositories>
421
0455d58 @rantav Initial setup for maven build file pom.xml
authored
422 </project>
Something went wrong with that request. Please try again.