mirror of
https://github.com/apache/maven.git
synced 2025-03-04 07:39:36 +00:00
Don't fail if license is not present
PR: MRM-65 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@373639 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
016c8e31b5
commit
3d2897c680
@ -98,16 +98,16 @@ echo $BUNDLE
|
||||
|
||||
# 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
|
||||
if [ ! -f $LIC ]
|
||||
then
|
||||
../d2u $LIC
|
||||
mkdir -p $REPODIR/${groupId}/licenses
|
||||
cp -i $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license
|
||||
fi
|
||||
|
||||
cp ${POM} ${artifactId}-${version}.pom
|
||||
|
||||
../d2u $LIC
|
||||
|
||||
mkdir -p $REPODIR/${groupId}/licenses
|
||||
cp -i $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license
|
||||
|
||||
mkdir -p $REPODIR/${groupId}/poms
|
||||
cp -i ${artifactId}-${version}.pom $REPODIR/${groupId}/poms
|
||||
|
Loading…
x
Reference in New Issue
Block a user