Hi,

I have a question about the feature processing.

I have afile "etc/org.apache.karaf.features.xml" that looks like:

<?xml version="1.0" encoding="UTF-8"?>
<featuresProcessing
xmlns="http://karaf.apache.org/xmlns/features-processing/v1.0.0";
xmlns:f="http://karaf.apache.org/xmlns/features/v1.5.0";>
  <bundlebundleReplacements>
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-client/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-client/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-continuation/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-continuation/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-deploy/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-deploy/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-http/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-http/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-io/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-io/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-jaas/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-jaas/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-jmx/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-jmx/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-jndi/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-jndi/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-plus/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-plus/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-proxy/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-proxy/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-rewrite/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-rewrite/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-security/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-security/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-jaspi/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-jaspi/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-server/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-server/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-servlet/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-servlet/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-servlets/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-servlets/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-util/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-util/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-util-ajax/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-util-ajax/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-webapp/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-webapp/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty/jetty-xml/[9,10)"
replacement="mvn:org.eclipse.jetty/jetty-xml/9.4.20.v20190813"
mode="maven" />
    <bundle 
originalUri="mvn:org.eclipse.jetty.websocket/javax-websocket-client-impl/[9,10)"
replacement="mvn:org.eclipse.jetty.websocket/javax-websocket-client-impl/9.4.20.v20190813"
mode="maven" />
    <bundle 
originalUri="mvn:org.eclipse.jetty.websocket/javax-websocket-server-impl/[9,10)"
replacement="mvn:org.eclipse.jetty.websocket/javax-websocket-server-impl/9.4.20.v20190813"
mode="maven" />
    <bundle originalUri="mvn:org.eclipse.jetty.websocket/websocket-api/[9,10)"
replacement="mvn:org.eclipse.jetty.websocket/websocket-api/9.4.20.v20190813"
mode="maven" />
    <bundle 
originalUri="mvn:org.eclipse.jetty.websocket/websocket-client/[9,10)"
replacement="mvn:org.eclipse.jetty.websocket/websocket-client/9.4.20.v20190813"
mode="maven" />
    <bundle 
originalUri="mvn:org.eclipse.jetty.websocket/websocket-common/[9,10)"
replacement="mvn:org.eclipse.jetty.websocket/websocket-common/9.4.20.v20190813"
mode="maven" />
    <bundle 
originalUri="mvn:org.eclipse.jetty.websocket/websocket-server/[9,10)"
replacement="mvn:org.eclipse.jetty.websocket/websocket-server/9.4.20.v20190813"
mode="maven" />
    <bundle 
originalUri="mvn:org.eclipse.jetty.websocket/websocket-servlet/[9,10)"
replacement="mvn:org.eclipse.jetty.websocket/websocket-servlet/9.4.20.v20190813"
mode="maven" />
  </bundlebundleReplacements>
</featuresProcessing>

Shouldn't such a file prevent me from situations like this one:

191 │ Active    │  80 │ 9.4.18.v20190429        │
mvn:org.eclipse.jetty/jetty-http/9.4.18.v20190429
192 │ Active    │  30 │ 9.4.20.v20190813        │
mvn:org.eclipse.jetty/jetty-http/9.4.20.v20190813

210 │ Active    │  80 │ 9.4.18.v20190429        │
mvn:org.eclipse.jetty.websocket/websocket-common/9.4.18.v20190429
211 │ Active    │  30 │ 9.4.20.v20190813        │
mvn:org.eclipse.jetty.websocket/websocket-common/9.4.20.v20190813

My question is about the "feature processing" feature itself and not
about how this situation could be prevented otherwise. ;)

Grzegorz Grzybek, perhaps you can give me more insights to that feature.

Best regards,
Markus

Reply via email to