Hi all, hope everyone is doing well.  Happy spring to those of you in the 
northern hemisphere!

I'm just coming out of hibernation myself and looking at the 
features-maven-plugin and the generate-feature-xml goal in particular.  The 
main plugin page links to 
http://karaf.apache.org/manual/2.2.5/developers-guide/features-maven-plugin-generate.html,
 but it doesn't appear to to be quite accurate, for instance the goal in the 
example is shown as "generate" when the page that linked to this one said the 
page non-deprecated goal was "generate-features-xml".

Muddling through it, I see a lot of references to the "bundles" parameter 
around the net, but it never seems to get explained anywhere.  It appears to 
point to a properties file, but when I look at the code, it's just a list of 
artifacts in the form "g/a/v/type".  It was confusing because I've never seen 
properties files that are not "key=value" before.

I'm assuming that the file is a list of bundles that are not provided as 
dependencies in the POM.

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.

$0.02...

Cheers, Brian

Reply via email to