commit 9ca67432bc43836d341c2fdea02c3839bc2ae74e
Author: Michael Simacek <msimacek(a)redhat.com>
Date: Sun Jan 5 02:05:18 2014 +0100
[macros] minor fixes in macro comments
etc/macros.fjava | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/etc/macros.fjava b/etc/macros.fjava
index 04180cc..3485eea 100644
--- a/etc/macros.fjava
+++ b/etc/macros.fjava
@@ -183,7 +183,7 @@ sort -u -o ${_filelist} ${_filelist} \
#
# Usage: %pom_xpath_inject <XPath> [XML code] [POM location]
#
-# This macro patches specified POM file appending some code as childreen of all
+# This macro patches specified POM file appending some code as children of all
# XML nodes described by the XPath expression.
#
# XPath is an expression describing a set of XML nodes in the POM file to which
@@ -251,11 +251,6 @@ sort -u -o ${_filelist} ${_filelist} \
# directory containing pom.xml. If POM location is not given then pom.xml from
# current working directory is used.
#
-# Note: If specified POM has already a reference to parent POM this macro will
-# not alter or remove it. Instead a second reference will be added. This is
-# usually not the expected behavior, so if you want to replace existing parent
-# POM reference, consider using %pom_set_parent macro instead.
-#
%pom_add_parent() %{expand: %{__pom_call}add_parent %*
}
@@ -303,7 +298,7 @@ sort -u -o ${_filelist} ${_filelist} \
# <dependencyManagement>.
#
# groupId and artifactId are identifiers of Maven artifact on which dependency
-# is to be added.. They must be specified. If version is not specified then
+# is to be added. They must be specified. If version is not specified then
# default value of "any" is used. If scope is not specified then no scope is
# defined (Maven defaults to "compile" in this case).
#
Show replies by date