You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:16 UTC

[jira] (MNG-2180) Allow aggregation mojos to access plugin configurations

     [ https://jira.codehaus.org/browse/MNG-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated MNG-2180:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> Allow aggregation mojos to access plugin configurations
> -------------------------------------------------------
>
>                 Key: MNG-2180
>                 URL: https://jira.codehaus.org/browse/MNG-2180
>             Project: Maven
>          Issue Type: Improvement
>          Components: Plugin API
>    Affects Versions: 2.0.3
>            Reporter: Vincent Massol
>
> Here's my use case:
> * I'm writing an aggregated report for the clover plugin. It needs to locate all children's clover databases and merge them into a single one and then generate a report out of it
> * The location of the Clover databases is stored in plugin's configuration
> * The problem is that I cannot access a plugin configuration using the plugin API
> This is a general problem. By definition any aggregation mojo needs to access configuration information from its children. Some time out of sheer luck the information the plugin needs is found in the general section of the POM. However this is very limited and forbids any use case where the configuration is stored in <plugin><configuration>.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)