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

Merged
merged 1 commit into from
Sep 12, 2024
Merged

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
Copy link

sonarcloud bot commented Sep 11, 2024

@mshabarov mshabarov merged commit 8b2a000 into master Sep 12, 2024
3 checks passed
@mshabarov mshabarov deleted the issues/158_index_optional_deps branch September 12, 2024 09:16
mcollovati added a commit that referenced this pull request Sep 12, 2024
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 pushed a commit that referenced this pull request Sep 12, 2024
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
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