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

Giovanni van der Schelde edited comment on MNG-7437 at 3/21/22, 9:32 PM:
-------------------------------------------------------------------------

If this extra line of logging is unwanted, I could provide a PR for it as I 
already seem to have fixed it locally.


was (Author: giovds):
If we want to remove this extra line of logging, I could provide the PR for it 
as I already seem to have fixed it locally.

> Optional profiles that are not found logs warning twice
> -------------------------------------------------------
>
>                 Key: MNG-7437
>                 URL: https://issues.apache.org/jira/browse/MNG-7437
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line, Core, Logging
>    Affects Versions: 4.0.0-alpha-1
>            Reporter: Giovanni van der Schelde
>            Priority: Minor
>         Attachments: image-2022-03-21-21-50-55-930.png
>
>
> Maven 4 (MNG-7051) introduced optional profiles, and if such profile could 
> not be found, the build continues and logs a warning.
> Whenever I run this command I noticed the warning is logged twice. Once 
> before the build and once after the build. This seems unnecessary and is 
> inconsistent with the behaviour of optional projects. 
> !image-2022-03-21-21-50-55-930.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to