Launch of the pier-maven-plugin in production

I am working on a smart new web application and I like the jetty-maven plugin that helps me in my work.

Has anyone tried to run an application with an add-on plugin in a production environment? What are the pros and cons? Are there security or performance issues?

+4
source share
1 answer

The Jetty-maven-plugin module is a development tool and is not recommended as a production deployment mechanism. Since you are deploying a war file, you should look at using the berth distribution to deploy production, in turn you can simply use the built-in marina to launch your web application, and then you can structure your application in any form you like, be it the main method () either create your own startup engine or just use something like the maven appassembler plugin if you want.

Thus, while the security or performance issue associated with the Jetty-maven plugin for use in a production deployment may not be known, neither he nor maven should be considered a replacement for standard deployment methods.

+2
source

Source: https://habr.com/ru/post/1497603/


All Articles