From 1e826eae95fd6f5b8b4135687dc3cd07665244bf Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Mon, 27 Jan 2025 17:05:44 +0100 Subject: [PATCH] Disable kubernetes-service-binding testing on Windows It uses symlinks and they are complex to allow on Windows. Let's not ask our users to go do crazy things to test this particular module. Fixes #45860 Related to #42756 --- CONTRIBUTING.md | 1 - .../runtime/pom.xml | 50 +++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3fdd79b643051..75656f18ec945 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -252,7 +252,6 @@ If you have not done so on this machine, you need to: * Windows: * enable longpaths: `git config --global core.longpaths true` * avoid CRLF breaks: `git config --global core.autocrlf false` - * enable symlinks: `git config --global core.symlinks true` * Install Java SDK 17+ (OpenJDK recommended) * Install [GraalVM](https://quarkus.io/guides/building-native-image) * Install platform C developer tools: diff --git a/extensions/kubernetes-service-binding/runtime/pom.xml b/extensions/kubernetes-service-binding/runtime/pom.xml index bfbaf1d045e8a..fcb6283056199 100644 --- a/extensions/kubernetes-service-binding/runtime/pom.xml +++ b/extensions/kubernetes-service-binding/runtime/pom.xml @@ -67,5 +67,55 @@ + + + disable-test-compile-on-windows + + + windows + + + + + + maven-compiler-plugin + + + default-testCompile + test-compile + + testCompile + + + true + + + + + + maven-resources-plugin + + + default-testResources + test-resources + + testResources + + + true + + + + + + maven-surefire-plugin + + true + + + + + +