Reputation: 60768
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
.
Upvotes: 2
Views: 2436
Reputation: 13556
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.
Upvotes: 4