History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: MNG-2180
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Vincent Massol
Votes: 2
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven 2

Allow aggregation mojos to access plugin configurations

Created: 27/Mar/06 01:30 AM   Updated: 11/Jan/07 01:58 AM
Component/s: Plugin API
Affects Version/s: 2.0.3
Fix Version/s: 3.0

Time Tracking:
Not Specified

Complexity: Intermediate


 Description  « Hide
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>.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Milos Kleint - 27/Mar/06 11:46 PM
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..