vaadin-maven-plugin and profiles


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 in spring file will become default profile instead of set in -P maven argument.

If build-frontend goal removed profiles work fine.