I'll make the example plugins and then we can try it. Do you have a little 
snippet as an example?

On Dec 10, 2012, at 5:15 AM, Stephen Connolly <[email protected]> 
wrote:

> On Sunday, 9 December 2012, Hervé BOUTEMY wrote:
> 
>> I just committed a starting point for MNG-5406: "don't expose core's
>> slf4j-api
>> by default, add a plugin-descriptor option to expose"
>> 
>> this is a new field in plugin descriptor.
>> 
>> I still don't know how to effectively use it in
>> DefaultClassRealmManager.createPluginRealm() to avoid importing slf4j-api
>> from
>> parent: help appreciated.
>> 
>> 
>> I still didn't create a Jira issue in plugin-tools to generate the field in
>> plugin descriptor.
>> What I know is that its configuration won't be done as an annotation in a
>> goal/Mojo since it's a plugin-wide configuration, not at goal level.
> 
> 
> I was thinking a configuration option for m-p-p in the pom for the plugin,
> since that is where you are adding the dependencies, it makes sense to
> configure the treatment of those dependencies in the same file
> 
>> 
>> 
>> Regards,
>> 
>> Hervé

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder & CTO, Sonatype
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

-- Thoreau 





Reply via email to