[OSNG-295] Add Maven profiles for H2 and postgres runs