mirror of https://github.com/apache/maven.git
Create ~/maven.properties if it doesn't exists.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162904 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c9a71e624
commit
981a6cbfd0
12
ci.sh
12
ci.sh
|
@ -38,6 +38,18 @@ TIMESTAMP=`date +%Y%M%d.%H%M%S`
|
|||
DEPLOY_DIR=$HOME_DIR/public_html/m2
|
||||
DEPLOY_SITE=http://www.codehaus.org/~jvanzyl/m2
|
||||
|
||||
# ----------------------------------------------------------------------------------
|
||||
# Check if ~/maven.properties exists
|
||||
# ----------------------------------------------------------------------------------
|
||||
if [ ! -f ~/maven.properties ]
|
||||
then
|
||||
echo
|
||||
echo "maven.properties doesn't exists. I create it."
|
||||
echo "maven.home=$M2_HOME" > ~/maven.properties
|
||||
echo "maven.repo.local=$REPO" >> ~/maven.properties
|
||||
echo
|
||||
fi
|
||||
|
||||
# ----------------------------------------------------------------------------------
|
||||
|
||||
# Wipe out the working directory and the repository and start entirely
|
||||
|
|
Loading…
Reference in New Issue