elharo commented on PR #174: URL: https://github.com/apache/maven-resolver-ant-tasks/pull/174#issuecomment-5205294222
The CI failure was in the Ant `smoke-test` target (build.xml:98), which uses a JUnit 3-style `<junit>` batch run: it reported `No tests found in CreatePomNoParentDirTest` and failed the build. The test class was missing the `public static junit.framework.Test suite()` method that every other test class provides (see `CreatePomTest`, `CreatePomRainyDayTest`, etc.) so the Ant runner could not discover its tests. Added the `suite()` method backed by `JUnit4TestAdapter` (plus the required `junit.framework.JUnit4TestAdapter` import). Verified with `mvn -Prun-its verify`: the smoke-test now runs `CreatePomNoParentDirTest` (1 test, 0 failures) and the full build passes. -- 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]
