diff --git a/m2-bootstrap-all.bat b/m2-bootstrap-all.bat index 22d23a1e5a..1f05ec68c1 100644 --- a/m2-bootstrap-all.bat +++ b/m2-bootstrap-all.bat @@ -112,6 +112,11 @@ cd .. %MAVEN_JAVA_EXE% %MAVEN_CMD_LINE_ARGS% -jar mboot.jar +echo Running integration tests +cd maven-core-it +call maven-core-it +cd .. + :end @REM set local scope for the variables with windows NT shell if "%OS%"=="Windows_NT" goto endNT diff --git a/maven-core-it/maven-core-it.bat b/maven-core-it/maven-core-it.bat new file mode 100755 index 0000000000..34ab25864c --- /dev/null +++ b/maven-core-it/maven-core-it.bat @@ -0,0 +1,24 @@ +@REM ---------------------------------------------------------------------------- +@REM Copyright 2001-2004 The Apache Software Foundation. +@REM +@REM Licensed under the Apache License, Version 2.0 (the "License"); +@REM you may not use this file except in compliance with the License. +@REM You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, software +@REM distributed under the License is distributed on an "AS IS" BASIS, +@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@REM See the License for the specific language governing permissions and +@REM limitations under the License. +@REM ---------------------------------------------------------------------------- +@REM + +@ECHO OFF +@REM This process assumes that maven-core-it-verifier has been built. +@REM NOTE: for simplicity, only Windows NT/2000/XP is current supported +@REM This also assumes that M2_HOME and JAVA_HOME are set, which are verified in the bootstrap script only + +%JAVA_HOME%\bin\java.exe %* -Dmaven.home=%M2_HOME% -cp "..\maven-core-it-verifier\target\maven-core-it-verifier-1.0.jar" org.apache.maven.it.Verifier +