You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/02/01 10:46:00 UTC
[jira] [Commented] (MNG-7854) Imported entries that are ignored should be emitted as warning
[ https://issues.apache.org/jira/browse/MNG-7854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17813162#comment-17813162 ]
ASF GitHub Bot commented on MNG-7854:
-------------------------------------
gnodet commented on PR #1370:
URL: https://github.com/apache/maven/pull/1370#issuecomment-1921029749
I've added a few unit tests. I've slightly changed things so that the warnings are only created when the dependency is not directly managed. The warning also suggests to add a direct managed dependency to get rid of it, so it's now helpful and actionnable.
That's clearly a good first step. The next one could be to use a "closest wins" strategy instead of this "direct wins, then first wins" weird ad-hoc strategy.
> Imported entries that are ignored should be emitted as warning
> --------------------------------------------------------------
>
> Key: MNG-7854
> URL: https://issues.apache.org/jira/browse/MNG-7854
> Project: Maven
> Issue Type: Improvement
> Components: POM
> Reporter: Tamas Cservenak
> Priority: Major
>
> See https://github.com/cstamas/MNG-7852 for reproducer.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)