Hi Matthieu, Thanks for your comment. I did not know this project, I will have a look at it.
I found a workaround with the new .mvn directory which contains a settings.xml which contains my private repos definition. Then I use .mvn/maven.config to specify to use this settings.xml file with the '-s' mvn argument. It is not so nice, but it works for us. Thanks, Nicolas On Wed, Jun 27, 2018 at 2:25 PM Matthieu BROUILLARD <matth...@brouillard.fr> wrote: > Hi Nicolas, > > If you want perhaps you can also contribute to > https://github.com/jgitver/jgitver-maven-plugin which computes project > version automatically for maven (there is also a gradle project). > > Concerning your question, I never had such a problem. My core extensions > are downloaded from the repositories I push them to (in my case central). > > Regards, > > Matthieu Brouillard > > On Wed, Jun 27, 2018 at 10:59 AM Nicolas Brasey <nicolas.bra...@gmail.com> > wrote: > > > Hi, > > > > I developed a maven core extension which controls the project version and > > the distribution managment repository depending on the git branch before > > the build starts. > > > > I specify the coordinates of my extension by providing a file which is > > located in the project git repo, inside .mvn/extension.xml, as described > > here: > > > > https://maven.apache.org/docs/3.3.1/release-notes.html > > > > My problem is that Maven is not able to download this artifacts from a > > remote repository. I would like that it is getting fetched from my > private > > maven repo. > > > > So the question is, where can I specify my private repository which > > contains this extension ? Ideally, it should be inside my git repo (in > .mvn > > directory) > > > > Thanks > > Nicolas > > >