Skip to content

Commit

Permalink
Merge pull request quarkusio#45890 from gsmet/disable-kubernetes-serv…
Browse files Browse the repository at this point in the history
…ice-binding-testing-windows

Disable kubernetes-service-binding testing on Windows
  • Loading branch information
gsmet authored Jan 28, 2025
2 parents 3f1d719 + 1e826ea commit eba4923
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
50 changes: 50 additions & 0 deletions extensions/kubernetes-service-binding/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,55 @@
</plugins>
</build>

<profiles>
<profile>
<id>disable-test-compile-on-windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<skip>true</skip>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>default-testResources</id>
<phase>test-resources</phase>
<goals>
<goal>testResources</goal>
</goals>
<configuration>
<skip>true</skip>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit eba4923

Please sign in to comment.