mirror of https://github.com/apache/maven.git
Fix check for maven2 bundles
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@416677 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a0667fca74
commit
fbf6fdf986
|
@ -105,7 +105,7 @@ BUNDLE=tmp.jar
|
||||||
groupId=`echo ${groupId} | sed -e 's/ *$//'`
|
groupId=`echo ${groupId} | sed -e 's/ *$//'`
|
||||||
groupDir=`echo ${groupId} | sed -e 's/\./\//g'`
|
groupDir=`echo ${groupId} | sed -e 's/\./\//g'`
|
||||||
|
|
||||||
maven2=`cat ${POM} | tr '\n' ' ' | sed -e 's#^.*<modelVersion>##;s#</modelVersion>.*$##'`
|
maven2=`cat ${POM} | grep '<modelVersion>'`
|
||||||
|
|
||||||
echo
|
echo
|
||||||
if [ ! -z "${maven2}" ]
|
if [ ! -z "${maven2}" ]
|
||||||
|
|
Loading…
Reference in New Issue