You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Especially @kwin and @laeubi agreed on this proposal to avoid those useless warnings:
I think the message part inside the ignore lets m2e emit that warning. I don't think this warning is useful but rather confusing therefore I propose to remove all message lines from
<message>maven-enforcer-plugin (goal "enforce") is ignored by m2e.</message>
Originally posted by vtintillier February 2, 2023
Hello,
I am not sure if the behavior I see is intended or not.
maven-enforcer-plugin removed their META-INF/m2e/lifecycle-mapping-metadata.xml file in their last 3.2.1 release (apache/maven-enforcer#192). As a result, we see this warning in all our poms:
maven-enforcer-plugin (goal "enforce") is ignored by m2e
<message>maven-enforcer-plugin (goal "enforce") is ignored by m2e.</message>
</ignore>
</action>
</pluginExecution>
So my question is: is this expected that goals ignored in m2e-core own lifecycle-mapping-metadata.xml appear as warnings in the editor, whereas goals ignored in maven plugins own lifecycle-mapping-metadata.xml do not?
Also is there a way to disable those warnings?
Thanks
Vivien
The text was updated successfully, but these errors were encountered:
Discussed in #1229
Especially @kwin and @laeubi agreed on this proposal to avoid those useless warnings:
Originally posted by vtintillier February 2, 2023
Hello,
I am not sure if the behavior I see is intended or not.
maven-enforcer-plugin
removed theirMETA-INF/m2e/lifecycle-mapping-metadata.xml
file in their last 3.2.1 release (apache/maven-enforcer#192). As a result, we see this warning in all our poms:It seems this messages originate from this code:
m2e-core/org.eclipse.m2e.core/lifecycle-mapping-metadata.xml
Lines 120 to 134 in e379405
So my question is: is this expected that goals ignored in
m2e-core
ownlifecycle-mapping-metadata.xml
appear as warnings in the editor, whereas goals ignored in maven plugins ownlifecycle-mapping-metadata.xml
do not?Also is there a way to disable those warnings?
Thanks
Vivien
The text was updated successfully, but these errors were encountered: