You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2020/10/18 15:54:18 UTC
[maven-site] branch master updated: move to sub-list for executions
elements
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new 3f42fd4 move to sub-list for executions elements
3f42fd4 is described below
commit 3f42fd492598505b5c01ab7c3ae9dc2eaa2ff87b
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Oct 18 17:54:14 2020 +0200
move to sub-list for executions elements
---
content/apt/pom.apt | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/content/apt/pom.apt b/content/apt/pom.apt
index 672ff5b..2e2a10b 100644
--- a/content/apt/pom.apt
+++ b/content/apt/pom.apt
@@ -1155,10 +1155,8 @@ Display parameters as parsed by Maven (in canonical form) and comparison result:
subject to the default merge strategy unless they were themselves
marked with attributes.
- The combine.* attributes are inherited from parent to child POMs.
- Take care when adding those attributes to
- a parent POM as this might affect child or
- grand-child POMs.
+ The <<<combine.*>>> attributes are inherited from parent to child POMs.
+ Take care when adding those attributes to a parent POM as this might affect child or grand-child POMs.
* <<dependencies>>:
Dependencies are seen a lot within the POM, and are an element under all plugins element blocks.
@@ -1210,24 +1208,24 @@ Display parameters as parsed by Maven (in canonical form) and comparison result:
</project>
+------------------------------------------+
- * <<id>>:
+ * <<id>>:
Self explanatory. It specifies this execution block between all of the others. When the phase is run,
it will be shown in the form: <<<[plugin:goal {execution: id}]>>>. In the case of this example:
<<<[antrun:run {execution: echodir}]>>>
- * <<goals>>:
+ * <<goals>>:
Like all pluralized POM elements, this contains a list of singular elements. In this case, a list
of plugin <<<goals>>> which are being specified by this <<<execution>>> block.
- * <<phase>>:
+ * <<phase>>:
This is the phase that the list of goals will execute in. This is a very powerful option, allowing one to bind
any goal to any phase in the build lifecycle, altering the default behavior of Maven.
- * <<inherited>>:
+ * <<inherited>>:
Like the <<<inherited>>> element above, setting this to false will suppress Maven from passing this execution
onto its children. This element is only meaningful to parent POMs.
- * <<configuration>>:
+ * <<configuration>>:
Same as above, but confines the configuration to this specific list of goals, rather than all goals
under the plugin.