Re: PROPOSAL: Remote Profiles ( a limited alternative to mixins )

2011-12-05 Thread Mark Derricutt
I've not yet looked at maven internal code about how one might implement this ( to be honest, at this point in time I'm not sure even know WHERE to look, other than poking around classes named Profile :) So yes - intuition on my part and just logic really. How adding something like this to the

Re: PROPOSAL: Remote Profiles ( a limited alternative to mixins )

2011-12-05 Thread Julien HENRY
. De : Mark Derricutt m...@talios.com À : Maven Developers List dev@maven.apache.org Envoyé le : Lundi 5 Décembre 2011 11h31 Objet : Re: PROPOSAL: Remote Profiles ( a limited alternative to mixins ) I've not yet looked at maven internal code about how one might implement

Re: PROPOSAL: Remote Profiles ( a limited alternative to mixins )

2011-12-05 Thread Hervé BOUTEMY
the code is in DefaultModelBuilder [1] Regards, Hervé [1] http://maven.apache.org/ref/3.0.4/maven-model-builder/ Le Lundi 5 Décembre 2011 23:31:03 Mark Derricutt a écrit : I've not yet looked at maven internal code about how one might implement this ( to be honest, at this point in time I'm

Re: PROPOSAL: Remote Profiles ( a limited alternative to mixins )

2011-12-03 Thread Robert Burrell Donkin
On Sat, Dec 3, 2011 at 5:50 AM, Mark Derricutt m...@talios.com wrote: Hey all, I was thinking again the other day about how mixins could be introduced to maven to improve/fix some of the issues found with the rigid parent/child lineage of poms. Maintaining common meta-data without mixin's is

Re: PROPOSAL: Remote Profiles ( a limited alternative to mixins )

2011-12-03 Thread Jason van Zyl
The profile mechanism is how any new mixin system would work. No other mechanism internally is really suited to provide full access to the model in the right place. Not sure if you looked at the code or this is intuition on your part but your analysis is correct in that it's collaboration with

PROPOSAL: Remote Profiles ( a limited alternative to mixins )

2011-12-02 Thread Mark Derricutt
Hey all, I was thinking again the other day about how mixins could be introduced to maven to improve/fix some of the issues found with the rigid parent/child lineage of poms. At the same time I was looking at the remote-resources plugin and a small lightbulb went on in my mind - we all ready