Hello all,

Brian Topping wrote
> 
> What I'm guessing is that this is really all very irrelevant to what I am
> trying to do, which is cause Karaf to load a wrapped jar (postgresql to be
> specific).  It appears that is not possible because if the bundle metadata
> is not available, the jar is not added.  It might be useful instead to
> have such a jar added to the features as a "wrap:mvn:" protocol artifact.
> 

I noticed the same thing while creating a patch for reference: protocol
which would be handy with M2E's ability of resolving artifacts from Eclipse
workspace prior they even reach the mvn: protocols visibility. But that's
another story soon to be continued at JIRA
 
The code requires manifest in order to determine whether or not to use
wrapping but I think that the trunk already contains a fix for this case so
you might want to try out 3.0.0-SNAPSHOT. Artifact has to be a jar file for
this to work and I don't think that Pax URL Wrap would even accept other
than jars.

€0.02...

--
Tuomas

--
View this message in context: 
http://karaf.922171.n3.nabble.com/Bundles-parameter-of-features-maven-plugin-generate-features-xml-tp3885138p3886583.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to