This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently the NetBeans IDE bundled version of Maven is 3.0.5 (this holds true for NetBeans IDE 8.0, 8.0.1, 8.0.2 and dev-201502170001). As this StackOverflow post explains http://stackoverflow.com/questions/4629140/maven-profile-activation-with-multiple-conditions Maven, prior to the patch in 3.2.2, suffers from a bug when using multiple <activation> tags in profiles. When using multiple tags they function as OR statements rather than the expected AND statements. The issue is fixed upstream, all that is left is updating the http://jira.codehaus.org/browse/MNG-4565 Right now NetBeans IDE's bundled Maven and the upstream Maven build behave wildly different leading to inconsistent behavior when one developer on a team uses the bundled version and another chooses to run Maven from the command line. I suggest to bundle a newer version of Maven with the 8.1 release of NetBeans IDE.
This would also resolve Bug 247988 "Update to Maven 3.2.3" (https://netbeans.org/bugzilla/show_bug.cgi?id=247988)