sebtiem commented on issue #3482: URL: https://github.com/apache/maven-surefire/issues/3482#issuecomment-6058255870
Surefire979WrongClassLoaderIT seems to be affected by maven-shade-plugin [#864](https://github.com/apache/maven-shade-plugin/issues/864) although this test is meant to test something different: Installing Surefire fully with Maven 3 and IT execution with Maven 3 leads to a running test. But installing Surefire with Maven 4 and run this IT with either Maven 3 or 4, it fails: Because of [#864](https://github.com/apache/maven-shade-plugin/issues/864), commons-io (among others) and the class AutoCloseInputStream is provided transitively which makes the test throwing an IllegalStateException instead of NoClassDefFoundError. -- 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]
