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

John Casey updated MNG-2125:
----------------------------

    Fix Version: 2.0.5

> [doc] when and how to define plugins in a pom
> ---------------------------------------------
>
>          Key: MNG-2125
>          URL: http://jira.codehaus.org/browse/MNG-2125
>      Project: Maven 2
>         Type: Improvement

>   Components: POM, Plugins and Lifecycle, Documentation: Faqs, Design, 
> Patterns & Best Practices
>     Reporter: Brett Porter
>      Fix For: 2.0.5

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