You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2021/01/23 20:45:01 UTC

[maven-integration-testing] branch master updated: Clean to avoid stale files

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git


The following commit(s) were added to refs/heads/master by this push:
     new 800f83b  Clean to avoid stale files
800f83b is described below

commit 800f83b2fab7ca9b78b10c17927c3821bc4e8544
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Jan 23 21:44:53 2021 +0100

    Clean to avoid stale files
---
 run-its.bat | 2 +-
 run-its.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/run-its.bat b/run-its.bat
index a65e646..abc501b 100644
--- a/run-its.bat
+++ b/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/run-its.sh b/run-its.sh
index 5f84d2d..028c39a 100755
--- a/run-its.sh
+++ b/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