Maven 2 settings.xml

Strange thing, if you use a <activeByDefault>true</activeByDefault> in a profile, and then checking for activated profiles using mvn help:active-profiles, shows the profile id containing the above element (child of activation element) twice?? So does it mean it is activated twice? Anyways, I added a <activeProfiles> element in the settings.xml and removed the above element from the affected profile, now reissuing the mvn help:active-profiles, the profile id shows up only once.

Another one of those mysterious maven 2 things, sigh.

Leave a Comment