1
我有一个包含以下模块的多模块Maven项目:依赖于多模块Maven项目模块时,模块不会产生伪影
system-x-server
system-x-client
system-x-server-image
system-x-integration-tests
system-x-server-image
的PR制作一个码头图像,用于在测试system-x-integration-tests
项目中进行集成测试。将其添加为一个依赖:
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>system-x-server-image</artifactId>
<version>${project.version}</version>
</dependency>
产生一个错误,因为system-x-server-image
不会产生伪影(它,但不是一个真实使用Maven解决)。
有没有办法让system-x-integration-tests
取决于system-x-server-image
因为system-x-server-image
不会产生神器?
你的pom文件是怎么样的? – khmarbaise