Oh yeah, that works too :) I use CDC so much that I forget (but even then, you can merge in the extra def).

- Brett

On 04/03/2007, at 5:58 PM, Andrew Williams wrote:

I had a more cunning plan...
I can just advertise it over both hints in the components.xml
(works in the tests I have done here :) ).

Andy

On 5 Mar 2007, at 01:56, Brett Porter wrote:

I agree - it's going to enable plugins that reference it successfully by role alone now to continue working.

However, something may reference it directly by the maven role- hint: I suggest a subclass with not modifications except the alternate role-hint be made (and deprecated) for that case.

- Brett

On 04/03/2007, at 3:18 AM, Andrew Williams wrote:

Are there an objections, or reasons not to change the role-hint of MavenMetadataSource
in maven-project from "maven" to "default".

The latest plexus code (will shortly...) be more strict on hints and no longer allow components to grab "whatever is configured", if a hint exists it must be honoured (but "default" is the, erm, default). This means that if switched to "default" then plugins could continue to use it as now without stating
which hint they want.

Andy

-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to