[ http://jira.codehaus.org/browse/MNG-2125?page=all ]

Kenney Westerhof updated MNG-2125:
----------------------------------

    Fix Version/s:     (was: 2.0.5)
                   2.0.6

> [doc] when and how to define plugins in a pom
> ---------------------------------------------
>
>                 Key: MNG-2125
>                 URL: http://jira.codehaus.org/browse/MNG-2125
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: POM, Plugins and Lifecycle, Design, Patterns & Best 
> Practices, Documentation: Faqs
>            Reporter: Brett Porter
>             Fix For: 2.0.6
>
>
> some simple rules to document
> 1) define lifecycle per packaging, according to default behaviour
> 2) if a project needs to add a mojo, use <execution/> + <phase/> (if needed)
> 3) if a project needs to remove a mojo, make mojo configurable such that
> it can be skipped via POM configuration
> 4) if there is a pattern in common for adjusting lifecycle for several
> projects, define a new packaging

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