gnodet commented on PR #1211:
URL: https://github.com/apache/maven/pull/1211#issuecomment-1816684817

   The idea looks good to me.  There's one additional use case that needs to be 
handled though is the following.
   
   Let's say one or two BOMs are imported with a conflicting dependency.  Maven 
would print a warning that the second managed dependency is ignored.  The 
warning should include a way to fix the problem, which is to add an explicit 
managed dependency before importing the BOMs.  Once that's done, the build 
should not emit a warning anymore imho, as warning with no way to fix is a bad 
idea.  So I think the warning should happen only if no explicit (first level) 
managed dependency is registered yet.  This should be the case if the BOM is 
imported before the managed dep, or if there's a conflict with two BOMs.


-- 
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

Reply via email to