From b7e4c6289626640aa3aecb59757bdbdf2e9bf5cc Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Wed, 12 May 2004 15:26:25 +0000 Subject: [PATCH] o add a little help for those creating upload bundles manually. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162700 13f79535-47bb-0310-9956-ffa450edef68 --- maven-meeper/src/bin/deploy-bundle | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/maven-meeper/src/bin/deploy-bundle b/maven-meeper/src/bin/deploy-bundle index c2906b5291..42bcd1a6d2 100755 --- a/maven-meeper/src/bin/deploy-bundle +++ b/maven-meeper/src/bin/deploy-bundle @@ -58,13 +58,19 @@ cp $BUNDLE $WORKDIR echo "artifactId: [${artifactId}]" echo - [ ! -f LICENSE.txt ] && echo && echo "Cannot deploy without the LICENSE.txt file!" && echo && exit + LIC=LICENSE.txt + + # A little help for manually created upload bundles + [ -f license.txt ] && mv license.txt $LIC + [ -f licence.txt ] && mv licence.txt $LIC + + [ ! -f $LIC ] && echo && echo "Cannot deploy without the $LIC file!" && echo && exit cp project.xml ${artifactId}-${version}.pom - ../d2u LICENSE.txt + ../d2u $LIC - ../deploy-lic LICENSE.txt ${groupId} + ../deploy-lic $LIC ${groupId} ../deploy-pom ${artifactId}-${version}.pom ${groupId}