Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2180

Allow aggregation mojos to access plugin configurations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.0.3
    • None
    • Plugin API
    • None

    Description

      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>.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmassol Vincent Massol
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: