102 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			102 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| 
								 | 
							
								<?xml version="1.0" encoding="UTF-8"?>
							 | 
						||
| 
								 | 
							
								<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">
							 | 
						||
| 
								 | 
							
								    <modelVersion>4.0.0</modelVersion>
							 | 
						||
| 
								 | 
							
								    <artifactId>spring-boot-testing-spock</artifactId>
							 | 
						||
| 
								 | 
							
								    <name>spring-boot-testing-spock</name>
							 | 
						||
| 
								 | 
							
								    <packaging>war</packaging>
							 | 
						||
| 
								 | 
							
								    <description>This is simple boot application for demonstrating spock framework testing features.</description>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <parent>
							 | 
						||
| 
								 | 
							
								        <groupId>com.baeldung.spring-boot-modules</groupId>
							 | 
						||
| 
								 | 
							
								        <artifactId>spring-boot-modules</artifactId>
							 | 
						||
| 
								 | 
							
								        <version>1.0.0-SNAPSHOT</version>
							 | 
						||
| 
								 | 
							
								    </parent>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <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>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <dependencies>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter-web</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter-tomcat</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter-test</artifactId>
							 | 
						||
| 
								 | 
							
								            <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>
							 | 
						||
| 
								 | 
							
								        <finalName>spring-boot-testing-spock</finalName>
							 | 
						||
| 
								 | 
							
								        <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>org.codehaus.gmavenplus</groupId>
							 | 
						||
| 
								 | 
							
								                <artifactId>gmavenplus-plugin</artifactId>
							 | 
						||
| 
								 | 
							
								                <version>${gmavenplus-plugin.version}</version>
							 | 
						||
| 
								 | 
							
								                <executions>
							 | 
						||
| 
								 | 
							
								                    <execution>
							 | 
						||
| 
								 | 
							
								                        <goals>
							 | 
						||
| 
								 | 
							
								                            <goal>compileTests</goal>
							 | 
						||
| 
								 | 
							
								                        </goals>
							 | 
						||
| 
								 | 
							
								                    </execution>
							 | 
						||
| 
								 | 
							
								                </executions>
							 | 
						||
| 
								 | 
							
								                <configuration>
							 | 
						||
| 
								 | 
							
								                    <targetBytecode>17</targetBytecode>
							 | 
						||
| 
								 | 
							
								                </configuration>
							 | 
						||
| 
								 | 
							
								            </plugin>
							 | 
						||
| 
								 | 
							
								            <plugin>
							 | 
						||
| 
								 | 
							
								                <groupId>org.apache.maven.plugins</groupId>
							 | 
						||
| 
								 | 
							
								                <artifactId>maven-compiler-plugin</artifactId>
							 | 
						||
| 
								 | 
							
								                <version>${maven-compiler-plugin.version}</version>
							 | 
						||
| 
								 | 
							
								            </plugin>
							 | 
						||
| 
								 | 
							
								        </plugins>
							 | 
						||
| 
								 | 
							
								    </build>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <properties>
							 | 
						||
| 
								 | 
							
								        <!-- The main class to start by executing java -jar -->
							 | 
						||
| 
								 | 
							
								        <start-class>com.baeldung.boot.Application</start-class>
							 | 
						||
| 
								 | 
							
								        <spock.version>2.4-M1-groovy-4.0</spock.version>
							 | 
						||
| 
								 | 
							
								        <gmavenplus-plugin.version>3.0.0</gmavenplus-plugin.version>
							 | 
						||
| 
								 | 
							
								        <log4j2.version>2.17.1</log4j2.version>
							 | 
						||
| 
								 | 
							
								    </properties>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</project>
							 |