Hi all!
I’ve found the settings file:
…\.settings\org.maven.ide.eclipse.prefs:
#Fri Dec 17 09:30:38 CET 2010
activeProfiles=dev_resources, dev_dependencies
eclipse.preferences.version=1
fullBuildGoals=process-test-resources
includeModules=false
resolveWorkspaceProjects=true
resourceFilterGoals=process-resources resources\:testResources
skipCompilerPlugin=true
version=1
Normaly we don’t checkIn the settings, do you have any experience with checkingIn this ?
Fredy
Von: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-bounces@xxxxxxxxxxx] Im Auftrag von Hauschel Fred Robert
Gesendet: Freitag, 17. Dezember 2010 09:28
An: m2e-users@xxxxxxxxxxx
Betreff: [m2e-users] Active Maven Profiles by system property
Hi all!
Where is the setting “project -> properties -> maven -> Active Maven Profiles” saved ?
Is there any possibility to share this setting?
The goal:
I’ve a few profiles, and I want to activate the profiles by system property (enviroment=eclipse).
M2Eclipse seems to “ignore” the existence of the system property ?!?! Or where can I place my –Denviroment=eclipse ?? That m2Eclipse recognize it?
But the profile activation works fine with “Active Maven Profiles” in the m2Eclipse settings. Now I won’t tell each developer to activate this in all his
Eclipse projects!
Thanks Fredy