Skip to content

Commit eba4923

Browse files
authored
Merge pull request #45890 from gsmet/disable-kubernetes-service-binding-testing-windows
Disable kubernetes-service-binding testing on Windows
2 parents 3f1d719 + 1e826ea commit eba4923

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

CONTRIBUTING.md

-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ If you have not done so on this machine, you need to:
252252
* Windows:
253253
* enable longpaths: `git config --global core.longpaths true`
254254
* avoid CRLF breaks: `git config --global core.autocrlf false`
255-
* enable symlinks: `git config --global core.symlinks true`
256255
* Install Java SDK 17+ (OpenJDK recommended)
257256
* Install [GraalVM](https://quarkus.io/guides/building-native-image)
258257
* Install platform C developer tools:

extensions/kubernetes-service-binding/runtime/pom.xml

+50
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,55 @@
6767
</plugins>
6868
</build>
6969

70+
<profiles>
71+
<profile>
72+
<id>disable-test-compile-on-windows</id>
73+
<activation>
74+
<os>
75+
<family>windows</family>
76+
</os>
77+
</activation>
78+
<build>
79+
<plugins>
80+
<plugin>
81+
<artifactId>maven-compiler-plugin</artifactId>
82+
<executions>
83+
<execution>
84+
<id>default-testCompile</id>
85+
<phase>test-compile</phase>
86+
<goals>
87+
<goal>testCompile</goal>
88+
</goals>
89+
<configuration>
90+
<skip>true</skip>
91+
</configuration>
92+
</execution>
93+
</executions>
94+
</plugin>
95+
<plugin>
96+
<artifactId>maven-resources-plugin</artifactId>
97+
<executions>
98+
<execution>
99+
<id>default-testResources</id>
100+
<phase>test-resources</phase>
101+
<goals>
102+
<goal>testResources</goal>
103+
</goals>
104+
<configuration>
105+
<skip>true</skip>
106+
</configuration>
107+
</execution>
108+
</executions>
109+
</plugin>
110+
<plugin>
111+
<artifactId>maven-surefire-plugin</artifactId>
112+
<configuration>
113+
<skip>true</skip>
114+
</configuration>
115+
</plugin>
116+
</plugins>
117+
</build>
118+
</profile>
119+
</profiles>
70120

71121
</project>

0 commit comments

Comments
 (0)