java-tutorials/maven-modules/maven-build-lifecycle/pom.xml

53 lines
2.0 KiB
XML
Raw Normal View History

2024-01-18 11:51:34 -05:00
<?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">
2024-01-18 11:51:34 -05:00
<modelVersion>4.0.0</modelVersion>
<artifactId>maven-build-lifecycle</artifactId>
2024-01-18 11:51:34 -05:00
<parent>
<groupId>com.baeldung</groupId>
<artifactId>maven-modules</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<build>
<plugins>
<!-- Maven Surefire Plugin for unit tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
<configuration>
<!-- Include test classes with names matching the pattern -->
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
<!-- Maven Failsafe Plugin for integration tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.version}</version>
<executions>
<!-- Run integration tests during the integration-test phase -->
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<maven.surefire.version>3.1.2</maven.surefire.version>
<maven.failsafe.version>3.1.2</maven.failsafe.version>
<junit.jupiter.version>5.3.1</junit.jupiter.version>
</properties>
2024-01-18 11:51:34 -05:00
</project>