Hi Zoran, > On Mar 15, 2020, at 6:28 AM, Zoran Regvart <[email protected]> wrote: > > Hi David, > > On Sat, Mar 14, 2020 at 6:51 AM David Jencks <[email protected]> wrote: >> FWIW there are a few errors from other components building the site: >> >> asciidoctor: WARNING: contributor-guide.adoc: line 123: invalid style for >> listing block: code >> asciidoctor: WARNING: native-mode.adoc: line 11: invalid style for listing >> block: code >> asciidoctor: WARNING: native-mode.adoc: line 20: invalid style for listing >> block: code >> asciidoctor: WARNING: skipping reference to missing attribute: camel-version >> asciidoctor: WARNING: skipping reference to missing attribute: server-name >> asciidoctor: WARNING: skipping reference to missing attribute: database-name >> asciidoctor: WARNING: skipping reference to missing attribute: table-name >> asciidoctor: WARNING: skipping reference to missing attribute: server-name >> asciidoctor: WARNING: skipping reference to missing attribute: database-name >> asciidoctor: WARNING: skipping reference to missing attribute: table-name >> asciidoctor: WARNING: skipping reference to missing attribute: server-name >> asciidoctor: WARNING: skipping reference to missing attribute: database-name >> asciidoctor: WARNING: skipping reference to missing attribute: table-name >> asciidoctor: WARNING: skipping reference to missing attribute: server-name >> asciidoctor: WARNING: skipping reference to missing attribute: database-name >> asciidoctor: WARNING: skipping reference to missing attribute: table-name >> >> The first three are in camel-quarkus. I haven’t found the others. > > I see server-name, database-name, table-name appearing in the Debezium > component docs. Perhaps it would be a good task for Outreachy > applicants to find and fix those (CAMEL-13923). We could work on > adding a check either to the build - to scan the output and fail on > these warnings; or in the Maven tooling to check for these issues. > That way we would fail quickly and correct these.
It’s going to be easy to make the maven build break on Antora errors and/or warnings after https://gitlab.com/antora/antora/-/issues/145 is finished and probably not worth it before then (I implemented most of one solution for this: I hope it gets into Antora 3). I ran the build against my logging antora version and got this more precise information: version: latest component: camel-quarkus file: modules/ROOT/pages/contributor-guide.adoc path contributor-guide.adoc lineno: 123 message: invalid style for listing block: code version: latest component: camel-quarkus file: modules/ROOT/pages/native-mode.adoc path native-mode.adoc lineno: 11 message: invalid style for listing block: code version: latest component: camel-quarkus file: modules/ROOT/pages/native-mode.adoc path native-mode.adoc lineno: 20 message: invalid style for listing block: code version: 3.0.x component: components file: undefined path modules/ROOT/pages/azure-blob-component.adoc lineno: undefined message: skipping reference to missing attribute: camel-version version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-mongodb-component.adoc lineno: undefined message: skipping reference to missing attribute: server-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-mongodb-component.adoc lineno: undefined message: skipping reference to missing attribute: database-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-mongodb-component.adoc lineno: undefined message: skipping reference to missing attribute: table-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-mysql-component.adoc lineno: undefined message: skipping reference to missing attribute: server-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-mysql-component.adoc lineno: undefined message: skipping reference to missing attribute: database-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-mysql-component.adoc lineno: undefined message: skipping reference to missing attribute: table-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-postgres-component.adoc lineno: undefined message: skipping reference to missing attribute: server-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-postgres-component.adoc lineno: undefined message: skipping reference to missing attribute: database-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-postgres-component.adoc lineno: undefined message: skipping reference to missing attribute: table-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-sqlserver-component.adoc lineno: undefined message: skipping reference to missing attribute: server-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-sqlserver-component.adoc lineno: undefined message: skipping reference to missing attribute: database-name version: 3.0.x component: components file: undefined path modules/ROOT/pages/debezium-sqlserver-component.adoc lineno: undefined message: skipping reference to missing attribute: table-name Thanks David Jencks
