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

[camel-quarkus] branch main updated: avro: Fix the documentation about avro schema build time parsing #3270

This is an automated email from the ASF dual-hosted git repository.

aldettinger pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new a331a0d5 avro: Fix the documentation about avro schema build time parsing #3270
a331a0d5 is described below

commit a331a0d504b5736c89a8d9583cd31209c976b177
Author: aldettinger <al...@gmail.com>
AuthorDate: Fri Nov 5 13:17:10 2021 +0100

    avro: Fix the documentation about avro schema build time parsing #3270
---
 docs/modules/ROOT/pages/reference/extensions/avro.adoc  | 2 +-
 extensions/avro/runtime/src/main/doc/configuration.adoc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/modules/ROOT/pages/reference/extensions/avro.adoc b/docs/modules/ROOT/pages/reference/extensions/avro.adoc
index d58ae79..178cc16 100644
--- a/docs/modules/ROOT/pages/reference/extensions/avro.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/avro.adoc
@@ -45,7 +45,7 @@ Beyond standard usages known from vanilla Camel, Camel Quarkus adds the possibil
 
 Since Camel Quarkus 2.0.0, the preferred approach to generate Avro classes from Avro schema files is the one coined by the `quarkus-avro`  extension. It requires the following:
 
-1. Store `*.avsc` files in a resource folder named `avro`.
+1. Store `*.avsc` files in a folder named `src/main/avro` or `src/test/avro`
 2. In addition to the usual `build` goal of `quarkus-maven-plugin`, add the `generate-code` goal:
 +
 [source,xml]
diff --git a/extensions/avro/runtime/src/main/doc/configuration.adoc b/extensions/avro/runtime/src/main/doc/configuration.adoc
index 9a05225..fe57043 100644
--- a/extensions/avro/runtime/src/main/doc/configuration.adoc
+++ b/extensions/avro/runtime/src/main/doc/configuration.adoc
@@ -2,7 +2,7 @@ Beyond standard usages known from vanilla Camel, Camel Quarkus adds the possibil
 
 Since Camel Quarkus 2.0.0, the preferred approach to generate Avro classes from Avro schema files is the one coined by the `quarkus-avro`  extension. It requires the following:
 
-1. Store `*.avsc` files in a resource folder named `avro`.
+1. Store `*.avsc` files in a folder named `src/main/avro` or `src/test/avro`
 2. In addition to the usual `build` goal of `quarkus-maven-plugin`, add the `generate-code` goal:
 +
 [source,xml]