You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2005/10/21 20:00:32 UTC

svn commit: r327226 - /maven/components/trunk/maven-meeper/src/bin/deploy-bundle

Author: carlos
Date: Fri Oct 21 11:00:30 2005
New Revision: 327226

URL: http://svn.apache.org/viewcvs?rev=327226&view=rev
Log:
Allow bundles with pom.xml

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/viewcvs/maven/components/trunk/maven-meeper/src/bin/deploy-bundle?rev=327226&r1=327225&r2=327226&view=diff
==============================================================================
--- maven/components/trunk/maven-meeper/src/bin/deploy-bundle (original)
+++ maven/components/trunk/maven-meeper/src/bin/deploy-bundle Fri Oct 21 11:00:30 2005
@@ -31,11 +31,16 @@
   done
 
   POM=project.xml
+  if [ ! -f ${POM} ]
+  then
+    POM=pom.xml
+  fi
+
   less $POM
 
   ../d2u ${POM}
 
-  [ ! -f ${POM} ] && echo && echo "Cannot deploy without the project.xml file!" && echo && exit
+  [ ! -f ${POM} ] && echo && echo "Cannot deploy without the pom.xml or project.xml file!" && echo && exit
 
   if [ ! -z $VERSION ]
   then