Skip to content

fix: do not include flow-server packages from OSGI manifest (#9414) (CP: 25.2)#9416

Open
vaadin-bot wants to merge 1 commit into
25.2from
cherry-pick-9414-to-25.2-1780476716244
Open

fix: do not include flow-server packages from OSGI manifest (#9414) (CP: 25.2)#9416
vaadin-bot wants to merge 1 commit into
25.2from
cherry-pick-9414-to-25.2-1780476716244

Conversation

@vaadin-bot
Copy link
Copy Markdown
Collaborator

This PR cherry-picks changes from the original PR #9414 to branch 25.2.

Original PR description

Description

Fixes the vaadin-board OSGI manifest to not export com.vaadin.flow.component.clipboard from flow-server:

  • Change the exported package pattern to not use a wildcard before the component name
  • Introduce a osgi.export.package.additional variable, so that vaadin-grid can still export com.vaadin.flow.component.treegrid, which is otherwise not exported anymore with the new pattern
  • Remove the -noimport:=true directive to simplify the implementation, which doesn't seem to make any difference as the same manifests are generated without it
  • Remove some demo related instructions, which should not be relevant since demo modules have been removed

Fixes #9392

Type of change

  • Bugfix

## Description

Fixes the `vaadin-board` OSGI manifest to not export
`com.vaadin.flow.component.clipboard` from `flow-server`:
- Change the exported package pattern to not use a wildcard before the
component name
- Introduce a `osgi.export.package.additional` variable, so that
`vaadin-grid` can still export `com.vaadin.flow.component.treegrid`,
which is otherwise not exported anymore with the new pattern
- Remove the `-noimport:=true` directive to simplify the implementation,
which doesn't seem to make any difference as the same manifests are
generated without it
- Remove some demo related instructions, which should not be relevant
since demo modules have been removed

Fixes #9392

## Type of change

- Bugfix
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 3, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants