2020-09-17 17:22:49 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2023-08-28 11:30:09 -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">
|
2020-09-17 17:22:49 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>testing-libraries-2</artifactId>
|
|
|
|
<name>testing-libraries-2</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>testing-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
2021-10-29 00:07:04 -04:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2020-09-17 17:22:49 -04:00
|
|
|
<dependencies>
|
2021-06-03 05:11:38 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-09-17 17:22:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.stefanbirkner</groupId>
|
|
|
|
<artifactId>system-rules</artifactId>
|
|
|
|
<version>${system-rules.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.stefanbirkner</groupId>
|
|
|
|
<artifactId>system-lambda</artifactId>
|
|
|
|
<version>${system-lambda.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-11-20 12:44:42 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>uk.org.webcompere</groupId>
|
|
|
|
<artifactId>system-stubs-jupiter</artifactId>
|
|
|
|
<version>${system-stubs.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>uk.org.webcompere</groupId>
|
|
|
|
<artifactId>system-stubs-junit4</artifactId>
|
|
|
|
<version>${system-stubs.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-09-23 17:17:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>uk.org.webcompere</groupId>
|
|
|
|
<artifactId>system-stubs-testng</artifactId>
|
|
|
|
<version>${system-stubs.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit-pioneer</groupId>
|
|
|
|
<artifactId>junit-pioneer</artifactId>
|
|
|
|
<version>${junit.pioneer.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
<version>${testng.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-09-17 17:22:49 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2021-05-17 10:53:43 -04:00
|
|
|
<finalName>testing-libraries-2</finalName>
|
2021-05-16 12:42:35 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- Plugins for JACOCO Coverage report -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>${jacoco.version}</version>
|
2021-06-03 05:11:38 -04:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>com/baeldung/**/ExcludedPOJO.class</exclude>
|
|
|
|
<exclude>com/baeldung/**/*DTO.*</exclude>
|
|
|
|
<exclude>**/config/*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2021-05-16 12:42:35 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>jacoco-initialize</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>jacoco-site</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2023-07-06 19:36:48 -04:00
|
|
|
<execution>
|
|
|
|
<id>check-coverage</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<rule>
|
|
|
|
<element>BUNDLE</element>
|
|
|
|
<limits>
|
|
|
|
<limit>
|
|
|
|
<counter>INSTRUCTION</counter>
|
|
|
|
<value>COVEREDRATIO</value>
|
|
|
|
<minimum>0.70</minimum>
|
|
|
|
</limit>
|
|
|
|
<limit>
|
|
|
|
<counter>BRANCH</counter>
|
|
|
|
<value>COVEREDRATIO</value>
|
|
|
|
<minimum>0.68</minimum>
|
|
|
|
</limit>
|
|
|
|
</limits>
|
|
|
|
</rule>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-05-16 12:42:35 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2023-06-06 05:21:21 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<argLine>
|
|
|
|
--add-opens java.base/java.util=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.lang=ALL-UNNAMED
|
|
|
|
</argLine>
|
2023-09-23 17:17:39 -04:00
|
|
|
<environmentVariables>
|
|
|
|
<SET_BY_SUREFIRE>YES</SET_BY_SUREFIRE>
|
|
|
|
</environmentVariables>
|
2023-06-06 05:21:21 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-05-16 12:42:35 -04:00
|
|
|
</plugins>
|
2020-09-17 17:22:49 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
2024-03-25 18:43:41 -04:00
|
|
|
<jacoco.version>0.8.11</jacoco.version>
|
2020-09-17 17:22:49 -04:00
|
|
|
<system-rules.version>1.19.0</system-rules.version>
|
|
|
|
<system-lambda.version>1.0.0</system-lambda.version>
|
2023-09-27 15:08:05 -04:00
|
|
|
<system-stubs.version>2.1.3</system-stubs.version>
|
2023-09-23 17:17:39 -04:00
|
|
|
<testng.version>7.8.0</testng.version>
|
|
|
|
<assertj.version>3.24.2</assertj.version>
|
|
|
|
<junit.pioneer.version>2.1.0</junit.pioneer.version>
|
2020-09-17 17:22:49 -04:00
|
|
|
</properties>
|
2021-08-02 14:57:15 -04:00
|
|
|
|
|
|
|
</project>
|