[MGNLUI-807] Fix scope for servlet-api Created: 05/Mar/13  Updated: 09/Jul/13  Resolved: 09/Jul/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0

Type: Bug Priority: Major
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MGNLUI-535 Tests fail on class not found excepti... Closed
is causing MAGNOLIA-4885 Bundle contains servlet-api.jar Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

ui-vaadin-integration defines a scope "provided, test" for the servlet-api dependency. Comma separated list of scopes is not supported by maven so it falls back to scope "runtime". That's what's causing MAGNOLIA-4885.

On that occasion we should make sure that all ui modules have the proper scope for the servlet-api (either provided, if required for compiling production code, or test, if required for test execution - no other scopes!)



 Comments   
Comment by Daniel Lipp [ 05/Mar/13 ]

<scope>provided, test</scope> is not supported - maven falls back to "runtime"

Generated at Mon Feb 12 08:40:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.