Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Global settings.xml path ignored

Thanks Igor.

Do you know of another way to provide default (possibly non modifiable) configuration for m2e users (like mirror configuration pointing to our Nexus instance) that still allow users to use their own ~/.m2/settings.xml? For example an extension point in Eclipse?

Regards,

Julien


>________________________________
> De : Igor Fedorenko <igor@xxxxxxxxxxxxxx>
>À : m2e-users@xxxxxxxxxxx 
>Envoyé le : Lundi 9 Janvier 2012 13h18
>Objet : Re: [m2e-users] Global settings.xml path ignored
> 
>Global settings configuration is currently only used during project
>dependency resolution and other in-vm actions. It is not used for
>Run_As->Maven_Build. I've opened bug 368145 [1] to track this problem,
>but can't tell when/if it will be looked at.
>
>[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=368145
>
>--
>Regards,
>Igor
>
>On 12-01-09 4:32 AM, Julien HENRY wrote:
>> Hi,
>>
>> In my company we are using m2e 1.0.100.20110804-1717. I want to provide
>> a default configuration for settings.xml but allow users have their own
>> settings if they want. So in our corporate Eclipse bundle I set Maven ->
>> Installation -> "global settings for embedded installation" to
>> /path/to/corporate-settings.xml. When users wants to override these
>> settings they can use "user settings".
>>
>> I tried to run a Maven build (run as -> Maven build...) but what is in
>> corporate-settings.xml is not taken into account. If I run with -X I can
>> see the global settings path is always:
>> [DEBUG] Reading global settings from EMBEDDED\conf\settings.xml
>>
>> Any idea why the global settings path is not taken into account?
>>
>> If I put in user settings the path to the corporate settings everything
>> works fine (so there is no error in the file itself).
>>
>> Thanks
>>
>> Julien
>>
>>
>> _______________________________________________
>> m2e-users mailing list
>> m2e-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>_______________________________________________
>m2e-users mailing list
>m2e-users@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>
>


Back to the top