o taking into account the common case where configuration is specified for many goal in a single configuration element which needs to be accounted for.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@771297 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-05-04 13:09:06 +00:00
parent c3c878fa94
commit bdc2d8c7e3
1 changed files with 2 additions and 0 deletions

View File

@ -213,3 +213,5 @@ foreach configuration element:
- we need to know what came from the POM, and validate those
- plugin in any default values
- check to see if anything is missing
In the case of something like Modello where it is common to specify the configuration for all the goals outside the execution block we need to account for creating the right configuration element which includes only those configuration elements for a particular goal that that particular goal understands. We need to walk through the parameters of the Mojo in question and only take the configuration options that apply.