mirror of https://github.com/apache/maven.git
The bootstrap script is now visible from root directory.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162900 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
efe96463b6
commit
fbaa75cd21
2
ci.sh
2
ci.sh
|
@ -115,7 +115,7 @@ export CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
|
|||
echo
|
||||
|
||||
(
|
||||
cd $DIR/maven-components/maven-core
|
||||
cd $DIR/maven-components
|
||||
|
||||
./m2-bootstrap-all.sh
|
||||
)
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
@echo off
|
||||
|
||||
cd maven-mboot2
|
||||
|
||||
call .\build
|
||||
|
||||
cd ..
|
||||
|
||||
%JAVA_HOME%\bin\java -jar mboot.jar
|
|
@ -0,0 +1,36 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Check to make sure JAVA_HOME is set
|
||||
[ -z $JAVA_HOME ] && echo && echo 'You must set $JAVA_HOME to use mboot!' && echo && exit 1
|
||||
|
||||
# Build and install mboot
|
||||
(
|
||||
echo "-----------------------------------------------------------------------"
|
||||
echo " Building mboot ... "
|
||||
echo "-----------------------------------------------------------------------"
|
||||
|
||||
cd ./maven-mboot2
|
||||
./build
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
)
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
|
||||
(
|
||||
echo "-----------------------------------------------------------------------"
|
||||
echo " Building maven2 components ... "
|
||||
echo "-----------------------------------------------------------------------"
|
||||
|
||||
$JAVA_HOME/bin/java -jar mboot.jar
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
)
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
|
||||
(
|
||||
cd ./maven-core-it
|
||||
echo
|
||||
echo "Running maven-core integration tests ..."
|
||||
echo
|
||||
./maven-core-it.sh
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
||||
)
|
||||
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
|
Loading…
Reference in New Issue