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.
It is not possible to profile Maven project when main class is set in project properties. To reproduce: - create new "Maven|Java Application" project - right-click project node and choose Properties - select Run category and browse for App as main class - click OK to save options - right-click project node and choose Profile - click Run to start profiling but it fails Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project mavenproject4: The parameters 'executable' for goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec are missing or invalid -> [Help 1] Product Version: NetBeans IDE Dev (Build 201307232300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Please evaluate.
reproduced, the setting of the main class through the properties dialog also simultaneously changes VM arguments for profile project action to incorrect ones.
fixed in http://hg.netbeans.org/profiler-main/rev/8706fd4eb41b
Integrated into 'main-silver', will be available in build *201307262300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8706fd4eb41b User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #233321 - Do not use obsolete maven profiler integration parameters
*** Bug 220500 has been marked as a duplicate of this bug. ***
Hi I am using NB 7.4 RC1 java 8 Windows 7 In a JavaFX maven project. I'm having the same issue Do you know when will this fix be integrated?
(In reply to mexer from comment #6) > Hi > I am using NB 7.4 RC1 > java 8 > Windows 7 > In a JavaFX maven project. I'm having the same issue > Do you know when will this fix be integrated? Im sorry, I solve the problem. I was trying to run the project without cleaning and Build it first. Nevertheless I think this is an issue. When the user clicks on run the first time, the project should run without problems or telling to the user that he needs to run the build option first