From e0ad5baa1ed25bb79f719751012140bc60cbaa32 Mon Sep 17 00:00:00 2001 From: "J. Brisbin" Date: Fri, 26 Nov 2010 10:16:26 -0600 Subject: [PATCH] Fixing build so tests run groovyc/spec tests all pass --- spring-data-riak/pom.xml | 39 ++++++++++++++++++ .../data/riak/core/TestObject.java | 41 +++++++++++++++++++ spring-data-riak/template.mf | 2 + 3 files changed, 82 insertions(+) create mode 100644 spring-data-riak/src/test/java/org/springframework/data/riak/core/TestObject.java diff --git a/spring-data-riak/pom.xml b/spring-data-riak/pom.xml index 96261dc0c..120963fd0 100644 --- a/spring-data-riak/pom.xml +++ b/spring-data-riak/pom.xml @@ -130,6 +130,45 @@ org.spockframework spock-maven + + + maven-antrun-plugin + + + + + + + + + test-compile + + run + + + + + + org.codehaus.groovy + groovy-all + 1.7.5 + + + asm + asm + 3.2 + + + antlr + antlr + 2.7.7 + + + + diff --git a/spring-data-riak/src/test/java/org/springframework/data/riak/core/TestObject.java b/spring-data-riak/src/test/java/org/springframework/data/riak/core/TestObject.java new file mode 100644 index 000000000..fb37ae547 --- /dev/null +++ b/spring-data-riak/src/test/java/org/springframework/data/riak/core/TestObject.java @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2010 by J. Brisbin + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.springframework.data.riak.core; + +/** + * @author J. Brisbin + */ +public class TestObject { + String test = "value"; + Integer integer = 12; + + public String getTest() { + return test; + } + + public void setTest(String test) { + this.test = test; + } + + public Integer getInteger() { + return integer; + } + + public void setInteger(Integer integer) { + this.integer = integer; + } +} diff --git a/spring-data-riak/template.mf b/spring-data-riak/template.mf index 5d4d14cf3..aba21f9d8 100644 --- a/spring-data-riak/template.mf +++ b/spring-data-riak/template.mf @@ -24,3 +24,5 @@ Import-Template: org.codehaus.jackson.*;version="[1.5.6, 1.5.6)", org.codehaus.jackson.map.*;version="[1.5.6, 1.5.6)", org.codehaus.groovy.runtime.*;version="[1.7.5, 2.0.0)", + javax.activation.*;version="[1.1, 2.0)", + javax.mail.*;version="[1.4.0, 2.0.0)", \ No newline at end of file