From 72e8481a553fe282ae16f4965cdf59b928bae1ac Mon Sep 17 00:00:00 2001 From: Guillaume Le Floch Date: Sun, 15 May 2022 21:35:02 +0200 Subject: [PATCH] Fix parameter name in Gradle extension plugin log and docs (cherry picked from commit 254586ddbe3e1706f3c1493b921525f69facc84e) --- .../io/quarkus/extension/gradle/QuarkusExtensionPlugin.java | 2 +- docs/src/main/asciidoc/writing-extensions.adoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/devtools/gradle/gradle-extension-plugin/src/main/java/io/quarkus/extension/gradle/QuarkusExtensionPlugin.java b/devtools/gradle/gradle-extension-plugin/src/main/java/io/quarkus/extension/gradle/QuarkusExtensionPlugin.java index 7add0bae4e14b..7752084a678d3 100644 --- a/devtools/gradle/gradle-extension-plugin/src/main/java/io/quarkus/extension/gradle/QuarkusExtensionPlugin.java +++ b/devtools/gradle/gradle-extension-plugin/src/main/java/io/quarkus/extension/gradle/QuarkusExtensionPlugin.java @@ -143,7 +143,7 @@ private Project findDeploymentProject(Project project, QuarkusExtensionConfigura } if (deploymentProject == null) { project.getLogger().warn("Unable to find deployment project with name: " + deploymentProjectName - + ". You can configure the deployment project name by setting the 'deploymentArtifact' property in the plugin extension."); + + ". You can configure the deployment project name by setting the 'deploymentModule' property in the plugin extension."); } } return deploymentProject; diff --git a/docs/src/main/asciidoc/writing-extensions.adoc b/docs/src/main/asciidoc/writing-extensions.adoc index 02e8ad4398422..e3dc6a649f1f0 100644 --- a/docs/src/main/asciidoc/writing-extensions.adoc +++ b/docs/src/main/asciidoc/writing-extensions.adoc @@ -546,7 +546,7 @@ Please refer to https://github.com/quarkusio/quarkus/blob/{quarkus-version}/devt You will need to apply the `io.quarkus.extension` plugin in the `runtime` module of your extension project. The plugin includes the `extensionDescriptor` task that will generate `META-INF/quarkus-extension.properties` and `META-INF/quarkus-extension.yml` files. The plugin also enables the `io.quarkus:quarkus-extension-processor` annotation processor in both `deployment` and `runtime` modules. -The name of the deployment module can be configured in the plugin by setting the `deploymentArtifact` property. The property is set to `deployment` by default: +The name of the deployment module can be configured in the plugin by setting the `deploymentModule` property. The property is set to `deployment` by default: [source,groovy,subs=attributes+] ---- @@ -556,7 +556,7 @@ plugins { } quarkusExtension { - deploymentArtifact = 'deployment' + deploymentModule = 'deployment' } dependencies {