Allow poms ending in .pom

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@375668 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2006-02-07 19:31:46 +00:00
parent cc507307b8
commit c78a0a8167
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ echo $BUNDLE
then
POM=pom.xml
fi
if [ ! -f ${POM} ]
then
POM=`find . -iname *.pom`
fi
[ ! -f ${POM} ] && echo && echo "Cannot deploy without the pom.xml or project.xml file!" && echo && exit