You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/11/05 15:00:45 UTC

[GitHub] [camel-quarkus] jamesnetherton opened a new issue #1996: Antora xref check fails on camel-master branch

jamesnetherton opened a new issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996


   Not sure what's going on, so for now, I'm disabling the xref check so that the branch can build.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] zregvart commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
zregvart commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-723456263


   I think the `camel-master` branch was missing this commit at that point https://github.com/apache/camel-quarkus/commit/11923e3dc1aae01200b00aa7f44caf9208b5183d seems to be okay now.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] zregvart commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
zregvart commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-724280951


   Perhaps because of the missing `--fetch` on the Antora CLI? The Antora git repository cache could contain older versions of referenced git repositories?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-723974656


   Ok - maybe it's just me.
   
   I'll remove the workaround and see what happens on the CI build.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] zregvart commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
zregvart commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-723455833


   @jamesnetherton can I help? Can you provide more details, I've run `./mvnw -pl :camel-quarkus-docs` on the current master and saw no errors.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-723875249


   To replicate, check out the [`camel-master`](https://github.com/apache/camel-quarkus/tree/camel-master) branch. Build the project
   ```
   mvn clean install -Dquickly -T1C -Papache-snapshots
   ```
   
   Then change into the docs module, undo my temporary workaround and run the build to observe the failure:
   
   ```
   cd docs
   git revert fb4a079a945078ba1d92bfc594cabecaeecf15a0 -n
   mvn clean install
   ```
   
   ```
   [INFO] --- exec-maven-plugin:3.0.0:exec (antora-xref-check) @ camel-quarkus-docs ---
   yarn run v1.12.3
   $ camel-quarkus/docs/node_modules/.bin/antora --generator @antora/xref-validator antora-playbook.yml
   Unresolved xrefs (grouped by origin):
   
   repo: https://github.com/apache/camel.git | branch: master | component: components | version: latest
     path: core/camel-core-engine/src/main/docs/modules/eips/pages/content-enricher.adoc | xref: components:languages:simple-language.adoc
     path: core/camel-core-engine/src/main/docs/modules/eips/pages/content-enricher.adoc | xref: components:languages:constant-language.adoc
     path: core/camel-core-engine/src/main/docs/modules/eips/pages/intercept.adoc | xref: components:languages:simple-language.adoc
     path: core/camel-core-engine/src/main/docs/modules/eips/pages/log-eip.adoc | xref: components:languages:simple-language.adoc
     path: core/camel-core-engine/src/main/docs/modules/eips/pages/toD-eip.adoc | xref: components:languages:simple-language.adoc
     path: docs/components/modules/dataformats/pages/index.adoc | xref: latest@components:dataformats:nav.adoc
     path: docs/components/modules/languages/nav.adoc | xref: languages:constant-language.adoc
     path: docs/components/modules/languages/nav.adoc | xref: languages:exchangeProperty-language.adoc
     path: docs/components/modules/languages/nav.adoc | xref: languages:file-language.adoc
     path: docs/components/modules/languages/nav.adoc | xref: languages:header-language.adoc
     path: docs/components/modules/languages/nav.adoc | xref: languages:ref-language.adoc
     path: docs/components/modules/languages/nav.adoc | xref: languages:simple-language.adoc
     path: docs/components/modules/languages/nav.adoc | xref: languages:tokenize-language.adoc
     path: docs/components/modules/languages/nav.adoc | xref: languages:xtokenize-language.adoc
     path: docs/components/modules/languages/pages/index.adoc | xref: latest@components:languages:nav.adoc
     path: docs/components/modules/languages/pages/xpath-language.adoc | xref: simple-language.adoc
     path: docs/components/modules/others/pages/index.adoc | xref: latest@components:others:nav.adoc
     path: docs/components/modules/ROOT/pages/controlbus-component.adoc | xref: languages:simple-language.adoc
     path: docs/components/modules/ROOT/pages/elsql-component.adoc | xref: languages:simple-language.adoc
     path: docs/components/modules/ROOT/pages/file-component.adoc | xref: languages:file-language.adoc
     path: docs/components/modules/ROOT/pages/file-component.adoc | xref: languages:simple-language.adoc
     path: docs/components/modules/ROOT/pages/index.adoc | xref: latest@components:ROOT:nav.adoc
     path: docs/components/modules/ROOT/pages/jetty-component.adoc | xref: languages:simple-language.adoc
     path: docs/components/modules/ROOT/pages/language-component.adoc | xref: languages:simple-language.adoc
     path: docs/components/modules/ROOT/pages/properties-component.adoc | xref: languages:simple-language.adoc
   
   repo: https://github.com/apache/camel.git | branch: master | component: manual | version: latest
     path: docs/user-manual/modules/ROOT/pages/backlog-tracer.adoc | xref: components:languages:simple-language.adoc
     path: docs/user-manual/modules/ROOT/pages/bean-binding.adoc | xref: components:languages:simple-language.adoc
     path: docs/user-manual/modules/ROOT/pages/exception-clause.adoc | xref: components:languages:simple-language.adoc
     path: docs/user-manual/modules/ROOT/pages/expression.adoc | xref: components:languages:constant-language.adoc
     path: docs/user-manual/modules/ROOT/pages/expression.adoc | xref: components:languages:header-language.adoc
     path: docs/user-manual/modules/ROOT/pages/expression.adoc | xref: components:languages:ref-language.adoc
     path: docs/user-manual/modules/ROOT/pages/expression.adoc | xref: components:languages:simple-language.adoc
     path: docs/user-manual/modules/ROOT/pages/expression.adoc | xref: components:languages:file-language.adoc
     path: docs/user-manual/modules/ROOT/pages/languages.adoc | xref: components:languages:constant-language.adoc
     path: docs/user-manual/modules/ROOT/pages/languages.adoc | xref: components:languages:header-language.adoc
     path: docs/user-manual/modules/ROOT/pages/languages.adoc | xref: components:languages:ref-language.adoc
     path: docs/user-manual/modules/ROOT/pages/languages.adoc | xref: components:languages:exchangeProperty-language.adoc
     path: docs/user-manual/modules/ROOT/pages/languages.adoc | xref: components:languages:simple-language.adoc
     path: docs/user-manual/modules/ROOT/pages/languages.adoc | xref: components:languages:file-language.adoc
     path: docs/user-manual/modules/ROOT/pages/languages.adoc | xref: components:languages:tokenize-language.adoc
     path: docs/user-manual/modules/ROOT/pages/parameter-binding-annotations.adoc | xref: components:languages:constant-language.adoc
     path: docs/user-manual/modules/ROOT/pages/parameter-binding-annotations.adoc | xref: components:languages:header-language.adoc
     path: docs/user-manual/modules/ROOT/pages/parameter-binding-annotations.adoc | xref: components:languages:simple-language.adoc
     path: docs/user-manual/modules/ROOT/pages/predicate.adoc | xref: components:languages:constant-language.adoc
     path: docs/user-manual/modules/ROOT/pages/predicate.adoc | xref: components:languages:header-language.adoc
     path: docs/user-manual/modules/ROOT/pages/predicate.adoc | xref: components:languages:ref-language.adoc
     path: docs/user-manual/modules/ROOT/pages/predicate.adoc | xref: components:languages:exchangeProperty-language.adoc
     path: docs/user-manual/modules/ROOT/pages/predicate.adoc | xref: components:languages:simple-language.adoc
     path: docs/user-manual/modules/ROOT/pages/predicate.adoc | xref: components:languages:file-language.adoc
     path: docs/user-manual/modules/ROOT/pages/predicate.adoc | xref: components:languages:tokenize-language.adoc
     path: docs/user-manual/modules/ROOT/pages/rest-dsl.adoc | xref: components:languages:simple-language.adoc
     path: docs/user-manual/modules/ROOT/pages/spring-remoting.adoc | xref: components:languages:simple-language.adoc
     path: docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc | xref: components:languages:simple-language.adoc
   
   worktree: /home/james/Projects/git/master/camel-quarkus/docs | component: camel-quarkus | version: latest
     path: modules/ROOT/pages/reference/extensions/arangodb.adoc | xref: latest@components::arangodb-component.adoc
     path: modules/ROOT/pages/reference/extensions/aws2-athena.adoc | xref: latest@components::aws2-athena-component.adoc
     path: modules/ROOT/pages/reference/extensions/aws2-eventbridge.adoc | xref: latest@components::aws2-eventbridge-component.adoc
     path: modules/ROOT/pages/reference/extensions/aws2-sts.adoc | xref: latest@components::aws2-sts-component.adoc
     path: modules/ROOT/pages/reference/extensions/core.adoc | xref: latest@components:languages:constant-language.adoc
     path: modules/ROOT/pages/reference/extensions/core.adoc | xref: latest@components:languages:exchangeProperty-language.adoc
     path: modules/ROOT/pages/reference/extensions/core.adoc | xref: latest@components:languages:file-language.adoc
     path: modules/ROOT/pages/reference/extensions/core.adoc | xref: latest@components:languages:header-language.adoc
     path: modules/ROOT/pages/reference/extensions/core.adoc | xref: latest@components:languages:ref-language.adoc
     path: modules/ROOT/pages/reference/extensions/core.adoc | xref: latest@components:languages:simple-language.adoc
     path: modules/ROOT/pages/reference/extensions/core.adoc | xref: latest@components:languages:tokenize-language.adoc
     path: modules/ROOT/pages/reference/extensions/kubernetes.adoc | xref: latest@components::kubernetes-custom-resources-component.adoc
     path: modules/ROOT/pages/reference/extensions/threadpoolfactory-vertx.adoc | xref: latest@components:others:threadpoolfactory-vertx.adoc
     path: modules/ROOT/pages/reference/extensions/vertx-http.adoc | xref: latest@components::vertx-http-component.adoc
     path: modules/ROOT/pages/reference/extensions/vertx-websocket.adoc | xref: latest@components::vertx-websocket-component.adoc
     path: modules/ROOT/pages/reference/extensions/xml-jaxp.adoc | xref: latest@components:languages:xtokenize-language.adoc
     path: modules/ROOT/pages/user-guide/bootstrap.adoc | xref: latest@components:others:main.adoc
     path: modules/ROOT/pages/user-guide/bootstrap.adoc | xref: latest@manual::route-template.adoc
   
   antora: xref validation failed! See previous report for details.
   error Command failed with exit code 1.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
   [ERROR] Command execution failed.
   org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
       at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
       at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
       at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:982)
       at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:929)
       at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:457)
       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
       at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
       at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
       at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
       at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
       at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:566)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
   ```
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-724196452


   Seems to pass ok on the current CI run so I'll close this. Not sure why it's failing for me locally...


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-723852364


   @zregvart it still fails for me on the `camel-master` branch. You'll need to undo commit 8b197bd787bdd0a75d4130155bca2a0278730a93 to see 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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] djencks commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
djencks commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-723861262


   Let's say, just for the sake of argument, that I wanted to help with this.  From the stated issue, how would I find out how to reproduce this problem?
   WHAT fails for you on the camel-master branch??? 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] zregvart commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
zregvart commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-723972233


   Hmm, I can't seem to reproduce this:
   
   ```shell
   $ git status
   On branch camel-master
   Your branch is up to date with 'origin/camel-master'.
   
   Changes not staged for commit:
     (use "git add <file>..." to update what will be committed)
     (use "git restore <file>..." to discard changes in working directory)
   	modified:   pom.xml
   
   no changes added to commit (use "git add" and/or "git commit -a")
   $ git rev-parse HEAD                                    
   fb4a079a945078ba1d92bfc594cabecaeecf15a
   $ git diff
   diff --git a/docs/pom.xml b/docs/pom.xml
   index 66f18e00a..5e75ce877 100644
   --- a/docs/pom.xml
   +++ b/docs/pom.xml
   @@ -102,7 +102,6 @@
                                        <commandlineArgs>${project.basedir}/node/yarn/dist/bin/yarn.js install --no-progress --force --non-interactive --frozen-lockfile</commandlineArgs>
                                    </configuration>
                                </execution>
   -                            <!-- TODO: Reinstate this - https://github.com/apache/camel-quarkus/issues/1996
                                <execution>
                                    <id>antora-xref-check</id>
                                    <goals>
   @@ -111,10 +110,9 @@
                                    <phase>verify</phase>
                                    <configuration>
                                        <executable>${project.basedir}/node/node</executable>
   -                                    <commandlineArgs>${project.basedir}/node/yarn/dist/bin/yarn.js &#45;&#45;non-interactive antora &#45;&#45;generator @antora/xref-validator antora-playbook.yml</commandlineArgs>
   +                                    <commandlineArgs>${project.basedir}/node/yarn/dist/bin/yarn.js --non-interactive antora --generator @antora/xref-validator antora-playbook.yml</commandlineArgs>
                                    </configuration>
                                </execution>
   -                            -->
                            </executions>
                        </plugin>
                    </plugins>
   $ mvn verify
   [INFO] Scanning for projects...
   [INFO] 
   [INFO] ------------< org.apache.camel.quarkus:camel-quarkus-docs >-------------
   [INFO] Building Camel Quarkus :: Documentation 1.4.0-SNAPSHOT
   [INFO] --------------------------------[ pom ]---------------------------------
   [INFO] 
   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (camel-quarkus-enforcer-rules) @ camel-quarkus-docs ---
   [INFO] 
   [INFO] --- frontend-maven-plugin:1.6:install-node-and-yarn (install node and yarn) @ camel-quarkus-docs ---
   [INFO] Node v10.14.2 is already installed.
   [INFO] Yarn 1.12.3 is already installed.
   [INFO] 
   [INFO] --- exec-maven-plugin:3.0.0:exec (yarn-install) @ camel-quarkus-docs ---
   yarn install v1.12.3
   [1/4] Resolving packages...
   [2/4] Fetching packages...
   info fsevents@1.2.13: The platform "linux" is incompatible with this module.
   info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
   [3/4] Linking dependencies...
   [4/4] Rebuilding all packages...
   Done in 2.09s.
   [INFO] 
   [INFO] --- exec-maven-plugin:3.0.0:exec (antora-xref-check) @ camel-quarkus-docs ---
   yarn run v1.12.3
   $ /home/zregvart/tmp/camel-quarkus/docs/node_modules/.bin/antora --generator @antora/xref-validator antora-playbook.yml
   Done in 35.69s.
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  40.227 s
   [INFO] Finished at: 2020-11-09T13:02:15+01:00
   [INFO] ------------------------------------------------------------------------
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton closed issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
jamesnetherton closed issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] djencks commented on issue #1996: Antora xref check fails on camel-master branch

Posted by GitBox <gi...@apache.org>.
djencks commented on issue #1996:
URL: https://github.com/apache/camel-quarkus/issues/1996#issuecomment-724295400


   Thanks for the additional info.  This looks to me also to be most likely a missing fetch problem.
   
   I strongly recommend adding this to every playbook in every camel bit everywhere.  AFAICT the only place it isn’t a good idea is when you are only building from tags, not branches, or you are experimenting with the UI.
   
   runtime:
     fetch: true
   
   
   see runtime-fetch <https://docs.antora.org/antora/2.3/playbook/runtime-fetch/#fetch-key>
   
   Thanks,
   David Jencks
   
   
   > On Nov 9, 2020, at 1:12 PM, Zoran Regvart <no...@github.com> wrote:
   > 
   > 
   > Perhaps because of the missing --fetch on the Antora CLI? The Antora git repository cache could contain older versions of referenced git repositories?
   > 
   > —
   > You are receiving this because you commented.
   > Reply to this email directly, view it on GitHub <https://github.com/apache/camel-quarkus/issues/1996#issuecomment-724280951>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAELDXRR6KSND2DCY4INJ5LSPBLLZANCNFSM4TLO5XNQ>.
   > 
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org