- Yes I removed , the "<resolver>(obr)</resolver>" because it is now
obsolete since karaf-features-1.3.0.
- The "features" name is not the same as the "feature" one.
Since, "features" is :
features name="hello-${project.version}"
and feature is :
feature name='hello'
You indeed could have multiple <feature> tags in a <features> tag named
like hello1,hello2,..
This was more a better design IMHO.
- This is changed by Maven.
Indeed the <resolver> tagwas the main problem.
I'm glad I could help.
Regards,
Morgan
On 2015-12-28 14:26, [email protected] wrote:
Hi, and thank you very much for your quick reply!
Indeed I have questions, because I don't really get what you did nor
why it now works :)
- In the feature's pom.xml, you removed the <resolver>(obr)</resolver>
tag. I don't understand why it was there in the first place, I think I
copied it from a tutorial
(http://www.liquid-reality.de/display/liquid/2011/02/15/Karaf+Tutorial+Part+1+-+Installation+and+First+application)
- You also changed the bundle name from "features" to "hello". Was
this necessary or was it just for clarity? Now the name of the bundle,
of the "features" name attribute in the feature.xml file and the
"feature" subelement name attribute in this file are all the same,
which one is used in the assembly pom in the end? I guess the bundle
name in the <dependency> element and the feature (no S) in the
<feature> element... Could I have a hello1 and hello2 features in this
feature.xml file?
- You modified the history/dependencies.xml file (or was it
automatically changed by Maven?)
In the end, it seems to me that the only real bug was this obr
resolver... Or did I miss something?
Kind regards,
Ben