avodonosov/hashver-maven-plugin

Hash parent (ancestor) poms?

avodonosov opened this issue · 2 comments

Things inherited from parent pom's (transitively) may affect the build, so should we include all the ancestor poms into the hash code?

On the other hand, if those properties do not affect the dependency tree, maybe it's not important to account them.

For correctness, it's better to include the ancestor pom's.

Implemented the hashing.

I was in doubt, what part of hashversion should include the ancestor poms - module own hash or the dependency tree hash. Decided include them into the dependency tree hash.