From 1385a661a634a48cbbe70050e6c616be7e08a119 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Mon, 8 Mar 2004 00:44:10 +0000 Subject: [PATCH] o making the download of dependencies silent o install the dependencies of mboot during the install git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162572 13f79535-47bb-0310-9956-ffa450edef68 --- maven-mboot/src/bash/deps | 3 +++ maven-mboot/src/bash/maven.functions | 4 ++-- maven-mboot/src/sea/sea-header | 8 ++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/maven-mboot/src/bash/deps b/maven-mboot/src/bash/deps index 54e9ee0be7..61c301fa72 100644 --- a/maven-mboot/src/bash/deps +++ b/maven-mboot/src/bash/deps @@ -1,3 +1,6 @@ junit/jars/junit-3.8.1.jar surefire/jars/surefire-booter-1.0.jar surefire/jars/surefire-1.0.jar +modello/jars/modello-1.0-SNAPSHOT.jar +xpp3/jars/xpp3-1.1.3.3.jar +xstream/jars/xstream-1.0-SNAPSHOT.jar diff --git a/maven-mboot/src/bash/maven.functions b/maven-mboot/src/bash/maven.functions index 7200949691..187ee60e18 100755 --- a/maven-mboot/src/bash/maven.functions +++ b/maven-mboot/src/bash/maven.functions @@ -14,7 +14,7 @@ downloadMBootDependencies() if [ ! -f $repoLocal/$i ] then mkdir -p $repoLocal/$i > /dev/null 2>&1 - wget http://www.ibiblio.org/maven/$i $repoLocal/$i + wget http://www.ibiblio.org/maven/$i $repoLocal/$i > /dev/null 2>&1 fi done } @@ -160,7 +160,7 @@ buildMavenProject() # $2 == jar name # $3 == flag to install # $4 == flag to leave mboot files - + ( home=`pwd` diff --git a/maven-mboot/src/sea/sea-header b/maven-mboot/src/sea/sea-header index 5273c4e062..adfdd2e01c 100644 --- a/maven-mboot/src/sea/sea-header +++ b/maven-mboot/src/sea/sea-header @@ -42,6 +42,14 @@ tail +$SKIP $0 | tar xz -C $DIR #cd $PREV #rm -rf $WORK_DIR +. ${MBOOT_HOME}/maven.functions + +echo "-------------------------------------------------------" +echo "Installing MBoot dependencies ... " +echo "-------------------------------------------------------" + +downloadMBootDependencies + exit 0 __ARCHIVE_FOLLOWS__