Pavel Vyazankin
Pavel Vyazankin

Reputation: 1590

Running jetty-maven-plugin in production

I'm working on smart new web application, and I like jetty-maven-plugin that helps me in my work.

Did somebody tryied running app with jetty-maven-plugin in production environment? What are pros & cons? Are there any security or performance issues?

Upvotes: 4

Views: 1210

Answers (1)

jesse mcconnell
jesse mcconnell

Reputation: 7182

The jetty-maven-plugin is a development tool and is not recommended as a production deployment mechanism. Since you are deploying a war file then you should look to using the jetty distribution for production deployment, alternately you can look to just using jetty embedded to start up your webapp and then you are free to structure your own application in any form you like, be it a main() method or building your own start up mechanism or just using something like the maven appassembler plugin if you like.

So while there may not be any known security or performance issue related to the jetty-maven-plugin for use in production deployment, neither it nor maven itself should be viewed as a replacement for standard production deployment practices.

Upvotes: 2

Related Questions