[
https://jira.codehaus.org/browse/MNG-5564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338756#comment-338756
]
Igor Fedorenko commented on MNG-5564:
-------------------------------------
The issue is not specific to any particular maven plugin. For example, running
"mvn help:help" on the example project results in the same warning.
> Direct mojo invocation attempts to download unrelated plugins from
> pluginManagement
> -----------------------------------------------------------------------------------
>
> Key: MNG-5564
> URL: https://jira.codehaus.org/browse/MNG-5564
> Project: Maven 2 & 3
> Issue Type: Bug
> Affects Versions: 2.2.1, 3.1.1
> Reporter: Konrad Windszus
> Priority: Critical
> Attachments: pom.xml
>
>
> Attached is an example pom. Whenever you run mvn source:jar on it, it tries
> to download org.eclipse.m2e:lifecycle-mapping:1.0.0 although it is only
> listed in the pluginManagement. If using a regular goal, that dependency is
> never downloaded.
> That dependency does not exist, as it is only a way to configure m2e, so
> there is nowhere such an artifact (mentioned by Igor Fedorenko in
> http://permalink.gmane.org/gmane.comp.ide.eclipse.plugins.m2eclipse.user/6218).
> Why is the maven source plugin trying to download that artifact?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira