hi,

when building a bundle dependency-jars get extracted and class files get copied respective to package structure

mainBundleJar:
 -own/classes
 -external/libClasses

this approach works, but it hinders when wanting to get an overview, which libraries are included and licence-information+resources are spread around everywhere. that's when working with external libraries i think the best is to include it as a encapsulated jar like:

mainBundleJar:
 -own/classes
 -externalLibrary1.jar
 -externalLibrary2.jar
 -META-INF/<ManifestTellingToIncludeEncapsulatedJarsToClasspath.mf>

i know with standard classLoader this encapsulated jars are not supported, but through a custom classLoader (as OSGI uses its own, too) this could be done. so is it possible to provide inner jars with maven-bundle-plugin or does this layout not conform to OSGI spec anyway, so cannot be implemented?

thanks.

--
manuel aldana
[EMAIL PROTECTED]
www.aldana-online.de

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

Reply via email to