The level of details for the website build is great. Especially I like that
the log shows 'refname'. I'm always confused to see warns even if I fix up
the main branch.

On Tue, Aug 17, 2021 at 8:27 PM Claus Ibsen <[email protected]> wrote:

> Hi
>
> Oh that is great to see more detailed WARN / ERROR as today we get too
> limited information so its almost a needle in the haystack where the
> problem really is.
> And you have to hunt across the sub projects and their docs as well to
> find it.
>
> At least the file name as above will be a great pointer to find the
> problem.
>
> On Tue, Aug 17, 2021 at 7:53 AM David Jencks <[email protected]>
> wrote:
> >
> > Related to my proposal to change how component pages are (partially)
> generated I expect to be proposing to move to the latest Antora 3 alpha.
> In particular this has logging and the ability to be configured to fail on
> log levels, in particular warnings.  This will make the xref-checker
> obsolete, as logging provides more detailed information.
> >
> > Currently the warnings and errors from the build are:
> >
> > [22:44:07.521] WARN (asciidoctor): skipping reference to missing
> attribute: myclient
> >     file: docs/user-manual/modules/ROOT/pages/route-template.adoc
> >     source: https://github.com/apache/camel.git (refname: main, start
> path: docs/user-manual)
> > [22:44:07.524] WARN (asciidoctor): skipping reference to missing
> attribute: myclient
> >     file: docs/user-manual/modules/ROOT/pages/route-template.adoc
> >     source: https://github.com/apache/camel.git (refname: main, start
> path: docs/user-manual)
> > [22:44:29.764] WARN (asciidoctor): skipping reference to missing
> attribute: body
> >     file: docs/components/modules/languages/pages/simple-language.adoc
> >     source: https://github.com/apache/camel.git (refname: camel-3.11.x,
> start path: docs/components)
> > [22:45:12.893] WARN (asciidoctor): skipping reference to missing
> attribute: body
> >     file: docs/components/modules/languages/pages/simple-language.adoc
> >     source: https://github.com/apache/camel.git (refname: main, start
> path: docs/components)
> > [22:45:47.775] WARN (asciidoctor): skipping reference to missing
> attribute: 8
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.776] WARN (asciidoctor): skipping reference to missing
> attribute: 4
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.776] WARN (asciidoctor): skipping reference to missing
> attribute: 4
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.776] WARN (asciidoctor): skipping reference to missing
> attribute: 4
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.776] WARN (asciidoctor): skipping reference to missing
> attribute: 12
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.776] WARN (asciidoctor): skipping reference to missing
> attribute: 8
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.776] WARN (asciidoctor): skipping reference to missing
> attribute: 4
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 3
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 4
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 12
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 8
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 4
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 3
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 3
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 12
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 8
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 4
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 3
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.777] WARN (asciidoctor): skipping reference to missing
> attribute: 3
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.778] WARN (asciidoctor): skipping reference to missing
> attribute: 12
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.778] WARN (asciidoctor): skipping reference to missing
> attribute: 12
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.778] WARN (asciidoctor): skipping reference to missing
> attribute: 3
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.778] WARN (asciidoctor): skipping reference to missing
> attribute: 14
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.778] WARN (asciidoctor): skipping reference to missing
> attribute: 12
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.778] WARN (asciidoctor): skipping reference to missing
> attribute: 13
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.779] WARN (asciidoctor): skipping reference to missing
> attribute: 11
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.779] WARN (asciidoctor): skipping reference to missing
> attribute: 3
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.779] WARN (asciidoctor): skipping reference to missing
> attribute: 11
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.780] WARN (asciidoctor): skipping reference to missing
> attribute: 3
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.780] WARN (asciidoctor): skipping reference to missing
> attribute: 2
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.780] WARN (asciidoctor): skipping reference to missing
> attribute: 4
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.780] WARN (asciidoctor): skipping reference to missing
> attribute: 3
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:47.781] WARN (asciidoctor): skipping reference to missing
> attribute: 6
> >     file: docs/modules/ROOT/pages/apis/crds-html.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:48.245] WARN (asciidoctor): skipping reference to missing
> attribute: period
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:48.245] WARN (asciidoctor): skipping reference to missing
> attribute: lookahead
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:48.245] WARN (asciidoctor): skipping reference to missing
> attribute: period
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:48.246] WARN (asciidoctor): skipping reference to missing
> attribute: lookahead
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:48.248] WARN (asciidoctor): skipping reference to missing
> attribute: period
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname: main, start
> path: docs)
> > [22:45:49.586] WARN (asciidoctor): unterminated listing block
> >     file: docs/modules/ROOT/pages/contributing/developers.adoc:230
> >     source: https://github.com/apache/camel-k.git (refname:
> release-1.4.x, start path: docs)
> > [22:45:49.825] WARN (asciidoctor): skipping reference to missing
> attribute: period
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname:
> release-1.4.x, start path: docs)
> > [22:45:49.825] WARN (asciidoctor): skipping reference to missing
> attribute: lookahead
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname:
> release-1.4.x, start path: docs)
> > [22:45:49.826] WARN (asciidoctor): skipping reference to missing
> attribute: period
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname:
> release-1.4.x, start path: docs)
> > [22:45:49.826] WARN (asciidoctor): skipping reference to missing
> attribute: lookahead
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname:
> release-1.4.x, start path: docs)
> > [22:45:49.828] WARN (asciidoctor): skipping reference to missing
> attribute: period
> >     file: docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc
> >     source: https://github.com/apache/camel-k.git (refname:
> release-1.4.x, start path: docs)
> > [22:45:54.820] WARN (asciidoctor): skipping reference to missing
> attribute: body
> >     file: docs/modules/ROOT/pages/reference/extensions/core.adoc
> >     source: https://github.com/apache/camel-quarkus.git (refname: main,
> start path: docs)
> > [22:45:59.069] WARN (asciidoctor): skipping reference to missing
> attribute: body
> >     file: docs/modules/ROOT/pages/reference/extensions/core.adoc
> >     source: https://github.com/apache/camel-quarkus.git (refname:
> release/2.0.0, start path: docs)
> >
> >
> > Currently this sort of warning is output to the console but cannot be
> used to fail the build.
> >
> > David Jencks
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>


-- 
Tadayoshi Sato

Reply via email to