Hello, I have tried with maven 3.3.9 and 3.5.0. I will try with 3.5.3 tomorrow too. The repos are configured via settings.xml. I have them both as <repository> and as <pluginRepository>. If the docs are right, the plugin repositories should be the important ones for extensions but all I see when I run any goal on that project, with debug enabled, is:
[WARNING] Failed to read extensions descriptor /home/my-user/git/my-project/.mvn/extensions.xml: Plugin com.our-company:kompile-maven-extension:1.0 or one of its dependencies could not be resolved: Could not find artifact com.our-company:kompile-maven-extension:jar:1.0 in central ( https://repo.maven.apache.org/maven2) There is no line showing that maven tried to download the extension from any other repo. Thats the only one that is checking out apparently. That's why I thought that maybe extensions are not ready to be downloaded from custom repos yet... I have posted this question in StackOverflow too: https://stackoverflow.com/questions/49284462/failed-to-read-extensions-descriptor-could-not-find-artifact-in-central Maybe our Sonatype is outdated and we have to updated it to support extensions? I have to admit I don't know what version are we using, but I can check that out if it makes sense. Thank you Karl, I appreciate your help. 2018-03-15 19:54 GMT+01:00 Karl Heinz Marbaise <[email protected]>: > Hi, > > On 15/03/18 11:51, Salvatore wrote: > >> Hello, first time here. I have a quick question: >> Is it possible to use a maven extension that is not in maven central >> without downloading the jar manually? nor doing a mvn install locally? >> >> Cause I have been trying to find out why is my extension not being >> downloaded by maven from my own repository, but maybe the problem is that >> this is not possible! >> >> And that's pretty much it. If it is indeed possible then I will have to >> ask >> a new question, cause maven doesn't seem to care about my repos at all >> haha. >> > > First question related to that. Which Maven version do you use? > How have you configured your own repositories? Via settings.xml or via > repository manager ? > > Kind regards > Karl Heinz Marbaise > > >> Thank you very much in advance. >> Kind regards, >> Salva >> >>
