[ERROR] Failed to calculate checksums for module-b:
org.eclipse.aether.resolution.ArtifactResolutionException:
The following artifacts could not be resolved:
com.example:module-a:test-jar:1.0.0-SNAPSHOT (absent):
Could not find artifact com.example:module-a:test-jar:1.0.0-SNAPSHOT
Affected version
1.2.2, 1.2.1
Bug description
Building a sub-module with
mvn -f <submodule>fails when that module depends on atest-jarartifact from another module. The build cache extension's checksum calculation cannot resolve thetest-jardependency, even though the artifact is correctly installed in the local Maven repository.Full reactor builds are not affected.
Error
Steps to reproduce
Minimal reproducer project: cache-testjar-reproducer.zip
Environment
Related issues