vaadin / quarkus

An extension to Quarkus to support Vaadin Flow
Apache License 2.0
28 stars 3 forks source link

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

Open czp13 opened 1 year ago

czp13 commented 1 year ago

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.