On Thu, Jan 28, 2010 at 5:45 PM, Alexander Blotny
<[email protected]> wrote:
> configuration = new DefaultConfiguration().setUserSettingsFile( user
> ).setClassLoader( DefaultPlexusConfiguration.class.getClassLoader());
maven as build tool it has special class loader algorithm which
designed to dynamic load class from project/plugin dependencies. While
the bundle class loader is designed for modular component to isolate
each other.

You may create a new class loader in a maven bootstrap bundle to load
maven related class from some a lib/jar path outside osgi class
loader. Then export  maven functions as a service interface for other
bundles to use.

-Guo

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

Reply via email to