elharo commented on PR #811: URL: https://github.com/apache/maven-surefire/pull/811#issuecomment-2676884411
We did indeed used to use field injection. However, we've been moving to constructor injection as part of the move from Plexus to Guice, and in general (not just Maven) constructor injection is preferred for safety. Perhaps loggers are a special case, but I'm not sure. -- 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-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org