You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/03/06 16:11:23 UTC

[jira] Created: (MNG-2125) [doc] when and how to define plugins in a pom

[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


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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org