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

Benjamin Bentmann closed MNG-4342.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 3.0-alpha-3

Fixed in [r812869|http://svn.apache.org/viewvc?view=rev&revision=812869].

> [regression] Multiple goals within single execution with equally named 
> parameter get configured with wrong default values
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4342
>                 URL: http://jira.codehaus.org/browse/MNG-4342
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 3.0-alpha-3
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-alpha-3
>
>
> Take this example snippet:
> {code:xml}
> <plugin>
>   <artifactId>maven-plugin-plugin</artifactId>
>   <version>2.5</version>
>   <executions>
>     <execution>
>       <phase>initialize</phase>
>       <goals>
>         <!-- NOTE: Both of these goals have an "outputDirectory" parameter 
> but with different default values -->
>         <goal>helpmojo</goal>
>         <goal>descriptor</goal>
>       </goals>
>     </execution>
>   </executions>
> </plugin>
> {code}
> When running this with trunk, both mojos get configured with the same value 
> for their {{outputDirectory}} parameter, i.e. the default value for one mojo 
> pollutes the configuration of the other mojo such that one ends up with
> {noformat}
> target/generated-sources/plugin/HelpMojo.java
> target/generated-sources/plugin/plugin.xml      <- this should have been 
> generated in target/classes/META-INF/maven
> {noformat}

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