You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/07/21 10:03:51 UTC

[I] printStackTrace() used instead of logging in tests [maven-resolver]

elharo opened a new issue, #1999:
URL: https://github.com/apache/maven-resolver/issues/1999

   **Affected version:** HEAD
   
   Multiple test files use `e.printStackTrace()` instead of proper assertions or test framework logging, making test failures harder to diagnose. Affected files include:
   - `maven-resolver-impl/src/test/java/org/eclipse/aether/internal/impl/DefaultArtifactResolverTest.java:740, 752, 805, 874, 975, 987`
   - `maven-resolver-demos/src/main/java/.../Booter.java:111`
   - `maven-resolver-api/src/test/java/org/eclipse/aether/DefaultSessionDataTest.java:118`
   - `maven-resolver-api/src/test/java/org/eclipse/aether/DefaultRepositoryCacheTest.java:82`
   
   Originally reported in #1944.
   


-- 
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: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] printStackTrace() used instead of logging in tests [maven-resolver]

Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas closed issue #1999: printStackTrace() used instead of logging in tests
URL: https://github.com/apache/maven-resolver/issues/1999


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org