Hello,

I am fighting with getting my portlets to run with Liferay 7 and the whole OSGi 
environment. 

So far the Felix Maven plugin was a big help because I don't have to manage all 
the JAR file dependencies in my pom.xml *andÜ the bnd.bnd file that is required 
by the biz.aQute.bnd plugins.

However, one thing I can't get working with the maven plugin is the equivalent 
of 

   -metatype: *

in the bnd.bnd file which is required for the configuration stuff to work in 
Liferay 7. 

I tried 

   <_metatypeannotations>*</_metatypeannotations>

and 

   <_metatypes>*</_metatypes>

in the <instructions> section of the Maven plugin, but that didn't work. When 
using biz.aQute.bnd plugin the corresponding directive scans the classes for 
meta annotations and generates a corresponding XML file in OSGI_INF/metatype/ 
inside the jar file. 

How can I get that to work with the Felix Maven plugin? 

Thanks
Thomas



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

Reply via email to