spring-mock maven dependency

This page gives you a quick reference to get spring-mock dependency for Maven or Gradle projects. You can also download the spring-mock jar dependency, the link given at the "Download JAR File" section.

Spring Framework: Mock Maven Dependency

Copy below Spring Framework: Mock maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.springframework/spring-mock -->
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-mock</artifactId>
    <version>2.0.8</version>
    <scope>test</scope>
</dependency>

Spring Framework: Mock Gradle Dependency

Copy below Spring Framework: Mock gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.springframework/spring-mock
testCompile group: 'org.springframework', name: 'spring-mock', version: '2.0.8'

Download JAR File

Check for Latest Release

Reference


Comments