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.
Product Version = NetBeans IDE 8.0.1 (Build 201408251540) Operating System = Linux version 3.2.0-4-686-pae running on i386 Java; VM; Vendor = 1.7.0_67 Runtime = Java HotSpot(TM) Client VM 24.65-b04 The application is a maven app and has more than one main class. One main class is set for 'default_config', another main class is set for an additional config 'config2'.. Although 'config2' is chosen, either in the drop down list or by activating it in the project properties, Run or Debug still starts the application with the main class assigned to 'default_config'.
Just a remark: I've made a regression test going back to 8.0 and profiles work there as expected. Updating to 8.0.1 WITHOUT updating the maven plugin breaks the profiles again. So it's probably not the maven plugin.
*** This bug has been marked as a duplicate of bug 246790 ***