[ http://jira.codehaus.org/browse/MNG-2180?page=comments#action_62134 ] 

Milos Kleint commented on MNG-2180:
-----------------------------------

another usecase is the IDE integration where I need to check the location of 
generated sources for example. or I need to figure out the version of the javac 
that is used by the compiler plugin..etc..
 

> Allow aggregation mojos to access plugin configurations
> -------------------------------------------------------
>
>          Key: MNG-2180
>          URL: http://jira.codehaus.org/browse/MNG-2180
>      Project: Maven 2
>         Type: Improvement

>   Components: Plugin API
>     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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to