Should I rely on transitive dependencies in Maven if they come from other sub-module of my parent?
问题 Suppose we are working on mortgage sub-module, and we are directly using the Google Guava classes in module code, but the dependcy for the guava is defined in other sub-module under the same parent and we have access to Guava classes only by transitive dependency on "investment" module: banking-system (parent pom.xml) | |-- investment (pom.xml defines <dependency>guava</dependency>) | |-- mortgage (pom.xml defiens <dependency>investment</dependency>) Should we still put a <dependency> to