[java-support] branch master updated: Fix tests by adding spring-web dependency with test scope.

Tom Zeller tzeller at dragonacea.biz
Tue Oct 20 11:57:41 EDT 2015


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch master
in repository java-support.

The following commit(s) were added to refs/heads/master by this push:
       new  4eba618   Fix tests by adding spring-web dependency with test scope.
4eba618 is described below

commit 4eba6181a2b910f7fd2c0609a32d59d9e1549706
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Tue Oct 20 10:58:15 2015 -0500

    Fix tests by adding spring-web dependency with test scope.
    
    Tests were failing with 'java.lang.NoClassDefFoundError:
    org/springframework/http/MediaType'. Not sure of the cause, but the
    symptom was masked by JPAR-72.
---
 pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/pom.xml b/pom.xml
index a68d43f..796cd26 100644
--- a/pom.xml
+++ b/pom.xml
@@ -128,6 +128,11 @@
             <artifactId>spring-test</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>${spring.groupId}</groupId>
+            <artifactId>spring-web</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
 </project>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list