I have a wab bundle. Besides I have a jar bundle which has META-INF/tags/tags.tld file and com.example.tags.SomeMyTag class.
I didn't find example in http://central.maven.org/maven2/org/ops4j/pax/web/samples/ . The only information (several lines) are here http://ops4j.github.io/pax/web/4.2.x/index.html So I did this way: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <archive> .... <manifestEntries> <Bundle-ClassPath>WEB-INF/classes/, com.example-1.0.0.jar</Bundle-ClassPath> </manifestEntries> </archive> <failOnMissingWebXml>false</failOnMissingWebXml> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> .... <Import-Package> com.example.tags,* </Import-Package> </instructions> </configuration> </plugin> Did I do right? What confuses me is that I need to manually import packages. I do not import packages of default tlds but they work. But my tlds don't work if I don't import packages. -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
