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 - Support project-specific jvm and command line options (Maven 3.3.1+)
Summary: Support project-specific jvm and command line options (Maven 3.3.1+)
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2015-08-25 13:28 UTC by terje7601
Modified: 2016-02-16 20:33 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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. )

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