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 167311 - maven exec fail
Summary: maven exec fail
Status: RESOLVED DUPLICATE of bug 153644
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 15:30 UTC by anthavio
Modified: 2009-06-18 20:30 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anthavio 2009-06-18 15:30:50 UTC
In netbeans 6.7 Only way to run class with main in maven project is via exec-maven-plugin (eclipse can run any class
with main, using maven calculated classpath)
Maven is executed via cmd.exe /X /C ... and it fail with "Result of Result of cmd.exe /X /C "" execution is: '-1'.
Because project has lots of dependencies, reason of exec fail is "The input line is too long." WinXP cmd problem. So it
is impossible to run any bigger maven project inside Netbeans on WinXP. 
This is more problem of maven exec plugin then netbeans, so solution should be something similar to eclipse's.
Comment 1 Milos Kleint 2009-06-18 20:30:07 UTC
duplicate of #153644



*** This issue has been marked as a duplicate of 153644 ***