This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Description
Since the last work on dependencies, the Maven Surefire and Failsafe plugins have had major versions released. There have previously been bugs/problems with these plugins (e.g. #2850), hopefully these new versions will work correctly.
The versions for JUnit, JUnit Suites, AssertJ and Mockito can also be updated. However this is causing a runtime problem when testing.
With these versions:
<junit.version>5.9.2</junit.version>
<junit-suite.version>1.9.3</junit-suite.version>
<assertj.version>3.24.2</assertj.version>
<mockito.version>4.11.0</mockito.version>
The following problems occur when running mvn clean install -Pcoverage -pl :map-store:
[ERROR] uk.gov.gchq.gaffer.mapstore.optimiser.CountAllElementsOperationChainOptimiserTest.shouldReturnExpectedOptimisedOperationChain(OperationChain,OperationChain) Time elapsed: 0.048 s <<< ERROR!
java.lang.NoSuchMethodError: 'java.lang.String[] org.junit.platform.commons.util.ReflectionUtils.parseQualifiedMethodName(java.lang.String)'
[ERROR] uk.gov.gchq.gaffer.mapstore.optimiser.CountAllElementsOperationChainOptimiserTest.shouldNotOptimiseOperationChain(OperationChain) Time elapsed: 0.052 s <<< ERROR!
java.lang.NoSuchMethodError: 'java.lang.String[] org.junit.platform.commons.util.ReflectionUtils.parseQualifiedMethodName(java.lang.String)'