JSP Jetty 9.3 支持

JSP support in Jetty 9.3

我正在尝试将嵌入式 Jetty 从旧版本 (9.3.0.M1) 升级到最新版本 (9.3.2.v20150730 截至目前)。 我正在使用 JSP 并且当前的 Maven 依赖项如下:

<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-jsp</artifactId>
    <version>9.3.0.M1</version>
</dependency>

但是我在 maven central 中找不到此依赖项的新版本。

在 Jetty 9.3 9.3.0.M1 之后,他们似乎还没有发布新的 jetty-jsp 工件。所有其他码头相关工件的新版本都可用。

为了 JSP 支持最新 Jetty 版本,我应该使用什么替代方案?

我从 jett-users 邮件列表中得到了答案。更新的依赖项是:

    <dependency>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>apache-jsp</artifactId>
        <version>${jetty.version}</version>
    </dependency>

此外,来自 jetty-announce 列表:

The 9.2 release has switched to using the Apache version of Jasper for JSP and JSTL. Early releases of Jetty used these implementations, but switched to Glassfish when it became the reference implementation. However the Apache version is now more rigorously maintained and hence we have switched back. Currently we are using a slightly modified version of 8.0.3, however our modifications have been contributed back to apache and have been accepted for their 8.0.9 release, so we will soon switch to using a standard jar from Apache.

显然他们已经从 Apache 切换回标准 jar。