Nx
Enterprise
Nx
fix(maven): include test sources in testCompile task hash The `maven-compiler-plugin:testCompile` Nx target hash never included test source files due to two compounding bugs: 1. CacheConfig used parameter name `testCompileSourceRoots`, but the Maven compiler plugin descriptor names the field `compileSourceRoots` for both compile and testCompile mojos. MojoAnalyzer looked it up, got null, and silently skipped it. 2. MavenExpressionResolver had a special-case that resolved by parameter name instead of the default-value expression. Since both mojos share the name `compileSourceRoots`, testCompile always got main sources. Fix: use correct parameter name in CacheConfig and remove the broken special-case, letting the existing resolveCollectionParameter path handle it via the default-value expression. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
nx-cloud record -- nx-cloud conformance:check
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
1 run failed
nx-cloud record -- nx-cloud conformance:check
Click to copy
Linux
4 CPU cores
b31cc561
34422