jira-importer opened a new issue, #309: URL: https://github.com/apache/maven-build-cache-extension/issues/309
**[Igor Dianov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER303977)** opened **[MBUILDCACHE-81](https://issues.apache.org/jira/browse/MBUILDCACHE-81?redirect=false)** and commented **Current** **Behavior** The MBUILDCACHE-76 has broken cache reuse between project versions in a multi-module projects, i.e. changing version from 1.0.0-SNAPSHOT to 1.0.0 causes the cache to miss the checksum validation which causes full rebuild of the project. **Expected Behavior** The build cache version normalization should support project version agnostic caches, so that restoring project from cache avoids repeating expensive tasks like running tests according to features: https://maven.apache.org/extensions/maven-build-cache-extension/index.html **Possible Solutions** * Disable cache for releases if the build requires rebuild due to version changes. * Introduce a feature flag configuration to use project version in checksum calculations for cache invalidation --- **Affects:** 1.2.0 **Issue Links:** - [MBUILDCACHE-73](https://issues.apache.org/jira/browse/MBUILDCACHE-73) Add project version as additional property for reconcilation (_**"is duplicated by"**_) **Remote Links:** - [GitHub Pull Request #129 ](https://github.com/apache/maven-build-cache-extension/pull/129) -- 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]
