diff --git a/its/run-its.bat b/its/run-its.bat index a65e646dcc..abc501b04c 100644 --- a/its/run-its.bat +++ b/its/run-its.bat @@ -34,7 +34,7 @@ CALL :maven && CALL :maven-integration-testing :: ========== FUNCTIONS ========== :maven - CALL mvn verify -DdistributionFileName=${project.artifactId} -f "%_MAVENCODEBASE%" || exit /B + CALL mvn clean verify -DdistributionFileName=${project.artifactId} -f "%_MAVENCODEBASE%" || exit /B :maven-integration-testing CALL mvn clean install -Prun-its,embedded -Dmaven.repo.local="%cd%\repo" -DmavenDistro="%_MAVENCODEBASE%\apache-maven\target\apache-maven-bin.zip" -DwrapperDistroDir="%_MAVENCODEBASE%\apache-maven\target" -DmavenWrapper="%_MAVENCODEBASE%\maven-wrapper\target\maven-wrapper.jar" || exit /B diff --git a/its/run-its.sh b/its/run-its.sh index 5f84d2d7ad..028c39a971 100755 --- a/its/run-its.sh +++ b/its/run-its.sh @@ -29,7 +29,7 @@ else /*) ;; *) MAVENCODEBASE="$PWD/$MAVENCODEBASE" ;; esac - mvn verify -P versionlessMavenDist -f "$MAVENCODEBASE" || exit $? + mvn clean verify -P versionlessMavenDist -f "$MAVENCODEBASE" || exit $? mvn clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo -DmavenDistro="$MAVENCODEBASE/apache-maven/target/apache-maven-bin.zip" -DwrapperDistroDir="$MAVENCODEBASE/apache-maven/target" -DmavenWrapper="$MAVENCODEBASE/maven-wrapper/target/maven-wrapper.jar" fi