Skip to content

Building the Quarkus project locally (mvn clean install) will succeed, but will have confusing ERROR messages in the build logs. #123

@czp13

Description

@czp13

Steps to reproduce:

  1. mvn clean install // in root directory

  2. The build will be successful eventually,

[INFO] Vaadin Quarkus - Codestarts tests .................. SUCCESS [  1.050 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:55 min
[INFO] Finished at: 2023-05-10T18:26:40+02:00

but having missleading build logs like:

[INFO] --- javadoc:3.3.0:jar (attach-javadocs) @ vaadin-quarkus-common-test-code ---
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:3.3.0:javadoc' has not been previously called for the module: 'com.vaadin:test-addon-with-jandex:jar:1.1-SNAPSHOT'. Trying to invoke it...
[WARNING] Creating fake javadoc directory to prevent repeated invocations: /Users/pczuczor/Projects/quarkus/integration-tests/test-addons/addon-with-jandex/target/apidocs
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:3.3.0:javadoc' has not been previously called for the module: 'com.vaadin:test-addon-without-jandex:jar:1.1-SNAPSHOT'. Trying to invoke it...
[WARNING] Creating fake javadoc directory to prevent repeated invocations: /Users/pczuczor/Projects/quarkus/integration-tests/test-addons/addon-without-jandex/target/apidocs
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:3.3.0:javadoc' has not been previously called for the module: 'com.vaadin:custom-websockets:jar:1.1-SNAPSHOT'. Trying to invoke it...
[WARNING] Creating fake javadoc directory to prevent repeated invocations: /Users/pczuczor/Projects/quarkus/integration-tests/custom-websocket-dependency/target/apidocs
[ERROR] Error fetching link: /Users/pczuczor/Projects/quarkus/integration-tests/test-addons/addon-with-jandex/target/apidocs. Ignored it.
[ERROR] Error fetching link: /Users/pczuczor/Projects/quarkus/integration-tests/test-addons/addon-without-jandex/target/apidocs. Ignored it.
[ERROR] Error fetching link: /Users/pczuczor/Projects/quarkus/integration-tests/custom-websocket-dependency/target/apidocs. Ignored it.
[INFO] No previous run data found, generating javadoc.
[INFO] Building jar: /Users/pczuczor/Projects/quarkus/integration-tests/common-test-code/target/vaadin-quarkus-common-test-code-1.1-SNAPSHOT-javadoc.jar
[INFO]

Expected behaviour:
To have a successful build without ERRORs in the logs (if possible to do it with a build param or other way), maybe documentation is enough as well to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Internal Backlog / Technical Debt

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions