I'm having a small problem constructing a KAR file. Basically, I have a pom
with the type set to KAR. The maven plugin generates a KAR file, which
contains some of the libraries, specifically my OSGI bundles and their
dependencies.

The problem is that the requirements specified in the feature file i.e
<feature>cxf-jaxrs</feature> are not pulled into the KAR file.

I assumed that the KAR file was meant to be a self contained deployment
artifact with no requirement to fetch additional dependencies, thus making
it suitable for production environments where network access is restricted.
Is this assumption incorrect.

As a side note, I attempted to use the karaf assembly task. I've found the
documentation on this goal to be extremely scarce and I've not managed to
find any examples which use this particular goal. When attempting to
learn/use it, I was hit with many null pointer exceptions, leading me to
believe that the assembly goal is buggy. Can someone confirm the status of
this and/or demonstrate a working example?


-- 
Warmest Regards,

Stephen Munro



-- 
Warmest Regards,

Stephen Munro

Reply via email to