2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-10-31 21:43:47 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2021-05-13 13:17:40 -04:00
|
|
|
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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2021-05-13 13:17:40 -04:00
|
|
|
<artifactId>spring-boot-testing</artifactId>
|
|
|
|
<name>spring-boot-testing</name>
|
2021-11-09 05:57:03 -05:00
|
|
|
<packaging>war</packaging>
|
2021-05-13 13:17:40 -04:00
|
|
|
<description>This is simple boot application for demonstrating testing features.</description>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<parent>
|
2020-07-07 23:00:05 -04:00
|
|
|
<groupId>com.baeldung.spring-boot-modules</groupId>
|
|
|
|
<artifactId>spring-boot-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</parent>
|
|
|
|
|
2022-02-22 11:23:39 -05:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-bom</artifactId>
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
<scope>import</scope>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
2020-09-11 08:49:02 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
2020-08-28 08:27:38 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Embedded Redis Server -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>it.ozimov</groupId>
|
|
|
|
<artifactId>embedded-redis</artifactId>
|
2019-12-24 06:47:09 -05:00
|
|
|
<version>${redis.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Spock & Spring -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spockframework</groupId>
|
|
|
|
<artifactId>spock-core</artifactId>
|
|
|
|
<version>${spock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spockframework</groupId>
|
|
|
|
<artifactId>spock-spring</artifactId>
|
|
|
|
<version>${spock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2019-12-05 09:56:52 -05:00
|
|
|
<finalName>spring-boot-testing</finalName>
|
2019-10-31 21:43:47 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
|
|
<version>${git-commit-id-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>get-the-git-infos</id>
|
|
|
|
<goals>
|
|
|
|
<goal>revision</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>validate-the-git-infos</id>
|
|
|
|
<goals>
|
|
|
|
<goal>validateRevision</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
|
|
|
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.gmavenplus</groupId>
|
|
|
|
<artifactId>gmavenplus-plugin</artifactId>
|
|
|
|
<version>${gmavenplus-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compileTests</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2019-12-05 09:56:52 -05:00
|
|
|
</plugin>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- The main class to start by executing java -jar -->
|
|
|
|
<start-class>com.baeldung.boot.Application</start-class>
|
|
|
|
<git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
|
|
|
|
<spock.version>1.2-groovy-2.4</spock.version>
|
|
|
|
<gmavenplus-plugin.version>1.6</gmavenplus-plugin.version>
|
2019-12-24 06:47:09 -05:00
|
|
|
<redis.version>0.7.2</redis.version>
|
2021-06-05 11:37:08 -04:00
|
|
|
<spring-boot.version>2.5.0</spring-boot.version>
|
2022-02-22 11:23:39 -05:00
|
|
|
<log4j2.version>2.17.1</log4j2.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-05-13 13:17:40 -04:00
|
|
|
</project>
|