Jason van Zyl f9404ad2f6 o using wget for the initial build to grab the things required by mboot
itself which are junit and surefire.

o added a little deps file for use in the bash functions.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162555 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 05:28:06 +00:00

34 lines
521 B
Bash
Executable File

#!/bin/sh
rm -rf target > /dev/null 2>&1
. src/bash/maven.functions
downloadMBootDependencies
createMBootClasspath
compile ".:$MBOOT_CP" target/classes src/main
isCommandSuccessful $? "Failed compiling Maven bootstrapper classes!"
DIST=target/mboot
mkdir -p $DIST
cp -r target/classes $DIST
cp src/bash/* $DIST
(
cd target/mboot
tar cvzf ../mboot.tar.gz *
)
cat src/sea/sea-header target/mboot.tar.gz > target/mboot-install.sh
chmod +x target/mboot-install.sh
rm -f bootstrap.repo > /dev/null 2>&1