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 2018/11/25 19:41:00 UTC

[jira] [Commented] (MPIR-375) add plugin excludes feature for plugin-management report

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

ASF GitHub Bot commented on MPIR-375:
-------------------------------------

belingueres opened a new pull request #7: [MPIR-375] add plugin excludes feature for plugin-management report
URL: https://github.com/apache/maven-project-info-reports-plugin/pull/7
 
 
   Added pluginManagementExcludes list parameter.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> add plugin excludes feature for plugin-management report
> --------------------------------------------------------
>
>                 Key: MPIR-375
>                 URL: https://issues.apache.org/jira/browse/MPIR-375
>             Project: Maven Project Info Reports Plugin
>          Issue Type: New Feature
>          Components: plugin-management
>    Affects Versions: 3.0.0
>            Reporter: Hervé Boutemy
>            Priority: Major
>              Labels: up-for-grabs
>
> M2E has a trick to disable warnings when some plugins are not supported by M2E: by configuring a fake org.eclipse.m2e:lifecycle-mapping plugin in pluginManagement, M2E detects and gets the configuration while nothing is executed during Maven build (see http://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html#ignore-plugin-goal)
> But during reporting, this fake/inexistent plugin is downloaded and an annoying failure is shown as error:
> {noformat}[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:3.0.0:plugin-management
> [INFO] Could not build project for: lifecycle-mapping:Error resolving project artifact: Failure to find org.eclipse.m2e:lifecycle-mapping:pom:1.0.0 in https://repo.maven.apache.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced for project org.eclipse.m2e:lifecycle-mapping:pom:1.0.0{noformat}
> with 3 level of nested stacktrace (not shown here for brevity)
> it would be useful to be able to exclude this fake plugin from the MPIR report, then avoid this nasty error



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)