-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: support Maven system scope for dependencies #2328
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2328 +/- ##
=======================================
Coverage 95.11% 95.11%
=======================================
Files 66 66
Lines 4507 4507
Branches 645 645
=======================================
Hits 4287 4287
Misses 179 179
Partials 41 41
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
SonarCloud is complaining about the system scope dependency I added in the test, but that's of course necessary. |
Quality Gate passedIssues Measures |
This ticket/PR has been released with Hilla 24.5.0.alpha1 and is also targeting the upcoming stable 24.5.0 version. |
When dependencies with scope
system
are added to a Hilla project, we need support from Maven, Spring Boot, and Hilla itself for them to work.Maven support system dependencies, although deprecated. No action is needed for them to work.
Spring Boot requires enabling support explicitly. This is done by adding
<includeSystemScope>true</includeSystemScope>
to thespring-boot-maven-plugin
configuration, for all profiles.This PR adds support in Hilla: system dependencies can now include endpoints and entities. For the endpoints to be found, the package must be listed in the Vaadin plugin configuration as usual.
This PR needs vaadin/flow#19175 to work. ✅
Fixes #2230