hilla
hilla copied to clipboard
PiT 24.4: errors when generating javadocs in platform
Describe the bug
The error is:
[ERROR] Exit code: 1 - /Users/manolo/Github/platform/platform/vaadin-platform-javadoc/target/distro-javadoc-sources/hilla-parser-jvm-plugin-backbone-24.4.0.alpha5-sources/module-info.java:1: error: too many module declarations found
[ERROR] module com.vaadin.hilla.parser.plugins.backbone {
[ERROR] ^
[ERROR] /Users/manolo/Github/platform/platform/vaadin-platform-javadoc/target/distro-javadoc-sources/hilla-parser-jvm-plugin-nonnull-24.4.0.alpha5-sources/module-info.java:1: error: too many module declarations found
[ERROR] module com.vaadin.hilla.parser.plugins.nonnull {
[ERROR] ^
[ERROR] /Users/manolo/Github/platform/platform/vaadin-platform-javadoc/target/distro-javadoc-sources/hilla-parser-jvm-plugin-subtypes-24.4.0.alpha5-sources/module-info.java:1: error: too many module declarations found
[ERROR] module com.vaadin.hilla.parser.plugins.subtypes {
[ERROR] ^
[ERROR] /Users/manolo/Github/platform/platform/vaadin-platform-javadoc/target/distro-javadoc-sources/hilla-parser-jvm-plugin-model-24.4.0.alpha5-sources/module-info.java:1: error: too many module declarations found
[ERROR] module com.vaadin.hilla.parser.plugins.model {
[ERROR] ^
[ERROR] /Users/manolo/Github/platform/platform/vaadin-platform-javadoc/target/distro-javadoc-sources/hilla-parser-jvm-plugin-transfertypes-24.4.0.alpha5-sources/module-info.java:1: error: too many module declarations found
[ERROR] module com.vaadin.hilla.parser.plugins.transfertypes {
[ERROR] ^
[ERROR] /Users/manolo/Github/platform/platform/vaadin-platform-javadoc/target/distro-javadoc-sources/hilla-parser-jvm-utils-24.4.0.alpha5-sources/module-info.java:1: error: too many module declarations found
[ERROR] module com.vaadin.hilla.parser.utils {
[ERROR] ^
[ERROR] /Users/manolo/Github/platform/platform/vaadin-platform-javadoc/target/distro-javadoc-sources/hilla-runtime-plugin-transfertypes-24.4.0.alpha5-sources/module-info.java:1: error: too many module declarations found
[ERROR] module com.vaadin.hilla.runtime.transfertypes {
[ERROR] ^
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.timepicker from both vaadin.time.picker.flow and vaadin.testbench.unit.shared
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.select from both vaadin.select.flow and vaadin.testbench.unit.shared
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.radiobutton from both vaadin.radio.button.flow and vaadin.testbench.unit.shared
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.contextmenu from both vaadin.context.menu.flow and vaadin.testbench.unit.shared
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.combobox from both vaadin.combo.box.flow and vaadin.testbench.unit.shared
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.html.testbench from both flow.html.components.testbench and vaadin.testbench.unit.shared
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.textfield from both vaadin.testbench.unit.shared and vaadin.text.field.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.notification from both vaadin.testbench.unit.shared and vaadin.notification.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.messages from both vaadin.testbench.unit.shared and vaadin.messages.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.details from both vaadin.testbench.unit.shared and vaadin.details.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.datetimepicker from both vaadin.testbench.unit.shared and vaadin.date.time.picker.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.sidenav from both vaadin.testbench.unit.shared and vaadin.side.nav.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.tabs from both vaadin.testbench.unit.shared and vaadin.tabs.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.grid from both vaadin.testbench.unit.shared and vaadin.grid.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.charts from both vaadin.testbench.unit.shared and vaadin.charts.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.dialog from both vaadin.testbench.unit.shared and vaadin.dialog.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.accordion from both vaadin.testbench.unit.shared and vaadin.accordion.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.login from both vaadin.testbench.unit.shared and vaadin.login.flow
[ERROR] error: the unnamed module reads package com.vaadin.testbench from both vaadin.testbench.shared and vaadin.testbench.core
[ERROR] error: the unnamed module reads package com.vaadin.testbench.parallel from both vaadin.testbench.shared and vaadin.testbench.core
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.confirmdialog from both vaadin.testbench.unit.shared and vaadin.confirm.dialog.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.menubar from both vaadin.testbench.unit.shared and vaadin.menu.bar.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.upload from both vaadin.testbench.unit.shared and vaadin.upload.flow
[ERROR] error: the unnamed module reads package com.vaadin.testbench.unit from both vaadin.testbench.unit.shared and vaadin.testbench.unit
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.button from both vaadin.testbench.unit.shared and vaadin.button.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.checkbox from both vaadin.testbench.unit.shared and vaadin.checkbox.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.datepicker from both vaadin.testbench.unit.shared and vaadin.date.picker.flow
[ERROR] error: the unnamed module reads package com.vaadin.flow.component.listbox from both vaadin.testbench.unit.shared and vaadin.list.box.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.testbench from both vaadin.testbench.shared and vaadin.testbench.core
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.testbench.parallel from both vaadin.testbench.shared and vaadin.testbench.core
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.menubar from both vaadin.menu.bar.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.charts from both vaadin.charts.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.timepicker from both vaadin.time.picker.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.select from both vaadin.select.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.radiobutton from both vaadin.radio.button.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.login from both vaadin.login.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.grid from both vaadin.grid.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.dialog from both vaadin.dialog.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.contextmenu from both vaadin.context.menu.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.confirmdialog from both vaadin.confirm.dialog.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.combobox from both vaadin.combo.box.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.accordion from both vaadin.accordion.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.tabs from both vaadin.tabs.flow and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.html.testbench from both flow.html.components.testbench and vaadin.testbench.unit.shared
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.textfield from both vaadin.testbench.unit.shared and vaadin.text.field.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.upload from both vaadin.testbench.unit.shared and vaadin.upload.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.notification from both vaadin.testbench.unit.shared and vaadin.notification.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.testbench.unit from both vaadin.testbench.unit.shared and vaadin.testbench.unit
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.button from both vaadin.testbench.unit.shared and vaadin.button.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.messages from both vaadin.testbench.unit.shared and vaadin.messages.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.details from both vaadin.testbench.unit.shared and vaadin.details.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.datetimepicker from both vaadin.testbench.unit.shared and vaadin.date.time.picker.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.sidenav from both vaadin.testbench.unit.shared and vaadin.side.nav.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.checkbox from both vaadin.testbench.unit.shared and vaadin.checkbox.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.datepicker from both vaadin.testbench.unit.shared and vaadin.date.picker.flow
[ERROR] error: module io.swagger.v3.core reads package com.vaadin.flow.component.listbox from both vaadin.testbench.unit.shared and vaadin.list.box.flow
[ERROR] error: module vaadin reads package com.vaadin.testbench from both vaadin.testbench.shared and vaadin.testbench.core
[ERROR] error: module vaadin reads package com.vaadin.testbench.parallel from both vaadin.testbench.shared and vaadin.testbench.core
[ERROR] error: module vaadin reads package com.vaadin.flow.component.menubar from both vaadin.menu.bar.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.charts from both vaadin.charts.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.timepicker from both vaadin.time.picker.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.select from both vaadin.select.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.radiobutton from both vaadin.radio.button.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.login from both vaadin.login.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.grid from both vaadin.grid.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.dialog from both vaadin.dialog.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.contextmenu from both vaadin.context.menu.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.confirmdialog from both vaadin.confirm.dialog.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.combobox from both vaadin.combo.box.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.accordion from both vaadin.accordion.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.tabs from both vaadin.tabs.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.html.testbench from both flow.html.components.testbench and vaadin.testbench.unit.shared
[ERROR] error: module vaadin reads package com.vaadin.flow.component.textfield from both vaadin.testbench.unit.shared and vaadin.text.field.flow
[ERROR] error: module vaadin reads package com.vaadin.flow.component.upload from both vaadin.testbench.unit.shared and vaadin.upload.flow
[ERROR] error: module vaadin reads package com.vaadin.flow.component.notification from both vaadin.testbench.unit.shared and vaadin.notification.flow
[ERROR] error: module vaadin reads package com.vaadin.testbench.unit from both vaadin.testbench.unit.shared and vaadin.testbench.unit
[ERROR] error: module vaadin reads package com.vaadin.flow.component.button from both vaadin.testbench.unit.shared and vaadin.button.flow
[ERROR] error: module vaadin reads package com.vaadin.flow.component.messages from both vaadin.testbench.unit.shared and vaadin.messages.flow
[ERROR] error: module vaadin reads package com.vaadin.flow.component.details from both vaadin.testbench.unit.shared and vaadin.details.flow
[ERROR] error: module vaadin reads package com.vaadin.flow.component.datetimepicker from both vaadin.testbench.unit.shared and vaadin.date.time.picker.flow
[ERROR] error: module vaadin reads package com.vaadin.flow.component.sidenav from both vaadin.testbench.unit.shared and vaadin.side.nav.flow
[ERROR] error: module vaadin reads package com.vaadin.flow.component.checkbox from both vaadin.testbench.unit.shared and vaadin.checkbox.flow
[ERROR] error: module vaadin reads package com.vaadin.flow.component.datepicker from both vaadin.testbench.unit.shared and vaadin.date.picker.flow
[ERROR] error: module vaadin reads package com.vaadin.flow.component.listbox from both vaadin.testbench.unit.shared and vaadin.list.box.flow
[ERROR] error: module vaadin.internal reads package com.vaadin.testbench from both vaadin.testbench.shared and vaadin.testbench.core
[ERROR] error: module vaadin.internal reads package com.vaadin.testbench.parallel from both vaadin.testbench.shared and vaadin.testbench.core
[ERROR] error: module vaadin.internal reads package com.vaadin.flow.component.menubar from both vaadin.menu.bar.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin.internal reads package com.vaadin.flow.component.charts from both vaadin.charts.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin.internal reads package com.vaadin.flow.component.timepicker from both vaadin.time.picker.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin.internal reads package com.vaadin.flow.component.select from both vaadin.select.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin.internal reads package com.vaadin.flow.component.radiobutton from both vaadin.radio.button.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin.internal reads package com.vaadin.flow.component.login from both vaadin.login.flow and vaadin.testbench.unit.shared
[ERROR] error: module vaadin.internal reads package com.vaadin.flow.component.grid from both vaadin.grid.flow and vaadin.testbench.unit.shared
[ERROR] 100 errors
[ERROR]
[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jbr-17.0.6-osx-x64-b829.1/Contents/Home/bin/javadoc @options @packages @argfile
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/Users/manolo/Github/platform/platform/vaadin-platform-javadoc/target/apidocs' dir.
Expected-behavior
No errors
Reproduction
# Clone platform
git clone [email protected]:vaadin/platform.git
cd platform
# Revert commit with temporary workaround
git revert 6c10b4dddca84c1b43a5e55559f1b5eb0208466f
# Generate BOMS
./scripts/generateBoms.sh
# Install modules
mvn clean install -DskipTests
# Generate javadocs
mvn clean install -DskipTests -pl vaadin-platform-javadoc -Pjavadocs
System Info
Platform 24.4-SNAPSHOT