ammachado opened a new pull request, #1971: URL: https://github.com/apache/camel-spring-boot/pull/1971
Backport of #1970 to `camel-spring-boot-4.22.x`. ## Summary The camel-website build ([example run](https://github.com/apache/camel-website/actions/runs/34718609082/job/103620235677)) builds this branch and fails with Asciidoctor errors on its Debezium starter pages: ``` ERROR (asciidoctor): dropping cells from incomplete row detected end of table file: docs/spring-boot/modules/ROOT/pages/starters/debezium-db2.adoc:129 source: https://github.com/apache/camel-spring-boot.git (branch: camel-spring-boot-4.22.x | start path: docs/spring-boot) ``` The same error shows up for `debezium-mongodb`, `debezium-mysql`, `debezium-oracle`, `debezium-postgres` and `debezium-sqlserver`. **Root cause** (same as #1970). The default value of `camel.component.debezium-*.custom-sanitize-pattern` is a regex with `|` alternations. `UpdateStarterDocPageMojo` wrote default values into the table unescaped, so each `|` opened a new table cell. ## Changes - **`UpdateStarterDocPageMojo`** and the new **`UpdateStarterDocPageMojoTest`**: cherry-picked unchanged from #1970. The generator on this branch was identical to `main` before the fix. - **Regenerated pages**: the pages were regenerated on this branch with its own generator, not copied from `main`. The same ten pages change, one row each: - The six Debezium pages: the `|` in the `custom-sanitize-pattern` default is escaped. - `activemq`, `activemq6`, `amqp`, `jms`: the `eager-poison-body` default `${exception.message}` becomes `$\{exception.message}`. ## Verification - All 12 tests in `camel-spring-boot-generator-maven-plugin` pass on this branch. - I regenerated the pages with `install -Dfastinstall -am` on the ten affected starters. Only the ten rows above changed; `core.adoc` was also regenerated and did not change. - A scan of every generated starter page on this branch finds no option-table row with a cell count other than 4. - Not done: rendering the pages with Asciidoctor locally. ## Related - The `apache/camel` side of the website build failure is covered by apache/camel#26356, apache/camel#26357 and apache/camel#26358. 🤖 Generated with [Claude Code](https://claude.com/claude-code) on behalf of Adriano Machado (@ammachado) _This was generated by an AI agent and may contain inaccuracies. Please verify before relying on it._ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
