mirror of https://github.com/apache/maven.git
Clean to avoid stale files
This commit is contained in:
parent
b46310ef89
commit
a5ea1640e0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue