Maven 2 & 3

[regression] project.getActiveProfiles() has not the same behaviour