You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by si...@apache.org on 2009/01/22 05:14:27 UTC

svn commit: r736554 - in /maven/components/trunk: maven-project-spec.pdf maven-project-spec.tex

Author: sisbell
Date: Wed Jan 21 20:14:27 2009
New Revision: 736554

URL: http://svn.apache.org/viewvc?rev=736554&view=rev
Log:
MNG-3964: Execution ID rules added to spec.

Modified:
    maven/components/trunk/maven-project-spec.pdf
    maven/components/trunk/maven-project-spec.tex

Modified: maven/components/trunk/maven-project-spec.pdf
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project-spec.pdf?rev=736554&r1=736553&r2=736554&view=diff
==============================================================================
Binary files - no diff available.

Modified: maven/components/trunk/maven-project-spec.tex
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project-spec.tex?rev=736554&r1=736553&r2=736554&view=diff
==============================================================================
--- maven/components/trunk/maven-project-spec.tex (original)
+++ maven/components/trunk/maven-project-spec.tex Wed Jan 21 20:14:27 2009
@@ -312,6 +312,17 @@
 \subsubsection{Rules}
 If an id exists in both the parent and child pom and the ids are equal, then join the nodes, otherwise inherit the node. 
 
+\subsubsection{Plugin Execution ID Rules}
+If a Plugin Model Container is joined by ID, the following rules apply:
+
+\begin{enumerate}
+\item Can not have two or more execution elements lacking an ID.
+\item If default-execution-id is explicitly defined as the execution id, it is treated as not having an id for purposes of the above rule.
+\item Project.Build.Plugins.Plugin.Executions.Execution.Goals is always joined on an execution id match. Duplicate goals are removed.
+\end{enumerate}
+
+The above rules also apply to joining with a pluginManagement node.
+
 \subsection{Plugin Configuration Inheritance}
 Plugin nodes are treated as a set. If a child pom contains the same element as a parent pom, then the parent pom element will not be inherited/joined unless the child element contains a property combine.children="append". In this case, it will treat the element as a collection.