Extension works from lib/ext and CLI but not extensions.xml

2018-10-25 Thread J. Lewis Muir
Hello, all! I'm trying to use the EL Profile Activation Maven Extension https://github.com/kpiwko/el-profile-activator-extension to activate a profile when the foo_env system property is either not set, or set to "development". I'm using the "help:active-profiles" goal of the Maven Help plugi

Re: Extension works from lib/ext and CLI but not extensions.xml

2018-10-26 Thread Matthieu BROUILLARD
Not sure but I think the mechanism extension does not work for SNAPSHOT versions. Try to install a non SNAPSHOT version in your local maven repository. I think I have already faced the same in the past while producing with my own extension https://github.com/jgitver/jgitver-maven-plugin Hope it he

Re: Extension works from lib/ext and CLI but not extensions.xml

2018-10-26 Thread Karl Heinz Marbaise
Hi, On 26/10/18 10:16, Matthieu BROUILLARD wrote: Not sure but I think the mechanism extension does not work for SNAPSHOT versions. No. There is something else different/wrong... Try to install a non SNAPSHOT version in your local maven repository. I think I have already faced the same in

Re: Extension works from lib/ext and CLI but not extensions.xml

2018-10-26 Thread Mirko Friedenhagen
Hello, I think extensions are looked up in pluginRepositories, not the standard repositories. Maybe that’s your problem? Best Regards Mirko Friedenhagen — Sent from my mobile Am 26.10.18 um 17:41 schrieb Karl Heinz Marbaise > Hi, > > On 26/10/18 10:16, Matthieu BROUILLARD wrote: > > Not su

Re: Extension works from lib/ext and CLI but not extensions.xml

2018-10-27 Thread J. Lewis Muir
On 10/26, Mirko Friedenhagen wrote: > Hello, > > I think extensions are looked up in pluginRepositories, not the > standard repositories. Maybe that’s your problem? > > Best Regards > Mirko Friedenhagen Thank you for your suggestion. How can I test this hypothesis? I do not have a ~/.m2/settin

Re: Extension works from lib/ext and CLI but not extensions.xml

2018-10-27 Thread J. Lewis Muir
On 10/26, Matthieu BROUILLARD wrote: > Not sure but I think the mechanism extension does not work for SNAPSHOT > versions. > Try to install a non SNAPSHOT version in your local maven repository. Thank you for the suggestion! I took "-SNAPSHOT" out of the version and installed it in my local repos

Re: Extension works from lib/ext and CLI but not extensions.xml

2018-10-27 Thread J. Lewis Muir
On 10/26, J. Lewis Muir wrote: > This is Maven 3.5.4, the latest Git snapshot of EL Profile Activation > Maven Extension, and MVEL 2.4.2.Final. To head off any confusion for anyone looking closely at the transcripts, the Git snapshot of EL Profile Activation Maven Extension that I used was c3b490a