Skip to content

feat: warn when an addon uses the legacy META-INF/resources/frontend layout (#24655) (CP: 25.2)#24802

Merged
vaadin-bot merged 1 commit into
25.2from
cherry-pick-24655-to-25.2-1782314442918
Jun 24, 2026
Merged

feat: warn when an addon uses the legacy META-INF/resources/frontend layout (#24655) (CP: 25.2)#24802
vaadin-bot merged 1 commit into
25.2from
cherry-pick-24655-to-25.2-1782314442918

Conversation

@vaadin-bot

Copy link
Copy Markdown
Collaborator

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

Original PR description

TaskCopyFrontendFiles still scans META-INF/resources/frontend/ for backwards compatibility, but that location is deprecated. Emit a once-per-jar/dir warning recommending the split layout: bundle sources for @JsModule/@CssImport under META-INF/frontend/, and runtime resources for @StyleSheet/@javascript under META-INF/resources/ (served directly by the servlet container).

…layout (#24655)

TaskCopyFrontendFiles still scans META-INF/resources/frontend/ for
backwards compatibility, but that location is deprecated. Emit a
once-per-jar/dir warning recommending the split layout: bundle sources
for @JsModule/@CssImport under META-INF/frontend/, and runtime resources
for @StyleSheet/@javascript under META-INF/resources/ (served directly
by the servlet container).
@vaadin-bot

Copy link
Copy Markdown
Collaborator Author

This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR [Message is sent from bot]

@vaadin-bot vaadin-bot enabled auto-merge (squash) June 24, 2026 15:31
@github-actions

Copy link
Copy Markdown

Test Results

 1 452 files  ±0   1 452 suites  ±0   1h 26m 12s ⏱️ +28s
10 270 tests +2  10 202 ✅ +2  68 💤 ±0  0 ❌ ±0 
10 742 runs  +2  10 673 ✅ +2  69 💤 ±0  0 ❌ ±0 

Results for commit 861417b. ± Comparison against base commit 73c7bb4.

@vaadin-bot vaadin-bot merged commit 57c0f69 into 25.2 Jun 24, 2026
31 checks passed
@vaadin-bot vaadin-bot deleted the cherry-pick-24655-to-25.2-1782314442918 branch June 24, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants