Added maven-profiles to enable switching between yarn and non-yarn