I have several maven projects (not multi-modules), that are residing in GitLab. I like to setup the GitLab CI for these projects, so I looked at gitlab-ci.yml files on how to do this.
I found https://docs.gitlab.com/ee/ci/examples/artifactory_and_gitlab, which describes to put the settings.xml in the project itself and then referr it in the gitlab-ci file.
But I was wondering, how this is done when having multiple projects that would need this settings.xml, as putting it multiple times in the repository seems bad.
Locally I have it in my .m2 directory, but how and where to put it on the gitlab server for the pipeline ?