9.x的Jetty-all-server在哪里? [英] Where is jetty-all-server for 9.x?

查看:444
本文介绍了9.x的Jetty-all-server在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在将项目中的码头版本从8.x升级到9.x.

We're upgrading the jetty version from 8.x to 9.x in our project.

org.eclipse.jetty.aggregate:jetty-all-server:8.1.7.v20120910

但是对于9.x,我找不到jetty-all-server了,而是找到了org.eclipse.jetty.aggregate:jetty-all:9.2.7.v20150116,请注意程序包名称已更改为jetty-all

But for 9.x, I can't find jetty-all-server anymore, instead, I found org.eclipse.jetty.aggregate:jetty-all:9.2.7.v20150116, notice the package name has changed to jetty-all

所以我想知道jetty-all-server是否在8.x处停止,并且将其名称更改为在9.x处的jetty-all?还是将来会在9.x上推出新的jetty-all-server?

So I wonder is jetty-all-server stopped at 8.x and it changes the name to jetty-all at 9.x? Or there will be new jetty-all-server at 9.x in the future?

推荐答案

对于Jetty 9,没有jetty-all-server这样的东西.

There is no such thing as jetty-all-server for Jetty 9.

由于Jetty的组成部分实际上相互冲突,所以整个聚合概念实际上不再可行.出于对bootclasspath的要求,为spdy/http2支持引入了npn/alpn也使聚合成为不可能.

Seeing as there are so many components of Jetty that are, in fact, conflicting with each other, the whole aggregate concept is really not viable any more. The introduction of npn/alpn for the spdy/http2 support also makes the aggregate impossible due to bootclasspath requirements.

带有聚集体的码头群的选择是使聚集体的每个排列(当前位于400多种不同的组合中)或不进行任何排列.

The choices for the jetty group with aggregates are to either make every permutation of aggregates (currently standing at over 400 different combinations) or none.

我们离开了jetty-all,这是一个有用的工具,可用于码头文档中以开始/介绍码头阶段,但这绝对不适用于生产用途.

We left jetty-all as a helpful one for use in the jetty-documentation for the getting started / introduction to Jetty phases, but it is absolutely inappropriate for production use.

使用构建工具(maven,gradle,ivy,buildr,grape,sbt,leinengen,eclipse,intellij,netbeans,make,shell脚本等),然后将标准码头的组件添加到您的项目中.您甚至可以自己汇总.

Use a build tool (maven, gradle, ivy, buildr, grape, sbt, leinengen, eclipse, intellij, netbeans, make, shell script, etc..) and add the components from standard jetty to your project. You can even make an aggregate of your own.

这篇关于9.x的Jetty-all-server在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆