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.
Adding arguments to a Maven project results in a misconfigured "Profile project" action: exec.args=${profiler.args} -classpath %classpath ${packageClassName} foo exec.executable=${profiler.java} Above, adding a "foo" argument in Project properties > Run results in the addition of ${profiler.args} and ${profiler.java} to the "Profile project" action. Neither of these profiler properties are defined, resulting in the error below when attempting to profile the project: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project: The parameters 'executable' for goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec are missing or invalid -> [Help 1]
Workaround: Edit the "Profile project" action, removing ${profiler.args} and replacing ${profiler.java} with "java". exec.args=-classpath %classpath ${packageClassName} foo exec.executable=java
Out of curiosity, isn't this a regression? I'd be surprised if older versions used to break this way.
(In reply to comment #2) > Out of curiosity, isn't this a regression? I'd be surprised if older versions > used to break this way. Yes, it used to work in 7.2.
*** Bug 224509 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 233321 ***