[
https://issues.apache.org/jira/browse/MNG-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447524#comment-17447524
]
Guillaume Nodet commented on MNG-7342:
--------------------------------------
Then I would suggest overwriting Sisu logger with a maven custom one.
The problem is not really the fact that sisu logger can be configured using
system properties but rather the fact that such exceptions are only displayed
at TRACE level, so they are completely hidden, even when using `-X`. So I'd
suggest logging those exceptions at DEBUG rather than TRACE level.
> When loading plexus components, linkage exceptions are not displayed
> --------------------------------------------------------------------
>
> Key: MNG-7342
> URL: https://issues.apache.org/jira/browse/MNG-7342
> Project: Maven
> Issue Type: Bug
> Reporter: Guillaume Nodet
> Priority: Major
>
> If a dependency is missing, a {{NoClassDefFoundError}} will be thrown inside
> Sisu, but Sisu logs at {{TRACE}} level and not {{DEBUG}} so that nothing is
> displayed.
> The {{-X}} option should use {{TRACE}} instead of {{{}DEBUG{}}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)