简体   繁体   English

如何将Jetty Quickstart与maven-jetty-plugin一起使用?

[英]How to use Jetty Quickstart with maven-jetty-plugin?

I've used the documentation on http://www.eclipse.org/jetty/documentation/current/quickstart-webapp.html to get jetty running using the quickstart mechanism. 我已经使用http://www.eclipse.org/jetty/documentation/current/quickstart-webapp.html上的文档来使用快速启动机制来运行jetty。 However, this feature is not very well documented and therefore I could not get it running. 但是,此功能没有很好的记录,因此我无法运行它。

The Documentation states that a WEB-INF/quickstart-web.xml will be generated, as soon as jetty-quickstart dependency is added, which is not the case. 文档声明,只要添加了jetty-quickstart依赖项,就会生成WEB-INF/quickstart-web.xml ,但实际情况并非如此。

How to enable jetty quickstart when using the maven jetty plugin? 如何在使用maven jetty插件时启用jetty quickstart?

In the jetty-plugin documentation it is stated in the chapter jetty:effective-web-xml that 在jetty-plugin文档中,它在jetty:effective-web-xml一章中说明了

Quickstart is not appropriate for the mvn jetty goals 快速入门不适合mvn码头目标

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM