Hi all,
I've been experimenting with m2eclipse (ver. 0.9.7) and I have some trouble 
getting a permanently activated profile in my settings.xml to take effect. So, 
I downloaded the source as Eclipse projects and started to debug and get a feel 
for how its internals work ... unfortunately I am not that proficient with the 
code and its structure yet, so it is not that obvious where to look for the 
profile activation and reading the relevant properties ...

Managed to find out that the correct file is identified; there is a 
ResolverConfiguration but it returns an empty string when getActiveProfileList 
gets called (well a List holding an empty string).

What is under investiagtion? Well, check out 
http://jira.codehaus.org/browse/MNG-3782  for details on what we would like to 
achieve (there is a simple example and a settings.xml file). We have a possible 
patch for the command line version. It will uploaded and added to the issue for 
scrutiny, soon.

Back to m2eclipse; could somebody please advice on which packages, classes, to 
pay extra attention to when it comes to profile activation and extraction of 
its properties? Any pointers are welcome. Or, are we trying to do something 
which is already implemented and about to be released shortly? Further, if we 
are trying to do something which Maven, and m2eclipse, is not intended to do - 
please feel free to tell us ...


TIA,

Robert

Reply via email to