mirror of https://github.com/apache/maven.git
script to run the whole shebang
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d72ecbec20
commit
9e58b1685f
|
@ -0,0 +1,42 @@
|
|||
#!/bin/sh
|
||||
|
||||
# To run this script on your machine you must set:
|
||||
#
|
||||
# MBOOT_HOME
|
||||
# PATH=$PATH:$MBOOT_HOME/bin
|
||||
# MAVEN_HOME
|
||||
# PATH=$PATH:$MAVEN_HOME/bin
|
||||
|
||||
DIR=maven2
|
||||
REPO=maven-repo-local
|
||||
|
||||
rm -rf $DIR > /dev/null 2>&1
|
||||
rm -rf $REPO > /dev/null 2>&1
|
||||
mkdir $DIR
|
||||
mkdir $REPO
|
||||
|
||||
DATE=`date`
|
||||
echo "From: jvanzyl@maven.org" > log
|
||||
echo "To: maven2-user@lists.codehaus.org" >> log
|
||||
echo "Subject: Maven bootstrap on beaver [$DATE]" >> log
|
||||
echo "" >> log
|
||||
|
||||
(
|
||||
(
|
||||
cd $DIR
|
||||
|
||||
export CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
|
||||
|
||||
echo "Checking out maven-components ..."
|
||||
|
||||
cvs co maven-components > checkout.log 2>&1
|
||||
)
|
||||
|
||||
(
|
||||
cd $DIR/maven-components/maven-core
|
||||
|
||||
./bootstrap-all.sh
|
||||
)
|
||||
) >> log 2>&1
|
||||
|
||||
sendmail -t < log
|
Loading…
Reference in New Issue