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
This commit is contained in:
Jason van Zyl 2004-05-12 15:26:25 +00:00
parent c6fbfedf09
commit b7e4c62896
1 changed files with 9 additions and 3 deletions

View File

@ -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}