Hi Benm

Ben Short schrieb:
> Hi,
> I'm trying to use the maven-bundle-plugin but can't find any sling related
> documentation for it.
> 
> For instance for the contributed jquery sling explorer the configuration is
> as follows:
> 
> <plugin>
>                 <groupId>org.apache.felix</groupId>
>                 <artifactId>maven-bundle-plugin</artifactId>
>                 <extensions>true</extensions>
>                 <configuration>
>                     <instructions>
>                         <Sling-Bundle-Resources>
>                             /libs/sling/explorer,
>                             /libs/sling/servlet/default/explorer
>                         </Sling-Bundle-Resources>
>                     </instructions>
>                 </configuration>
>             </plugin>
> 
> I assume that the Sling-Bundle-Resources instruction defines what should be
> included in the bundle. But if i create a directory at /libs/blar it to gets
> included in the bundle.

This has nothing to do with the bundle plugin, it just defines an OSGi
Manifest header in the syntax of the Maven Bundle Plugin.

In this context it is defining resources provided by the Bundle Resource
Provider for which there exists no documentation yet (unfortunately).

The basic goal is to make contents from OSGi bundles available in the
resource tree transparently.

Regards
Felix

Reply via email to