Вопрос

I'm using Tomcat as my production server and I would like to use one of maven plugins in order to run the server from within the IDE. I saw that there are 2 plugins: Tomcat maven plugin and Jetty maven plugin. What are the differences between the two? What are the prons and cons for each?

Это было полезно?

Решение

You should always strive to make your development environment as close to production as possible. Jetty and Tomcat are both similarly easy to use with Maven, so if your production server is Tomcat I'd stick with Tomcat Maven Plugin.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top