Вопрос

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