mirror of https://github.com/apache/maven.git
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:
parent
c6fbfedf09
commit
b7e4c62896
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue