Skip to content

Commit f92da87

Browse files
simbo1905claude
andcommitted
Fix CI build failures by excluding Java files in test resources
- Add maven-compiler-plugin and maven-surefire-plugin exclusions to prevent Java files in src/test/resources from being compiled and run as tests - These Java files are part of the JSON Test Suite reference implementations and should not be executed as part of our test suite - This resolves the 'wrong name' errors during test execution 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent e0b67c4 commit f92da87

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

json-compatibility-suite/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,25 @@
4949

5050
<build>
5151
<plugins>
52+
<plugin>
53+
<groupId>org.apache.maven.plugins</groupId>
54+
<artifactId>maven-compiler-plugin</artifactId>
55+
<configuration>
56+
<excludes>
57+
<exclude>src/test/resources/**/*.java</exclude>
58+
</excludes>
59+
</configuration>
60+
</plugin>
61+
<plugin>
62+
<groupId>org.apache.maven.plugins</groupId>
63+
<artifactId>maven-surefire-plugin</artifactId>
64+
<configuration>
65+
<excludes>
66+
<exclude>**/JSONTestSuite-20250921/**/*.java</exclude>
67+
<exclude>**/parsers/**/*.java</exclude>
68+
</excludes>
69+
</configuration>
70+
</plugin>
5271
<plugin>
5372
<groupId>org.codehaus.mojo</groupId>
5473
<artifactId>exec-maven-plugin</artifactId>

0 commit comments

Comments
 (0)