diff --git a/samples/standalone/runMavenTests.sh b/samples/standalone/runMavenTests.sh index 0ccfa7dca1..5b174f8b52 100755 --- a/samples/standalone/runMavenTests.sh +++ b/samples/standalone/runMavenTests.sh @@ -14,6 +14,7 @@ EOF echo -e "\n\nClearing saved stubs" rm -rf $LOCAL_MAVEN_REPO/repository/org/springframework/cloud/contract/testprojects/ +rm -rf $LOCAL_MAVEN_REPO/repository/com/example echo -e "\n\nRunning tests for Maven (HTTP communication)\n\n" echo -e "Building server (uses Spring Cloud Contract Verifier Maven Plugin)" diff --git a/samples/standalone/runTests.sh b/samples/standalone/runTests.sh index 1fe1c52082..5e9ebe79d5 100755 --- a/samples/standalone/runTests.sh +++ b/samples/standalone/runTests.sh @@ -14,6 +14,7 @@ EOF echo -e "\n\nClearing saved stubs" rm -rf $LOCAL_MAVEN_REPO/repository/org/springframework/cloud/contract/testprojects/ +rm -rf $LOCAL_MAVEN_REPO/repository/com/example echo -e "\n\nRunning tests for Gradle (HTTP communication)\n\n" echo -e "Building server (uses Spring Cloud Contract Verifier Gradle Plugin)"