Hi Markus, I'm suggesting to take a look on the Karaf http feature. It provides the Karaf ProxyService (see http://blog.nanthrax.net/?p=830 for details). The Karaf proxy works with any webcontainer (jetty, tomcat, undertow) that can run in Karaf.
If you want to use the Jetty transport proxy servlet yourself, you can add this as private package. It's exactly what I do in Decanter backend: https://github.com/apache/karaf-decanter/blob/master/backend/kibana-6.x/src/main/java/org/apache/karaf/decanter/kibana6/Activator.java You can see the bundle I did, using jetty proxy servlet as private package (it's just a servlet after all ;) ): https://github.com/apache/karaf-decanter/blob/master/backend/kibana-6.x/pom.xml#L53 https://github.com/apache/karaf-decanter/blob/master/backend/kibana-6.x/pom.xml#L88 So, I don't think jetty-proxy should be part of the http/jetty feature. Regards JB On 10/06/2019 10:04, Markus Rathgeb wrote: > Hello, > > the Karaf distributions contains features for jetty. > Mainly there are the jetty one in the standard feature repo and > pax-jetty in the pax web feature repo. > > Both feature repos does not contain a feature that provides the > jetty-proxy bundle. > > With every Karaf bump I need to modify a feature of mine for > jetty-proxy to align the jetty version used by the Karaf distribution. > > Would it be possible to add that bundle to the respective features? > Perhaps using dependency="true" so it is not installed if not needed? > > Best regards, > Markus > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
