gianm commented on PR #15014: URL: https://github.com/apache/druid/pull/15014#issuecomment-1728218042
I see the jdk8 unit tests fail with: ``` Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project druid-processing: Compilation failure Error: /home/runner/work/druid/druid/processing/src/test/java/org/apache/druid/query/aggregation/last/FloatLastVectorAggregatorTest.java:[30,19] cannot access org.mockito.Mock Error: bad class file: /home/runner/.m2/repository/org/mockito/mockito-core/5.5.0/mockito-core-5.5.0.jar(org/mockito/Mock.class) Error: class file has wrong version 55.0, should be 52.0 Error: Please remove or make sure it appears in the correct subdirectory of the classpath. Error: -> [Help 1] ``` Would it work to use Maven profile such that we get a different version of Mockito on a Java 8 test run vs. a Java 11+ test run? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
