You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Stefano Lenzi <ki...@interfree.it> on 2008/03/12 14:58:36 UTC
maven-bundle-plugin and native code?
Hi All,
How does the maveb-bundle-plugin cope with native code?
AFAIK, it does nothing for native code, am I right?
Do you have any best-practices or advice for coping with native code
that we can add also to the maven-bundle-plugin?
What about interacting with reehep-nar-plugin
(http://java.freehep.org/freehep-nar-plugin/intro.html) or
native-maven-plugin
(http://mojo.codehaus.org/maven-native/native-maven-plugin/) ?
Ciao,
Stefano "Kismet" Lenzi
Re: maven-bundle-plugin and native code?
Posted by Stuart McCulloch <st...@jayway.net>.
On 12/03/2008, Stefano Lenzi <ki...@interfree.it> wrote:
>
> Hi All,
>
> How does the maveb-bundle-plugin cope with native code?
> AFAIK, it does nothing for native code, am I right?
well, native code can be treated like any other resource and
included in the bundle using the Include-Resource instruction
- the bundleplugin doesn't really mind where it comes from
Do you have any best-practices or advice for coping with native code
> that we can add also to the maven-bundle-plugin?
IMHO we don't need to add anything - you'd get the native
code compiled using another maven plugin, or via the exec
or antrun plugins, and then use Include-Resource to place
the native code in the right location in the bundle
What about interacting with reehep-nar-plugin
> (http://java.freehep.org/freehep-nar-plugin/intro.html) or
> native-maven-plugin
> (http://mojo.codehaus.org/maven-native/native-maven-plugin/) ?
this is best done by individual projects, because there are
many plugins and approaches to get the native code - and
even more ways to arrange where it is in the bundle...
Ciao,
> Stefano "Kismet" Lenzi
>
--
Cheers, Stuart