diff --git a/MeshModel/pom.xml b/MeshModel/pom.xml index 92c90b6342765aac0057d74b7bb54d7d1288b85b..c06a0cd36a6b0e89f538f1b384e3cb1dc1da9376 100644 --- a/MeshModel/pom.xml +++ b/MeshModel/pom.xml @@ -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> diff --git a/pom.xml b/pom.xml index 3cc901708eaf72bd3f72009642fa5cba8d83b2bf..9c9c4dd4bf9e9aff17f4446e74c61f6d0f418466 100644 --- a/pom.xml +++ b/pom.xml @@ -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>