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 7.3 Beta 2 (Build 201211062253) Operating System = Linux version 3.5.0-21-generic running on i386 Java; VM; Vendor = 1.7.0_10 Runtime = Java HotSpot(TM) Client VM 23.6-b04 Maven project works fine normally--can clean and build and run without issue. When using the profiler, maven gives: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (default-cli) on project RESOLVE: The parameters 'executable' for goal org.codehaus.mojo:exec-maven-plugin:1.2:exec are missing or invalid -> [Help 1] Full maven output with -e parameter set follows: cd /home/hamptos/NetBeansProjects/TestRESOLVE/RESOLVE; JAVA_HOME=/usr/lib/jvm/java-7-oracle /usr/local/netbeans-7.3beta2/java/maven/bin/mvn "-Dexec.args=-agentpath:/usr/local/netbeans-7.3beta2/profiler/lib/deployed/jdk16/linux/libprofilerinterface.so=/usr/local/netbeans-7.3beta2/profiler/lib,5140,10 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/hamptos/.cache/netbeans/7.3beta2/mavencachedirs/1222533244/org-netbeans-modules-profiler ${profiler.args} -classpath %classpath edu.clemson.cs.r2jt.Main -newprove -vcs Concepts/Queue/Iterative_Append_Realiz.rb" -Dexec.executable=${profiler.java} "-Dexec.workingdir=/home/hamptos/Research/RESOLVE Workspaces/NewTypes/RESOLVE/Main" -e process-classes org.codehaus.mojo:exec-maven-plugin:1.2:exec Error stacktraces are turned on. Scanning for projects... ------------------------------------------------------------------------ Building RESOLVE 12.09.01a ------------------------------------------------------------------------ [properties:read-project-properties] [antlr3:antlr] ANTLR: Processing source directory /home/hamptos/NetBeansProjects/TestRESOLVE/RESOLVE/src/main/antlr3 ANTLR Parser Generator Version 3.3 Nov 30, 2010 12:46:29 Grammar /home/hamptos/NetBeansProjects/TestRESOLVE/RESOLVE/src/main/antlr3/edu/clemson/cs/r2jt/parsing/RLexer.g is up to date - build skipped Grammar /home/hamptos/NetBeansProjects/TestRESOLVE/RESOLVE/src/main/antlr3/edu/clemson/cs/r2jt/parsing/RParser.g is up to date - build skipped Grammar /home/hamptos/NetBeansProjects/TestRESOLVE/RESOLVE/src/main/antlr3/edu/clemson/cs/r2jt/parsing/RSimpleTrans.g is up to date - build skipped Grammar /home/hamptos/NetBeansProjects/TestRESOLVE/RESOLVE/src/main/antlr3/edu/clemson/cs/r2jt/parsing/RBuilder.g is up to date - build skipped [java-formatter:format] Using 'UTF-8' encoding to format source files. Number of files to be formatted: 619 Successfully formatted: 0 file(s) Fail to format : 0 file(s) Skipped : 619 file(s) Approximate time taken: 3s [resources:resources] [debug] execute contextualize Using 'UTF-8' encoding to copy filtered resources. Copying 0 resource [compiler:compile] Nothing to compile - all classes are up to date [exec:exec] ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 6.428s Finished at: Fri Jan 04 15:29:52 EST 2013 Final Memory: 12M/105M ------------------------------------------------------------------------ Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (default-cli) on project RESOLVE: The parameters 'executable' for goal org.codehaus.mojo:exec-maven-plugin:1.2:exec are missing or invalid -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (default-cli) on project RESOLVE: The parameters 'executable' for goal org.codehaus.mojo:exec-maven-plugin:1.2:exec are missing or invalid at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:221) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginParameterException: The parameters 'executable' for goal org.codehaus.mojo:exec-maven-plugin:1.2:exec are missing or invalid at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:576) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:529) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Re-run Maven using the -X switch to enable full debug logging. For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException
Created attachment 129915 [details] IDE log
profiling of maven projects seems to work fine in recent dev builds, can you please try it there? Also if the problems persist, please give more information about your setup, especially any custom parameters for maven and exact profiling setup.
seems to be duplicate of #220500 it seems, the problem is in setup of parameters for profile action - please see end of comment #0 for explanation and comment #1 for workaround. *** This bug has been marked as a duplicate of bug 220500 ***