Review maven configuration for testcontainers 27/122827/1
authorBruno Sakoto <bruno.sakoto@bell.ca>
Thu, 22 Jul 2021 19:25:23 +0000 (15:25 -0400)
committerBruno Sakoto <bruno.sakoto@bell.ca>
Thu, 22 Jul 2021 19:25:23 +0000 (15:25 -0400)
Maven build was not failing when test containers are not able to run
because of following maven surefire plugin bug:

* https://github.com/junit-team/junit5/issues/2178
* https://issues.apache.org/jira/browse/SUREFIRE-1688

This bug is fixed in surefire 3.0.0-M5. Then, 3.0.0-M4 version coming
from oparent is now overridden in pom plugin management.

Issue-ID: CPS-515
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Ib0600029a56e4fab7b33bfec9a3351536c146da1

cps-parent/pom.xml

index d8660d0..9c5c7c4 100755 (executable)
                         </execution>
                     </executions>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>3.0.0-M5</version>
+                </plugin>
                 <!-- Swagger code generation. -->
                 <plugin>
                     <groupId>io.swagger.codegen.v3</groupId>