Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Enable productionMode via Maven build

Lubos Bistak
7 years ago Jun 01, 2015 7:53am
Alejandro Duarte
7 years ago Jun 03, 2015 7:42pm
Lubos Bistak
7 years ago Jun 08, 2015 6:27am


thank you for your answer.

I solved this using Filtering in web.xml (point 3.). 
Using Maven Profiles (1. point) is also quite interesting .

... but i would still expect that Vaadin Maven plugin can do this and there is no need to do somev Maven tricks.