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.
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)
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.
Also, the folder ".mvn" should be made visible in the "Files" view, by updating the "Ignored Files Pattern" under Tools -> Options -> Miscellaneous -> Files