Skip to content

Easy Maven registry keys

Grigoriy Myasoedov edited this page Jun 1, 2025 · 1 revision

GMaven registry keys

For go to registry keys press the shift key twice and input - Registry. And start input gmaven.
image

gmaven.lifecycles

Specifies a set of Maven tasks to display in GMaven tool window (comma delimiter).
Default values: 'clean,validate,compile,test,package,verify,install,deploy,site'.
image
The value may contain spaces, for example: clean package,test,install
Then, with one click, several tasks will be completed at once. In this example GMaven tool window will contain three lifecycle nodes: 'clean package','test','install'.
And click on node - 'clean package' performs two tasks at once clean and package.
image
Need re-import.

gmaven.bundled.wrapper.version

The default version of maven that will be downloaded (https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven) and used as default if no others are found.

gmaven.import.library.sync.sources

Sync *-source.jar file on project import for added it to dependency as source. Disabled by default for best performance.

gmaven.mvnd.path

Maven daemon terminal command: - mvnd by default.

gmaven.server.debug

For remote debug maven process. (Only for development).

gmaven.gutter.annotation

Disable/Enable gutter icon for navigation to parent/module/dependency management. Maven bundled plugin should be disabled - so that the values do not intersect (If setting enabled). Maven bundled gutter icons do not always work correctly because require that the project be imported by Maven bundled plugin. image

gmaven.subtask.args

Additional arguments for sub-task execution. Default values: '-am -amd' for resolving others maven sub-modules.

gmaven.fast.open.project

Fast open an existing project. Allows you to start working on a project before all dependencies have been resolved.

gmaven.search.artifact.maven.central

Disable artifacts search in https://search.maven.org/solrsearch/ because it is required internet connection and can be slow. If disabled, the search will work on artifacts from the 'dependencyManagement' block and in all project structure.

gmaven.not.change.java.compiler

Not change IDEA settings in: 'File | Settings | Build, Execution, Deployment | Compiler | Java Compiler' for import process. This allows you to configure the IDE compiler manually. Otherwise, the settings will be updated every time you import a project.

gmaven.server.new

New integration with maven model reader plugin via file. Enabled by default since 242.1 GMaven version. This will allow us to greatly simplify integration with the Maven daemon (MVND) and WSL in the future. Disable it to return to old integration.

gmaven.process.jsonPrettyPrinting

Maven model reader plugin - set json pretty printing format for resulting project model gmaven file - .gmaven.pom.json
jsonPrettyPrinting disabled by default for performance.

gmaven.process.remove.result.file

By default after project sync resulting project model gmaven file - ".gmaven.pom.json" will be removed (Default path is root target directory or project root if target folder not exist). Disable it for not removing.

GMAVEN.system.in.process

Do not change! This is the system variable IDEA External System.

Clone this wiki locally