You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Yuri de Wit <yd...@gmail.com> on 2011/04/18 18:26:22 UTC

maven-bundle-plugin/bnd - Generating Manifest only

Is it possible to only generate the OSGi Manifest with maven-bundle-plugin?

The reason I ask this is that I would like to run it in the same way I
run maven-eclipse-plugin, i.e. run it once to generate the .classpath
(in our case we even commit the .classpath/.project) and bundle it
separately when performing a build. The benefit I am looking for is to
be able to have Maven as my dependency management starting point and
have dev projects in eclipse that are runnable OSGi bundle (no need to
build/bundle). With a little hack I could even make this project an
Eclipse Plugin project, although I would like to stick to pure OSGi
projects and have maven commanding the show.

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


Re: maven-bundle-plugin/bnd - Generating Manifest only

Posted by Yuri de Wit <yd...@gmail.com>.
Thanks for the pointer.
Apologies for a typical case of RTFM :-) The OSGi ecosystem seems to
be very rich with a variety of options of frameworks and ways to doing
things, and with many of the search results dating back to 2009/2008.
If my choice of approach/framework/etc was clearer it would be a bit
easier to go deeper on a specific documentation.

thanks.
On Mon, Apr 18, 2011 at 12:33 PM, Stuart McCulloch <mc...@gmail.com> wrote:
> On 18 April 2011 17:26, Yuri de Wit <yd...@gmail.com> wrote:
>
>> Is it possible to only generate the OSGi Manifest with maven-bundle-plugin?
>>
>
> yep, check out the "manifest" goal from
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html as
> well as the Eclipse/PDE integration section
>
> The reason I ask this is that I would like to run it in the same way I
>> run maven-eclipse-plugin, i.e. run it once to generate the .classpath
>> (in our case we even commit the .classpath/.project) and bundle it
>> separately when performing a build. The benefit I am looking for is to
>> be able to have Maven as my dependency management starting point and
>> have dev projects in eclipse that are runnable OSGi bundle (no need to
>> build/bundle). With a little hack I could even make this project an
>> Eclipse Plugin project, although I would like to stick to pure OSGi
>> projects and have maven commanding the show.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
> --
> Cheers, Stuart
>

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


Re: maven-bundle-plugin/bnd - Generating Manifest only

Posted by Stuart McCulloch <mc...@gmail.com>.
On 18 April 2011 17:26, Yuri de Wit <yd...@gmail.com> wrote:

> Is it possible to only generate the OSGi Manifest with maven-bundle-plugin?
>

yep, check out the "manifest" goal from
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html as
well as the Eclipse/PDE integration section

The reason I ask this is that I would like to run it in the same way I
> run maven-eclipse-plugin, i.e. run it once to generate the .classpath
> (in our case we even commit the .classpath/.project) and bundle it
> separately when performing a build. The benefit I am looking for is to
> be able to have Maven as my dependency management starting point and
> have dev projects in eclipse that are runnable OSGi bundle (no need to
> build/bundle). With a little hack I could even make this project an
> Eclipse Plugin project, although I would like to stick to pure OSGi
> projects and have maven commanding the show.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>


-- 
Cheers, Stuart

Re: maven-bundle-plugin/bnd - Generating Manifest only

Posted by Holger Hoffstätte <ho...@googlemail.com>.
On 18.04.2011 18:26, Yuri de Wit wrote:
> Is it possible to only generate the OSGi Manifest with maven-bundle-plugin?

"Adding OSGi metadata to existing projects without changing the
packaging type"

at:

http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html

-h

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