When i have this settings.xml file in my user home dir, the activeProfile setting is simply ignored by Maven:
<settings>
<activeProfiles>
<activeProfile>env-test</activeProfile>
</activeProfiles>
</settings>
Adding an empty profiles section does not help:
<settings>
<profiles>
</profiles>
<activeProfiles>
<activeProfile>env-test</activeProfile>
</activeProfiles>
</settings>
Well, adding a dummy profile makes it work:
<settings>
<profiles>
<profile>
<id>dummy</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>env-test</activeProfile>
</activeProfiles>
</settings>
Funny, isn't it?
Regards,
Manfred
Assuming the activeProfiles section is only there to activate profiles that you've provided, how would you expect this to act?