> Actually any JARs that you place under src/main/resources will be included in 
> the bundle — just as in any other Maven project.

But the jars are not stored in src/main/resources 

They simply declared as dependencies in the Maven pom. 

> But I’m wondering why you need to do this? Embedding JAR files should
> be a rarely used technique, for example when wrapping an external
> non-OSGi dependency for use in OSGi. If lots of your bundles need to
> embed JARs then something very strange is going on.

I need this because my portlets need those jar files. 

I have no idea how else I could use those libraries in my portlets if I do not 
include them in the bundle. 

If I don't include them in the bundle, Liferay (Felix?) won't even load the 
portlet. 

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to