cowwoc commented on issue #375:
URL:
https://github.com/apache/maven-build-cache-extension/issues/375#issuecomment-3369379985
PR #389 implements default compiler property tracking that should help with
this issue. The extension now tracks `source`, `target`, and `release`
properties by default for maven-compiler-plugin.
However, your specific case with `--module-version` in `compilerArgs` may
need additional tracking. The current implementation doesn't include
`compilerArgs` in the defaults to avoid overly aggressive cache invalidation.
You may need to add:
```xml
<executionControl>
<reconcile>
<plugins>
<plugin artifactId="maven-compiler-plugin" goal="compile">
<reconciles>
<reconcile propertyName="compilerArgs"/>
</reconciles>
</plugin>
</plugins>
</reconcile>
</executionControl>
```
This would merge with the defaults and also track your `compilerArgs`
containing `--module-version`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]