Re: What is the principle of the tccl (thread context class loader) in maven?

2011-07-12 Thread Brett Porter
That sounds like the right approach. I'm not sure how the TCCL is used in maven-3, but in Maven 2.x it was to set to the plugin's classloader just for the duration of the plugin execution, then restored. - Brett On 12/07/2011, at 10:33 AM, Benson Margulies wrote: The maven-jxr-plugin uses

What is the principle of the tccl (thread context class loader) in maven?

2011-07-11 Thread Benson Margulies
The maven-jxr-plugin uses doxia-site-renderer. This, in turn, uses plexus-velocity, which in turn uses velocity version 1.5. So, you would think that it would be a piece of cake to make JXR use the same thing. But I got errors indicating that velocity was ending up with a class loader straddle