From 4d7f600609728fe1d66dbaa83091ade941fc93c1 Mon Sep 17 00:00:00 2001 From: Snjezana Peco Date: Thu, 21 Dec 2023 20:06:55 +0100 Subject: [PATCH] Add support for externally provided 'lifecycle-mapping-metadata.xml' file Signed-off-by: Snjezana Peco --- README.md | 1 + package.json | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 502544db87..adb2e7472b 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,7 @@ The following settings are supported: * `java.templates.typeComment`: Specifies the type comment for new Java type. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](https://github.com/redhat-developer/vscode-java/wiki/Predefined-Variables-for-Java-Template-Snippets). * `java.references.includeAccessors`: Include getter, setter and builder/constructor when finding references. Default to true. * `java.configuration.maven.globalSettings` : Path to Maven's global settings.xml. +* `java.configuration.maven.lifecycleMappings` : Path to Maven's lifecycle mappings xml. * `java.eclipse.downloadSources` : Enable/disable download of Maven source artifacts for Eclipse projects. * `java.references.includeDecompiledSources` : Include the decompiled sources when finding references. Default to true. * `java.project.sourcePaths`: Relative paths to the workspace where stores the source files. `Only` effective in the `WORKSPACE` scope. The setting will `NOT` affect Maven or Gradle project. diff --git a/package.json b/package.json index c9901d81fc..be80927121 100644 --- a/package.json +++ b/package.json @@ -619,6 +619,13 @@ "description": "Specifies default mojo execution action when no associated metadata can be detected.", "scope": "window", "order": 90 + }, + "java.configuration.maven.lifecycleMappings": { + "type": "string", + "default": null, + "description": "Path to Maven's lifecycle mappings xml", + "scope": "window", + "order": 100 } } },