You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Ben Short <be...@benshort.co.uk> on 2009/09/04 13:35:48 UTC
More documentation for the maven-bundle-plugin
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.
Regards
Ben
Re: More documentation for the maven-bundle-plugin
Posted by Ben Short <be...@benshort.co.uk>.
HI,
I have seen those but no where on the page does it mention '
Sling-Bundle-Resources'.
Ben
2009/9/4 Bertrand Delacretaz <bd...@gmail.com>
> Hi,
>
> On Fri, Sep 4, 2009 at 1:35 PM, Ben Short<be...@benshort.co.uk> wrote:
> > ...I'm trying to use the maven-bundle-plugin but can't find any sling
> related
> > documentation for it....
>
> The docs are at
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
> -Bertrand
>
Re: More documentation for the maven-bundle-plugin
Posted by Bertrand Delacretaz <bd...@gmail.com>.
Hi,
On Fri, Sep 4, 2009 at 1:35 PM, Ben Short<be...@benshort.co.uk> wrote:
> ...I'm trying to use the maven-bundle-plugin but can't find any sling related
> documentation for it....
The docs are at
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
-Bertrand
Re: More documentation for the maven-bundle-plugin
Posted by Bertrand Delacretaz <bd...@gmail.com>.
Hi,
On Fri, Sep 4, 2009 at 1:50 PM, Felix Meschberger<fm...@gmail.com> wrote:
> ...In this context it is defining resources provided by the Bundle Resource
> Provider for which there exists no documentation yet (unfortunately)....
Created https://issues.apache.org/jira/browse/SLING-1099 so that we
don't forget about this.
-Bertrand
Re: More documentation for the maven-bundle-plugin
Posted by Felix Meschberger <fm...@gmail.com>.
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