maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r416677 - /maven/components/trunk/maven-meeper/src/bin/deploy-bundle
Date Fri, 23 Jun 2006 11:34:26 GMT
Author: carlos
Date: Fri Jun 23 04:34:21 2006
New Revision: 416677

URL: http://svn.apache.org/viewvc?rev=416677&view=rev
Log:
Fix check for maven2 bundles

Modified:
    maven/components/trunk/maven-meeper/src/bin/deploy-bundle

Modified: maven/components/trunk/maven-meeper/src/bin/deploy-bundle
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-meeper/src/bin/deploy-bundle?rev=416677&r1=416676&r2=416677&view=diff
==============================================================================
--- maven/components/trunk/maven-meeper/src/bin/deploy-bundle (original)
+++ maven/components/trunk/maven-meeper/src/bin/deploy-bundle Fri Jun 23 04:34:21 2006
@@ -105,7 +105,7 @@
   groupId=`echo ${groupId} | sed -e 's/ *$//'`  
   groupDir=`echo ${groupId} | sed -e 's/\./\//g'`  
 
-  maven2=`cat ${POM} | tr '\n' ' ' | sed -e 's#^.*<modelVersion>##;s#</modelVersion>.*$##'`
 
+  maven2=`cat ${POM} | grep '<modelVersion>'`
 
   echo
   if [ ! -z "${maven2}" ]



Mime
View raw message