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 254716

Summary: Support project-specific jvm and command line options (Maven 3.3.1+)
Product: projects Reporter: terje7601
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description terje7601 2015-08-25 13:28:50 UTC
Maven allows to have project-specific jvm and command line options, by placing files named "maven.config" and "jvm.config" in a top-level directory named ".mvn" (cf. http://blog.soebes.de/blog/2015/03/17/apache-maven-3-dot-3-1-features/ )

If present, these files should also be shown under "Project Files" of a Maven project.

PS: resolving this bug should go together with upgrading the Maven version that is bundled with NetBeans (at least to version 3.3.1, but preferably to the latest 3.3.3)
Comment 1 terje7601 2015-08-25 13:47:15 UTC
I forgot to mention: the right-click popup-menu of "Project Files" should also be updated with entries "Create mvn.config" and "Create jvm.config"

In addition, it could also be useful to have a GUI for setting these project-specific configuration options.
Comment 2 terje7601 2015-09-26 17:58:58 UTC
Also, the folder ".mvn" should be made visible in the "Files" view, by updating the "Ignored Files Pattern" under Tools -> Options -> Miscellaneous -> Files