java-tutorials/spring-mockito/pom.xml

98 lines
3.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2016-03-03 05:32:44 -05:00
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2016-01-19 07:12:11 -05:00
<modelVersion>4.0.0</modelVersion>
2016-01-19 07:12:11 -05:00
<groupId>com.baeldung</groupId>
<artifactId>spring-mockito</artifactId>
2016-01-19 07:12:11 -05:00
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>spring-mockito</name>
2016-01-19 07:12:11 -05:00
<description>Injecting Mockito Mocks into Spring Beans</description>
2016-01-19 07:12:11 -05:00
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
2016-12-06 17:18:52 -05:00
<version>1.4.2.RELEASE</version>
2016-01-19 07:12:11 -05:00
<relativePath/> <!-- lookup parent from repository -->
</parent>
2016-01-19 07:12:11 -05:00
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
2016-12-06 17:18:52 -05:00
<version>${mockito.version}</version>
</dependency>
2016-01-19 07:12:11 -05:00
</dependencies>
2016-10-18 07:29:59 -04:00
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*IntegrationTest.java</exclude>
<exclude>**/*LiveTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
2016-10-18 07:29:59 -04:00
<profiles>
<profile>
<id>integration</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<excludes>
<exclude>**/*LiveTest.java</exclude>
</excludes>
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
</configuration>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<test.mime>json</test.mime>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
2016-03-03 05:32:44 -05:00
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
2016-12-06 17:18:52 -05:00
<mockito.version>1.10.19</mockito.version>
2016-03-03 05:32:44 -05:00
</properties>
</project>