You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2021/04/13 11:53:00 UTC

[camel-quarkus] 01/04: Use min-maven-version variable in the docs

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 219e7379f2e350fcf7efb57d551b7135be073e2d
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Mon Apr 12 14:45:02 2021 +0200

    Use min-maven-version variable in the docs
---
 docs/antora.yml                                      | 1 +
 docs/modules/ROOT/pages/contributor-guide/index.adoc | 2 +-
 docs/modules/ROOT/pages/user-guide/first-steps.adoc  | 4 ++--
 pom.xml                                              | 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/docs/antora.yml b/docs/antora.yml
index 675c9e7..ec724dc 100644
--- a/docs/antora.yml
+++ b/docs/antora.yml
@@ -23,3 +23,4 @@ nav:
 asciidoc:
   attributes:
     cq-camel-components: 3.9.x@components # replace ${camel.docs.components.xref}
+    min-maven-version: 3.6.2 # replace ${min-maven-version}
diff --git a/docs/modules/ROOT/pages/contributor-guide/index.adoc b/docs/modules/ROOT/pages/contributor-guide/index.adoc
index b49b1d5..04e68fb 100644
--- a/docs/modules/ROOT/pages/contributor-guide/index.adoc
+++ b/docs/modules/ROOT/pages/contributor-guide/index.adoc
@@ -12,7 +12,7 @@
 * If your are on Linux, `docker` is sufficient for the native mode too. Use `-Pnative,docker` instead of `-Pnative`
   if you choose this option.
 * Java 11
-* Maven 3.6.2+ (unless you use the Maven Wrapper, a.k.a. `mvnw` available in the source tree).
+* Maven {min-maven-version}+ (unless you use the Maven Wrapper, a.k.a. `mvnw` available in the source tree).
 
 [[how-to-build]]
 == How to build
diff --git a/docs/modules/ROOT/pages/user-guide/first-steps.adoc b/docs/modules/ROOT/pages/user-guide/first-steps.adoc
index 965c0af..cb89723 100644
--- a/docs/modules/ROOT/pages/user-guide/first-steps.adoc
+++ b/docs/modules/ROOT/pages/user-guide/first-steps.adoc
@@ -1,14 +1,14 @@
 = First steps
 :page-aliases: first-steps.adoc
 
-The following guide outlines various ways to create a Camel Quarkus project.
+This guide outlines various ways to create a Camel Quarkus project.
 
 == Prerequisites
 
 * A `git` client
 * An IDE
 * JDK 11+ with JAVA_HOME configured appropriately
-* Apache Maven 3.6.2+
+* Apache Maven {min-maven-version}+
 * GraalVM with the `native-image` command installed and the `GRAALVM_HOME` environment variable set. See
   https://quarkus.io/guides/building-native-image-guide[Building a native executable] section of the Quarkus
   documentation.
diff --git a/pom.xml b/pom.xml
index e1f9d5b..536cf23 100644
--- a/pom.xml
+++ b/pom.xml
@@ -182,7 +182,8 @@
         <maven.compiler.testSource>${maven.compiler.source}</maven.compiler.testSource>
 
         <!-- maven-enforcer-plugin -->
-        <supported-maven-versions>[3.6.2,)</supported-maven-versions>
+        <min-maven-version>3.6.2</min-maven-version>
+        <supported-maven-versions>[${min-maven-version},)</supported-maven-versions>
 
         <!-- maven-release-plugin -->
         <tagNameFormat>@{project.version}</tagNameFormat>