當前module模塊可能只依賴了另一個module模塊的接口層,實現層沒有依賴
<dependency> <groupId>com.aaaaai.shop</groupId> <artifactId>abc-api</artifactId> </dependency>
可以增加業務實現層在test下的依賴
<dependency> <groupId>com.aaaaai.shop</groupId> <artifactId>abc-service</artifactId> <scope>test</scope> </dependency>