Add a note about ITs requiring maven snapshots (#314)

This commit is contained in:
Guillaume Nodet 2023-10-19 14:42:17 +02:00 committed by GitHub
parent 6a83ac6c29
commit 40acbf6de1
2 changed files with 9 additions and 2 deletions

View File

@ -19,6 +19,11 @@
@REM How JvZ runs the ITs from a clean slate if it would be on Windows @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 mvn clean install -U -Prun-its,embedded -Dmaven.repo.local=%cd%\repo
@REM If behind a proxy try this.. @REM If behind a proxy try this..

View File

@ -22,8 +22,10 @@
# How I run the ITs from a clean slate. Though I do this with a primed Nexus instance. JvZ. # How I run the ITs from a clean slate. Though I do this with a primed Nexus instance. JvZ.
# build maven core using -PversionlessMavenDist # build maven core using -PversionlessMavenDist
# For Jdk 7 use with -Dhttps.protocols=TLSv1.2 # In rare occasions, some ITs may depend on latest maven snapshots.
# mvn clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo -Dhttps.protocols=TLSv1.2 # 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 mvn clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo