Skip to content
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: index optional dependencies (#172) (CP: 2.0) #173

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

mcollovati
Copy link
Contributor

Development (e.g. vaadin-dev-server) and optional (e.g. flow-react) dependencies must not be present in the Vaadin platform indexed, to prevent NoClassDefFound errors at runtime, for example when running a production build with dev-server excluded.
This change adds a build step to index optional dependencies only if they are present in the project configuration.

Part of #158

Development (e.g. vaadin-dev-server) and optional (e.g. flow-react) dependencies
must not be present in the Vaadin platform indexed, to prevent NoClassDefFound
errors at runtime, for example when running a production build with dev-server
excluded.
This change adds a build step to index optional dependencies only if they are
present in the project configuration.

Part of #158
mshabarov
mshabarov previously approved these changes Sep 12, 2024
@mshabarov mshabarov enabled auto-merge (squash) September 12, 2024 09:23
Branch 2.0 of the add-on supports Quarkus 3.2 and 3.8.
Copy link

sonarcloud bot commented Sep 12, 2024

@mshabarov mshabarov merged commit d5c82e1 into 2.0 Sep 12, 2024
3 checks passed
@mshabarov mshabarov deleted the cherry/cherrypick-172-to-2.0 branch September 12, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants