r/java • • Feb 26 '26

Maven Silent Extension | Machine-readable Maven output

https://mse.jerrinot.info/
21 Upvotes

10 comments sorted by

View all comments

Show parent comment

2

u/_shadowbannedagain Feb 26 '26

All great points, thank you! I will play with Maven logging options a bit more. Ideally, this extension would be rendered useless! :)

3

u/nekokattt Feb 26 '26

cool

just a note that the variables for using slf4j in maven 3 are the standard ones documented for org.slf4j/slf4j-simple, but in Maven 4 they have been changed to be maven-named. If you test against Maven 4.0.0-rc-5 (e.g. by using maven wrapper and changing the wrapper distribution version) then you'll see a warning about this if I recall.

Also in Maven 4, I vaguely recall that all raw stdout/stderr is intercepted and prefixed unless you pass a flag to Maven to disable it.