Exclude all pom.xml files that are archetype resources in version.sh

The versions in the pom.xml files that are archetype resources should
not be modified by the tools/version.sh script.

Change-Id: I47d6af01c56ddb7a92bc0cf27bedb2bcba5a5d5a
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin 2012-12-06 17:32:11 +01:00
parent 2009d58cb7
commit 2ca5ef7edb

View File

@ -6,7 +6,7 @@
# Java based Maven plugin so its fully portable.
#
POM_FILES=$(git ls-files | grep pom.xml | grep -v gerrit-plugin-archetype/src/main/resources/archetype-resources/pom.xml)
POM_FILES=$(git ls-files | grep pom.xml | grep -v /src/main/resources/archetype-resources/pom.xml)
case "$1" in
--snapshot=*)