From d3bcbaa3f5a3097dc21b5d94132d6858a0452a7c 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 | 3 +++ package.json | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index d0feefcb46..a97d4aafd3 100644 --- a/README.md +++ b/README.md @@ -240,6 +240,9 @@ The following settings are supported: * `java.edit.smartSemicolonDetection.enabled`: Defines the `smart semicolon` detection. Defaults to `false`. * `java.configuration.detectJdksAtStart`: Automatically detect JDKs installed on local machine at startup. If you have specified the same JDK version in `java.configuration.runtimes`, the extension will use that version first. Defaults to `true`. +New in 1.27.0 +* `java.configuration.maven.lifecycleMappings` : Path to Maven's lifecycle mappings xml. + Semantic Highlighting =============== [Semantic Highlighting](https://github.com/redhat-developer/vscode-java/wiki/Semantic-Highlighting) fixes numerous syntax highlighting issues with the default Java Textmate grammar. However, you might experience a few minor issues, particularly a delay when it kicks in, as it needs to be computed by the Java Language server, when opening a new file or when typing. Semantic highlighting can be disabled for all languages using the `editor.semanticHighlighting.enabled` setting, or for Java only using [language-specific editor settings](https://code.visualstudio.com/docs/getstarted/settings#_languagespecific-editor-settings). diff --git a/package.json b/package.json index 980465e182..7f24a60c40 100644 --- a/package.json +++ b/package.json @@ -659,6 +659,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 } } },