vaadin / hilla

Build better business applications, faster. No more juggling REST endpoints or deciphering GraphQL queries. Hilla seamlessly connects Spring Boot and React to accelerate application development.
https://hilla.dev
Apache License 2.0
864 stars 58 forks source link

Maven Plugin: [WARNING] The 'configure' goal is only meant to be used in Hilla projects with endpoints #2548

Closed leluna closed 2 weeks ago

leluna commented 2 weeks ago

Description of the bug

When using Vaadin maven plugin as documented with either prepare-frontend or build-frontend goal, the configure goal seem to always be activated even if there is no Hilla dependency. This leads to a warning that states "The 'configure' goal is only meant to be used in Hilla projects with endpoints.", which is irritating as it suggests that the configuration of the plugin is not correct.

Expected behavior

Either the configure goal is only executed if there is Hilla dependency on the classpath, or the warning is a info instead stating that the configure goal is skipped as there is no Hilla dependency.

Minimal reproducible example

Versions

Artur- commented 2 weeks ago

This is the same as