You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Tarun Ramakrishna <ta...@elankath.com> on 2012/03/30 15:25:44 UTC
How to create WAB using felix maven bundle plugin ?
Hi all,
Could someone provide a POM snippet of how to create a WAB (OSGI web
application bundle) using the felix maven bundle plugin where the
current project's classes don't go into the root of the jar but into
WEB-INF/classes (as recommended by the WAB spec) and where the
Bundle-Classpath of the produced WAB is set to 'WEB-INF/classes' ?
Any guidance appreciated!
Thanks,
Tarun
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: How to create WAB using felix maven bundle plugin ?
Posted by Tarun Ramakrishna <ta...@elankath.com>.
Thanks Stuart! That worked like a charm :)
>
> <plugins>
> <plugin>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <version>2.3.7</version>
> <extensions>true</extensions>
> <configuration>
> <instructions>
> <_wab>src/main/webapp</_wab> <!-- could also use src/main/resources if you like -->
> </instructions>
> </configuration>
> </plugin>
> </plugins>
>
>> Any guidance appreciated!
>> Thanks,
>> Tarun
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: How to create WAB using felix maven bundle plugin ?
Posted by Stuart McCulloch <mc...@gmail.com>.
On 30 Mar 2012, at 21:25, Tarun Ramakrishna wrote:
> Hi all,
>
> Could someone provide a POM snippet of how to create a WAB (OSGI web
> application bundle) using the felix maven bundle plugin where the
> current project's classes don't go into the root of the jar but into
> WEB-INF/classes (as recommended by the WAB spec) and where the
> Bundle-Classpath of the produced WAB is set to 'WEB-INF/classes' ?
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version>
<extensions>true</extensions>
<configuration>
<instructions>
<_wab>src/main/webapp</_wab> <!-- could also use src/main/resources if you like -->
</instructions>
</configuration>
</plugin>
</plugins>
> Any guidance appreciated!
> Thanks,
> Tarun
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org