Skip to content
Snippets Groups Projects
Commit 56d17824 authored by MakroCZ's avatar MakroCZ
Browse files

Pom updates for JUnit

parent 954410ee
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,34 @@
</execution>
</executions>
</plugin>
<!-- Added based on tutorial project -->
<!--<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
</plugin>-->
<!-- https://dzone.com/articles/why-your-junit-5-tests-are-not-running-under-maven Fool proof solution-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.0</version>
</plugin>
</plugins>
</build>
<repositories>
......@@ -70,8 +98,8 @@
<!-- https://github.com/mokiat/java-data-front -->
<dependency>
<groupId>com.github.mokiat</groupId>
<artifactId>java-data-front</artifactId>
<version>v2.0.0</version>
<artifactId>java-data-front</artifactId>
<version>v2.0.0</version>
<type>jar</type>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.vecmath/vecmath -->
......@@ -83,13 +111,14 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>RELEASE</version>
<version>5.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>RELEASE</version>
<version>7.1.0</version>
<scope>test</scope>
</dependency>
</dependencies>
......
......@@ -60,13 +60,18 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<version>2.22.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment