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.

Bug 245328 - default maven Profile goal doesn't run
Summary: default maven Profile goal doesn't run
Status: RESOLVED INCOMPLETE
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-30 15:51 UTC by jeffsui
Modified: 2014-07-01 07:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen Shot (137.27 KB, image/png)
2014-06-30 15:51 UTC, jeffsui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jeffsui 2014-06-30 15:51:43 UTC
Created attachment 147830 [details]
Screen Shot

I have been unable to EVER get maven to work with profiling.  I've seen there are various bugs on here but none of the suggested fixes have worked.  

Here is my situation:

1) I created a empty maven project.  Added 1 class with 1 main function: 


public class test {

    public static void main(String[] args) {
        for (int i = 0; i < 5000; i++) {
            System.out.println("HI!");
        }
    }
}

2) Hit profile (both profile project and profile file have the same error).


Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project profileText: Command execution failed. Process exited with an error: -1 (Exit value: -1) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
Comment 1 Petr Cyhelsky 2014-07-01 07:13:35 UTC
Please try to follow the instructions - "Re-run Maven using the -X switch to enable full debug logging" and paste the output here