Skip to content

Commit 7a8f15e

Browse files
daschlMichael Nitschinger
authored andcommitted
Add development pom.xml
Motivation ---------- While ivy/ant works for years now, it is a little too hard to get started when contributing simple patches with IDE setup. Since most IDEs have good maven support, adding a pom.xml to get up and running quickly makes it easier to contribute and develop. Modification ------------ Add a pom.xml which is inteded to get up and running quickly. It is not designed to do release management, which still happens through the ant/ivy pipeline. Note that the test case fix is by intention, because otherwise the unit tests get messed up when ran through IntelliJ with the maven file imported. Result ------ Contributors and developers can import the project more easily and contribute patches. Change-Id: I837eb73cb07560aef15301490eaab56e484be3a8 Reviewed-on: http://review.couchbase.org/34845 Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com> Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
1 parent 3ba49ca commit 7a8f15e

3 files changed

Lines changed: 91 additions & 1 deletion

File tree

build.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@
704704
<exclude name=".gitreview" />
705705
<exclude name=".git/**" />
706706
<exclude name=".idea/**" />
707+
<exclude name="pom.xml" />
707708
</fileset>
708709
</delete>
709710
</target>

pom.xml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5+
http://maven.apache.org/xsd/maven-4.0.0.xsd">
6+
7+
<!--
8+
== NOTE ==
9+
This maven file is just for developer convenience, release management
10+
and primary dependency configuration, as well as all ant targets are
11+
managed through ant/ivy.
12+
-->
13+
14+
<modelVersion>4.0.0</modelVersion>
15+
<groupId>net.spy</groupId>
16+
<artifactId>spymemcached</artifactId>
17+
<version>2.999.999-SNAPSHOT</version> <!-- not used -->
18+
19+
<name>Spymemcached</name>
20+
<description>A client library for memcached.</description>
21+
<url>http://www.couchbase.org/code/couchbase/java</url>
22+
23+
<licenses>
24+
<license>
25+
<name>The Apache Software License, Version 2.0</name>
26+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
27+
<distribution>repo</distribution>
28+
</license>
29+
</licenses>
30+
<scm>
31+
<url>https://github.com/couchbase/spymemcached</url>
32+
<connection>
33+
scm:git:git://github.com/couchbase/spymemcached.git
34+
</connection>
35+
</scm>
36+
<developers>
37+
<developer>
38+
<id>net.spy.spymemcached</id>
39+
<name>The Spymemcached Project Contributors</name>
40+
<url>https://code.google.com/p/spymemcached/</url>
41+
<organization>Couchbase, Inc.</organization>
42+
<organizationUrl>http://couchbase.com/</organizationUrl>
43+
</developer>
44+
</developers>
45+
46+
<dependencies>
47+
<!-- Optional Dependencies at Runtime -->
48+
<dependency>
49+
<groupId>log4j</groupId>
50+
<artifactId>log4j</artifactId>
51+
<version>1.2.16</version>
52+
<optional>true</optional>
53+
</dependency>
54+
<dependency>
55+
<groupId>org.slf4j</groupId>
56+
<artifactId>slf4j-api</artifactId>
57+
<version>1.7.5</version>
58+
<optional>true</optional>
59+
</dependency>
60+
<dependency>
61+
<groupId>org.springframework</groupId>
62+
<artifactId>spring-beans</artifactId>
63+
<version>3.0.3.RELEASE</version>
64+
<optional>true</optional>
65+
</dependency>
66+
<dependency>
67+
<groupId>com.codahale.metrics</groupId>
68+
<artifactId>metrics-core</artifactId>
69+
<version>3.0.1</version>
70+
<optional>true</optional>
71+
</dependency>
72+
73+
<!-- Test Dependencies -->
74+
<dependency>
75+
<groupId>junit</groupId>
76+
<artifactId>junit</artifactId>
77+
<version>4.7</version>
78+
<scope>test</scope>
79+
</dependency>
80+
<dependency>
81+
<groupId>jmock</groupId>
82+
<artifactId>jmock</artifactId>
83+
<version>1.2.0</version>
84+
<scope>test</scope>
85+
</dependency>
86+
</dependencies>
87+
88+
89+
</project>

src/test/java/net/spy/memcached/tapmessage/ResponseMessageBaseCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* TODO: Implement revid check
4040
* TODO: Replace a lot of the checks for zeros
4141
*/
42-
public class ResponseMessageBaseCase {
42+
public abstract class ResponseMessageBaseCase {
4343

4444
protected byte[] responsebytes;
4545
protected ResponseMessage instance = null;

0 commit comments

Comments
 (0)