vaadin-maven-plugin and profiles

Hi,

how to use vaadin-maven-plugin with profiles?

If I add build-frontend goal to vaadin-maven-plugin then profile set by -P maven argument will be ignored and set to active by default,
so @spring.profiles.active@ in spring application.properties file will become default profile instead of set in -P maven argument.

If build-frontend goal removed profiles work fine.


Vitaly