2
我还没有找到这个合适的例子,所以我在这里问:试图连接模块POM和父POM。我如何设置相对路径?
我的项目结构是
workspace
|
|-->plugins
| |
| --> some.plugin.folder
| |
| --> parentpom.xml
|
|-->tests
|
|-->some.test.plugin.folder
|
|--> pom.xml
好吧,我可以在parentpom.xml添加测试模块。
<module>../tests/some.test.plugin.folder</module>
但我不能为我的生活找到测试插件的pom.xml中父pom的正确相对路径。
<parent>
...
<relativePath>../../plugins/parentpom.xml</relativePath>
</parent>
有人可以帮我吗?或者是不可能使用两个../?