From 7a8f15eed0a9563cdc5e19f211f346dfdf902602 Mon Sep 17 00:00:00 2001 From: Michael Nitschinger Date: Mon, 24 Mar 2014 09:16:03 +0100 Subject: [PATCH] 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 Tested-by: Michael Nitschinger --- build.xml | 1 + pom.xml | 89 +++++++++++++++++++ .../tapmessage/ResponseMessageBaseCase.java | 2 +- 3 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 pom.xml diff --git a/build.xml b/build.xml index 9449b9962..6723096ef 100644 --- a/build.xml +++ b/build.xml @@ -704,6 +704,7 @@ + diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..4a07d5fbc --- /dev/null +++ b/pom.xml @@ -0,0 +1,89 @@ + + + + + + 4.0.0 + net.spy + spymemcached + 2.999.999-SNAPSHOT + + Spymemcached + A client library for memcached. + http://www.couchbase.org/code/couchbase/java + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + https://github.com/couchbase/spymemcached + + scm:git:git://github.com/couchbase/spymemcached.git + + + + + net.spy.spymemcached + The Spymemcached Project Contributors + https://code.google.com/p/spymemcached/ + Couchbase, Inc. + http://couchbase.com/ + + + + + + + log4j + log4j + 1.2.16 + true + + + org.slf4j + slf4j-api + 1.7.5 + true + + + org.springframework + spring-beans + 3.0.3.RELEASE + true + + + com.codahale.metrics + metrics-core + 3.0.1 + true + + + + + junit + junit + 4.7 + test + + + jmock + jmock + 1.2.0 + test + + + + + diff --git a/src/test/java/net/spy/memcached/tapmessage/ResponseMessageBaseCase.java b/src/test/java/net/spy/memcached/tapmessage/ResponseMessageBaseCase.java index 7d61a86d4..96e45c155 100644 --- a/src/test/java/net/spy/memcached/tapmessage/ResponseMessageBaseCase.java +++ b/src/test/java/net/spy/memcached/tapmessage/ResponseMessageBaseCase.java @@ -39,7 +39,7 @@ * TODO: Implement revid check * TODO: Replace a lot of the checks for zeros */ -public class ResponseMessageBaseCase { +public abstract class ResponseMessageBaseCase { protected byte[] responsebytes; protected ResponseMessage instance = null;