You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Paul Stanley <pj...@live.co.uk> on 2022/07/11 14:26:19 UTC
Circular feature dependency?
Hello,
Just a quick observation. There appears to be a circular dependency between the karaf standard feature and the pax-web feature. To deal with the problem the pax-web-service references an old version of karaf. e.g pax-web-8.0.6 references Karaf version 4.7.3.
Is this going to cause any issues going forward?
Thanks
Paul
Get TypeApp for Android<http://www.typeapp.com/r>
Re: Circular feature dependency?
Posted by Paul Stanley <pj...@live.co.uk>.
Ok. Thanks for letting us know.
Paul
Get TypeApp for Android<http://www.typeapp.com/r>
On 11 Jul 2022, at 15:30, Grzegorz Grzybek <gr...@gmail.com>> wrote:
Hello
Pax Web 8 features use a kind of "loose coupling" to Karaf features. It
doesn't use `<repository>` element in
https://github.com/ops4j/org.ops4j.pax.web/blob/main/pax-web-features/src/main/resources/features.xml,
just this:
<feature name="pax-web-karaf" description="Pax Web Karaf integration"
version="${project.version}">
...
<feature>shell</feature>
And Karaf should provide "shell" feature - in any version.
The fact that Pax Web 8 POM have concrete version of Karaf isn't relevant
from features point of view.
kind regards
Grzegorz Grzybek
pon., 11 lip 2022 o 16:26 Paul Stanley <pj...@live.co.uk> napisał(a):
Hello,
Just a quick observation. There appears to be a circular dependency
between the karaf standard feature and the pax-web feature. To deal with
the problem the pax-web-service references an old version of karaf. e.g
pax-web-8.0.6 references Karaf version 4.7.3.
Is this going to cause any issues going forward?
Thanks
Paul
Get TypeApp for Android<http://www.typeapp.com/r>
Re: Circular feature dependency?
Posted by Grzegorz Grzybek <gr...@gmail.com>.
Hello
Pax Web 8 features use a kind of "loose coupling" to Karaf features. It
doesn't use `<repository>` element in
https://github.com/ops4j/org.ops4j.pax.web/blob/main/pax-web-features/src/main/resources/features.xml,
just this:
<feature name="pax-web-karaf" description="Pax Web Karaf integration"
version="${project.version}">
...
<feature>shell</feature>
And Karaf should provide "shell" feature - in any version.
The fact that Pax Web 8 POM have concrete version of Karaf isn't relevant
from features point of view.
kind regards
Grzegorz Grzybek
pon., 11 lip 2022 o 16:26 Paul Stanley <pj...@live.co.uk> napisał(a):
> Hello,
>
> Just a quick observation. There appears to be a circular dependency
> between the karaf standard feature and the pax-web feature. To deal with
> the problem the pax-web-service references an old version of karaf. e.g
> pax-web-8.0.6 references Karaf version 4.7.3.
> Is this going to cause any issues going forward?
>
> Thanks
> Paul
>
> Get TypeApp for Android<http://www.typeapp.com/r>
>