Skip to content

Commit

Permalink
Fix parameter name in Gradle extension plugin log and docs
Browse files Browse the repository at this point in the history
(cherry picked from commit 254586d)
  • Loading branch information
glefloch authored and gsmet committed May 16, 2022
1 parent b52cf38 commit 72e8481
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/writing-extensions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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+]
----
Expand All @@ -556,7 +556,7 @@ plugins {
}
quarkusExtension {
deploymentArtifact = 'deployment'
deploymentModule = 'deployment'
}
dependencies {
Expand Down

0 comments on commit 72e8481

Please sign in to comment.