This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 45259415e6cc4554b6ac71d7b57962dd28df7455 Author: Peter Palaga <[email protected]> AuthorDate: Tue Apr 13 12:07:16 2021 +0200 Use AsciiDoc variable for Quarkus version in the documentation #2163 --- docs/antora.yml | 1 + docs/modules/ROOT/pages/user-guide/first-steps.adoc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/antora.yml b/docs/antora.yml index ec724dc..c15e4b9 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -24,3 +24,4 @@ asciidoc: attributes: cq-camel-components: 3.9.x@components # replace ${camel.docs.components.xref} min-maven-version: 3.6.2 # replace ${min-maven-version} + quarkus-version: 1.13.1.Final # replace ${quarkus.version} diff --git a/docs/modules/ROOT/pages/user-guide/first-steps.adoc b/docs/modules/ROOT/pages/user-guide/first-steps.adoc index cb89723..0e814f3 100644 --- a/docs/modules/ROOT/pages/user-guide/first-steps.adoc +++ b/docs/modules/ROOT/pages/user-guide/first-steps.adoc @@ -27,9 +27,9 @@ When the project archive download has completed successfully, unzip and import i Quarkus provides a Maven plugin that enables you to quickly bootstrap projects. For example, to create a project skeleton that includes the `timer` and `log` component extensions: -[source,shell] +[source,shell,subs="attributes"] ---- -$ mvn io.quarkus:quarkus-maven-plugin:1.11.0.Final:create \ +$ mvn io.quarkus:quarkus-maven-plugin:{quarkus-version}.Final:create \ -DprojectGroupId=org.acme \ -DprojectArtifactId=getting-started \ -Dextensions=camel-quarkus-log,camel-quarkus-timer
