Hi Maurizio,

Re-reading this, I saw before we had a lot of agreement, but re-reading I see 
you also had a question...

On 25/05/2011, at 1:44 AM, Maurizio Pillitu wrote:

>> However, I'm sure you're already noticing some limitations:
>> - you can't get in before interpolation, so properties used anywhere other
>> than plugin configuration will not be set
>> 
> 
> Yes, this is probably the biggest issue ATM with this approach, but I
> thought there would be good opportunities to fix it. I don't know how Maven
> interpolation works, so I don't have an idea how to solve this; could you
> provide me any pointers on code so that I can have a look (and learn some
> more) ?

There was talk about a spec for this in the past, but I can't find an up to 
date document. maven-core/project-builder.txt is empty.

My point was that there is no hook in Maven to get in before interpolation - 
the extension mechanism only deals with the constructed projects. That's why I 
was suggesting we would need to make modifications to the model builder.

The code to look at would be the maven-model-builder and some of the 
DefaultProjectBuilder in maven-core.

HTH,
Brett

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to