Skip to content

Commit abc789f

Browse files
committed
build: skip native tests for credentials module
The google-auth-library-java migration to the monorepo inadvertently enabled GraalVM native testing for the credentials module because the generic graalvm-single job type runs tests on all modules in the subdirectory. In the original repository, this job was carefully scoped to only test the oauth2_http module. This change adds <skipNativeTests>true</skipNativeTests> to the credentials module POM to skip native tests, resolving the failure when the plugin cannot find test configuration files. Fixes #12859
1 parent 460a1b2 commit abc789f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • google-auth-library-java/credentials

google-auth-library-java/credentials/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222
<sourceDirectory>java</sourceDirectory>
2323
<testSourceDirectory>javatests</testSourceDirectory>
2424
<plugins>
25+
<plugin>
26+
<groupId>org.graalvm.buildtools</groupId>
27+
<artifactId>native-maven-plugin</artifactId>
28+
<configuration>
29+
<skipNativeTests>true</skipNativeTests>
30+
</configuration>
31+
</plugin>
2532
<plugin>
2633
<groupId>org.apache.maven.plugins</groupId>
2734
<artifactId>maven-source-plugin</artifactId>

0 commit comments

Comments
 (0)