Re: A maven plugin to add dynamically a repository at build time

2018-04-09 Thread Nicolas Brasey
Hi Yolan, Thanks for your input. Yes, what you proposed is what I use at the moment as a workaround. But I wanted to hide the branch selection logic from the build runner. I suppose there is no real solution to hook code in maven before even the dependencies resolution? Is there another API

RE: A maven plugin to add dynamically a repository at build time

2018-04-09 Thread Golan, Yaron
Hi, Here is my proposal... Inside your main/parent pom.xml, set the following: ... foo boo ${repo.name} ${repo.url} ...

A maven plugin to add dynamically a repository at build time

2018-04-09 Thread Nicolas Brasey
Hi, In my continuous integration solution, I need to have a maven repository which is calculated based on the git branch name. For example, I have a naming convention which is used to calculate the maven repo URL, something similar to this: Branch name -> Git Repo URL: ---