2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-17 10:53:43 -04:00
|
|
|
<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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<!-- NOT NEEDED - JSP <groupId>com.baeldung</groupId> -->
|
|
|
|
<artifactId>junit-5</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<name>junit-5</name>
|
|
|
|
<description>Intro to JUnit 5</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2021-11-04 06:41:12 -04:00
|
|
|
<artifactId>testing-modules</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
2021-12-15 22:47:01 -05:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>${mockito.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-engine</artifactId>
|
2021-10-29 00:07:04 -04:00
|
|
|
<version>${junit-platform.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
2021-08-23 20:24:13 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-console-standalone</artifactId>
|
2021-10-29 00:07:04 -04:00
|
|
|
<version>${junit-platform.version}</version>
|
2021-08-23 20:24:13 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-migrationsupport</artifactId>
|
2021-10-29 00:07:04 -04:00
|
|
|
<version>${junit-jupiter.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
2021-12-15 22:47:01 -05:00
|
|
|
<version>${mockito.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-api-mockito2</artifactId>
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-12-15 22:47:01 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
2021-04-06 16:31:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>${exec-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>java</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>com.baeldung.TestLauncher</mainClass>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-11-13 16:36:39 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2023-06-06 05:21:21 -04:00
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<argLine>
|
|
|
|
--add-opens java.base/java.lang=ALL-UNNAMED
|
|
|
|
--add-opens java.base/java.time=ALL-UNNAMED
|
|
|
|
</argLine>
|
|
|
|
</configuration>
|
2019-11-13 16:36:39 -05:00
|
|
|
</plugin>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<properties>
|
2022-02-09 05:39:44 -05:00
|
|
|
<log4j2.version>2.17.1</log4j2.version>
|
2021-12-15 22:47:01 -05:00
|
|
|
<powermock.version>2.0.9</powermock.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<spring.version>5.0.1.RELEASE</spring.version>
|
2021-12-15 22:47:01 -05:00
|
|
|
<mockito.version>3.3.0</mockito.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-05-17 10:53:43 -04:00
|
|
|
</project>
|