use mvn instead of m2

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-10-31 16:37:09 +00:00
parent e775bac14d
commit 47727cdc50
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ echo Rebuilding maven2 plugins
echo ----------------------------------------------------------------------- echo -----------------------------------------------------------------------
cd maven-plugins cd maven-plugins
@REM update the release info to ensure these versions get used in the integration tests @REM update the release info to ensure these versions get used in the integration tests
call m2 --no-plugin-registry --batch-mode -DupdateReleaseInfo=true -e %MAVEN_CMD_LINE_ARGS% clean:clean install call mvn --no-plugin-registry --batch-mode -DupdateReleaseInfo=true -e %MAVEN_CMD_LINE_ARGS% clean:clean install
cd .. cd ..
echo echo

View File

@ -58,13 +58,13 @@ echo "-----------------------------------------------------------------------"
# Build plugin plugin first, it seems to choke on the version built by the bootstrap # Build plugin plugin first, it seems to choke on the version built by the bootstrap
cd maven-plugins/maven-plugin-plugin cd maven-plugins/maven-plugin-plugin
m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean install mvn --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean install
) )
( (
cd maven-plugins cd maven-plugins
# update the release info to ensure these versions get used in the integration tests # update the release info to ensure these versions get used in the integration tests
m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean install mvn --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean install
ret=$?; if [ $ret != 0 ]; then exit $ret; fi ret=$?; if [ $ret != 0 ]; then exit $ret; fi
) )
ret=$?; if [ $ret != 0 ]; then exit $ret; fi ret=$?; if [ $ret != 0 ]; then exit $ret; fi