mirror of
https://github.com/apache/maven.git
synced 2025-02-07 02:29:10 +00:00
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162640 13f79535-47bb-0310-9956-ffa450edef68
34 lines
538 B
Bash
Executable File
34 lines
538 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 > /dev/null 2>&1
|
|
|
|
(
|
|
cd target/mboot
|
|
|
|
tar czf ../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
|