diff --git a/its/run-its.bat b/its/run-its.bat index 4b73810400..14810407bf 100644 --- a/its/run-its.bat +++ b/its/run-its.bat @@ -19,6 +19,11 @@ @REM How JvZ runs the ITs from a clean slate if it would be on Windows +@REM In rare occasions, some ITs may depend on latest maven snapshots. +@REM In such cases you need to: +@REM - build maven using `mvn install -PversionlessMavenDist -Dmaven.repo.local=[my-repo-local]` +@REM - run ITs using `mvn clean install -Prun-its,embedded -Dmaven.repo.local=[my-repo-local] -DmavenDistro=[maven-source-tree]/apache-maven/target/maven-bin.zip` + mvn clean install -U -Prun-its,embedded -Dmaven.repo.local=%cd%\repo @REM If behind a proxy try this.. diff --git a/its/run-its.sh b/its/run-its.sh index c438cbb5b0..6fc3ec6bfc 100755 --- a/its/run-its.sh +++ b/its/run-its.sh @@ -22,8 +22,10 @@ # How I run the ITs from a clean slate. Though I do this with a primed Nexus instance. JvZ. # build maven core using -PversionlessMavenDist -# For Jdk 7 use with -Dhttps.protocols=TLSv1.2 -# mvn clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo -Dhttps.protocols=TLSv1.2 +# In rare occasions, some ITs may depend on latest maven snapshots. +# In such cases you need to: +# - build maven using `mvn install -PversionlessMavenDist -Dmaven.repo.local=[my-repo-local]` +# - run ITs using `mvn clean install -Prun-its,embedded -Dmaven.repo.local=[my-repo-local] -DmavenDistro=[maven-source-tree]/apache-maven/target/maven-bin.zip` mvn clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo