父工程--->Jurisdiction-Of-SSM
子模块(module)--->Jurisdiction-Of-SSM-web
++++++++++++++++++++++++++++++
此时,在父工程的 pom.xml 文件下导入了 依赖A
|
如果在 子模块 的 pom.xml 文件下,添加以下代码
<dependency>
<groupId>com.myproject</groupId>
<artifactId>Jurisdiction-Of-SSM</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependency>
|
是否,可以认为:
1、子模块继承了父工程的依赖A?
2、还是说,上面那段代码有别的意思?