문제

My problem is that I have several git repos each consisting of several Maven projects, and these all need to inherit from a common pom.xml. In other words, they aren't related by file system. The most obvious solution to me is for the parent to live in a common `Maven repository, however I haven't found any reference on whether this is possible.

I am looking for a solution not involving git submodule.

도움이 되었습니까?

해결책

The parent needn't exist on the file system. It can be a normal pom-packaged artifact that can be downloaded from a maven repository. So you should be fine.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top