You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamás Cservenák (Jira)" <ji...@apache.org> on 2022/01/26 14:25:00 UTC

[jira] [Updated] (MPLUGIN-388) Make reporting optional dependency

     [ https://issues.apache.org/jira/browse/MPLUGIN-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamás Cservenák updated MPLUGIN-388:
------------------------------------
    Description: 
Current m-p-p is far from being "lightweight", mostly due maven-reporting-impl being pulled in (that pulls in doxia, http-client and almost whole universe), and all this due one single mojo, the {{report}} mojo (org.apache.maven.plugin.plugin.PluginReport), and all these dependencies are needed ONLY when mojo directly invoked (ie. {{{}mvn m-p-p:report{}}}), as when used as part of site, all these are provided by site plugin.

Make this dependency optional. This implies, that users of this release using report mojo "standalone" MUST ADD maven-reporting-impl:3.0.0 as dependency to m-p-p plugin as plugin dependency.

  was:
Current m-p-p is far from being "lightweight", mostly due maven-reporting-impl being pulled in (that pulls in doxia, http-client and almost whole universe), and all this due one single mojo, the {{report}} mojo (org.apache.maven.plugin.plugin.PluginReport), and all these dependencies are needed ONLY when mojo directly invoked (ie. {{{}mvn m-p-p:report{}}}), as when used as part of site, all these are provided by site plugin.

Make this dependency optional. This implies, that users of this release MUST ADD maven-reporting-impl:3.0.0 as dependency to m-p-p plugin as plugin dependency.


> Make reporting optional dependency
> ----------------------------------
>
>                 Key: MPLUGIN-388
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-388
>             Project: Maven Plugin Tools
>          Issue Type: Task
>          Components: Plugin Plugin
>            Reporter: Tamás Cservenák
>            Priority: Major
>             Fix For: 3.7.0
>
>
> Current m-p-p is far from being "lightweight", mostly due maven-reporting-impl being pulled in (that pulls in doxia, http-client and almost whole universe), and all this due one single mojo, the {{report}} mojo (org.apache.maven.plugin.plugin.PluginReport), and all these dependencies are needed ONLY when mojo directly invoked (ie. {{{}mvn m-p-p:report{}}}), as when used as part of site, all these are provided by site plugin.
> Make this dependency optional. This implies, that users of this release using report mojo "standalone" MUST ADD maven-reporting-impl:3.0.0 as dependency to m-p-p plugin as plugin dependency.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)