Hello. In order to speed up the build of a big multi-module project, I'd like to reuse the artifacts of modules that haven't changed. Manual versioning is tedious and error-prone.
Is it possible to automatically assign versions so that versions only change if module sources or dependencies change? In result, only those modules will be recompiled and retested, and all other modules will be reused from artifact repository. For example, this could be done if versions are computed as hash-of( hash-of(module sources) + hashes of all dependencies). In this approach, every change in code will modify such hash-based version of all dependent modules automatically. This would be similar to Nix package manager. How such things (has based or to do that in maven? Best regards, - Anton --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
