I have a multi-module maven project which contains a common component called A and other two components called B and C depend on the module A. All the three modules are parallel under a parent pom in the same VCS(git) project.
Configuration on Teamcity:
I create a project with a VCS Roots configured to the git url. And I also create three builds under the project which share the same VCS Roots but with checkout rules each to check out only module A, B, C for each build.
Then, I add Snapshot Dependencies for build B and C to let them depend on build A.
If only module B or/and module C is changed on VCS, then only build B or/and build C is triggered which works as expected. However, if module A is changed, it only trigger build A but not trigger build B and build C. I know that the snapshot dependencies means the later build will trigger all its ancestor on a chain, but how can I make it vice versa?