You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2008/04/08 23:20:58 UTC

[jira] Updated: (MNG-3508) Allow 'once' configuration item on plugin execution

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

Brian Fox updated MNG-3508:
---------------------------

    Fix Version/s: 2.1

http://docs.codehaus.org/display/MAVEN/Atypical+Plugin+Use+Cases

> Allow 'once' configuration item on plugin execution
> ---------------------------------------------------
>
>                 Key: MNG-3508
>                 URL: http://jira.codehaus.org/browse/MNG-3508
>             Project: Maven 2
>          Issue Type: New Feature
>            Reporter: Ittay Dror
>             Fix For: 2.1
>
>
> Scenario:
> - parent pom defines modules A, B 
> - it also defines a plugin with some execution
> - when it runs, the plugin runs 3 times (for parent, A, B)
> Now, I can set 'inherited' to false, but then if I just run 'A', the plugin won't execute. 
> What I'd like is to be able to configure the execution to run 'once' in the lifecycle. This is useful mainly for plugins that do some kind of setup, initialization or validation, which in many cases need to be done once per execution.

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