Sample pom.XML for war file in production mode

\u0000How nice if Vaadin can provide a sample production mode project for war file distribution. I seen lot of peoples asking bout production mode war file. \nNow is bit of here and there and a lot of reading \uD83D\uDE05\uD83D\uDE05\uD83D\uDE05\n\nThanks

It is the same pom.xml for both development and production, you just use production profile when you want to create a war file for production. From command line:

mvn install -Pproduction

The latest branch in our docs is bit updated, it applies also for v14 apps:

https://vaadin.com/docs/latest/guide/production