102 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			102 lines
		
	
	
		
			3.8 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>zerocode</artifactId>
 | |
|     <version>1.0-SNAPSHOT</version>
 | |
| 
 | |
|     <parent>
 | |
|         <groupId>com.baeldung</groupId>
 | |
|         <artifactId>testing-modules</artifactId>
 | |
|         <version>1.0.0-SNAPSHOT</version>
 | |
|     </parent>
 | |
| 
 | |
|     <dependencies>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-web</artifactId>
 | |
|             <version>${spring.boot.version}</version>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-test</artifactId>
 | |
|             <version>${spring.boot.version}</version>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.jsmart</groupId>
 | |
|             <artifactId>zerocode-tdd</artifactId>
 | |
|             <version>${zerocode-tdd.version}</version>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
|     </dependencies>
 | |
| 
 | |
|     <build>
 | |
|         <plugins>
 | |
|             <plugin>
 | |
|                 <groupId>org.springframework.boot</groupId>
 | |
|                 <artifactId>spring-boot-maven-plugin</artifactId>
 | |
|                 <version>${spring.boot.version}</version>
 | |
|                 <configuration>
 | |
|                     <profiles>
 | |
|                         <profile>it</profile>
 | |
|                     </profiles>
 | |
|                 </configuration>
 | |
|                 <executions>
 | |
|                     <execution>
 | |
|                         <id>pre-integration-test</id>
 | |
|                         <goals>
 | |
|                             <goal>start</goal>
 | |
|                         </goals>
 | |
|                         <configuration>
 | |
|                             <skip>${skip.it}</skip>
 | |
|                         </configuration>
 | |
|                     </execution>
 | |
|                     <execution>
 | |
|                         <id>post-integration-test</id>
 | |
|                         <goals>
 | |
|                             <goal>stop</goal>
 | |
|                         </goals>
 | |
|                         <configuration>
 | |
|                             <skip>${skip.it}</skip>
 | |
|                         </configuration>
 | |
|                     </execution>
 | |
|                 </executions>
 | |
|             </plugin>
 | |
|             <plugin>
 | |
|                 <groupId>org.apache.maven.plugins</groupId>
 | |
|                 <artifactId>maven-failsafe-plugin</artifactId>
 | |
|                 <version>${maven-failsafe-plugin.version}</version>
 | |
|                 <configuration>
 | |
|                     <skip>${skip.it}</skip>
 | |
|                 </configuration>
 | |
|                 <dependencies>
 | |
|                     <dependency>
 | |
|                         <groupId>org.apache.maven.surefire</groupId>
 | |
|                         <artifactId>surefire-junit47</artifactId>
 | |
|                         <version>${surefire-junit47.version}</version>
 | |
|                     </dependency>
 | |
|                 </dependencies>
 | |
|                 <executions>
 | |
|                     <execution>
 | |
|                         <goals>
 | |
|                             <goal>integration-test</goal>
 | |
|                             <goal>verify</goal>
 | |
|                         </goals>
 | |
|                     </execution>
 | |
|                 </executions>
 | |
|             </plugin>
 | |
|         </plugins>
 | |
|     </build>
 | |
| 
 | |
|     <properties>
 | |
|         <surefire-junit47.version>3.0.0-M5</surefire-junit47.version>
 | |
|         <maven.compiler.source>8</maven.compiler.source>
 | |
|         <maven.compiler.target>8</maven.compiler.target>
 | |
|         <spring.boot.version>2.4.2</spring.boot.version>
 | |
|         <skip.it>true</skip.it>
 | |
|         <zerocode-tdd.version>1.3.27</zerocode-tdd.version>
 | |
|     </properties>
 | |
| 
 | |
| </project> |