[ 
https://issues.apache.org/jira/browse/MNG-8069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825187#comment-17825187
 ] 

ASF GitHub Bot commented on MNG-8069:
-------------------------------------

laeubi commented on PR #1435:
URL: https://github.com/apache/maven/pull/1435#issuecomment-1987801822

   The problem is that if you have a multimodule build (lets say 300 modules) 
and use multithreading (so build messages are interleaved), and one of the 
projects fail in the middle you have a huge logfile full of "banned" messages 
but you need to find out what/where it actually fails, so the message without 
any context is quite useless and even if you find the erroneous project its not 
very helpful. So I though showing it at tat time might be more useful.
   
   Another approach would be to simply not display the message at all, and 
instead give a summary at the end of build, e.g. ```
   The following projects where not build due to previous failures:
   - a (depends on x that failed)
   - b
   - c (depends on b that was banned)
   ```
   
   sadly currently this information is somehow spread across some places and 
I'm not sure why e.g. a listener was used instead of printing the message 
directly on `blacklist()` ...
   
   regarding `fae`/`ff` I think we can add such message of course but I didn't 
wanted to complicate things for a first draft, if you think its usefull I think 
it is quite easy to add,




> Message "This project has been banned from the build due to previous 
> failures." is too unspecific
> -------------------------------------------------------------------------------------------------
>
>                 Key: MNG-8069
>                 URL: https://issues.apache.org/jira/browse/MNG-8069
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Christoph Läubrich
>            Priority: Major
>
> Currently if a multimodule build fails (either fast or at the end), the user 
> gets a message in the log that reads:
> {quote}This project has been banned from the build due to previous 
> failures.{quote}
>  
> this is correct but does not give a hint *what* has failed and one needs to 
> investigate the build logs to get more details.
> Instead the message should show the actual project that make it impossible to 
> build this and is the reason fro this project being banned.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to