[MURLTRANS-37] Update magnolia-services-licence dependency Created: 18/Oct/23  Updated: 08/Feb/24  Resolved: 08/Feb/24

Status: Closed
Project: URL Translation
Component/s: None
Affects Version/s: 6.2.3
Fix Version/s: 6.2.5

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Richard Gange
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: 0d
Time Spent: 0.5h
Original Estimate: Not Specified

Issue Links:
Problem/Incident
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
Date of First Response:
Work Started:

 Description   

The magnolia-url-translation module include as dependency the magnolia-services-licence module, but on its 6.2.3 and 6.2.4 version it includes the 1.0.0 version instead of 1.0.2, which makes other modules to fail.

+- info.magnolia.i18n:magnolia-url-translation:jar:6.2.4:compile
[INFO] | | +- (info.magnolia:magnolia-core:jar:6.2.30:compile - version managed from 6.2; omitted for duplicate)
[INFO] | | +- (info.magnolia.site:magnolia-site:jar:1.4.4:compile - version managed from 1.2.4; omitted for duplicate)
[INFO] | | +- (info.magnolia.multisite:magnolia-module-multisite:jar:2.1.2:compile - version managed from 2.1; omitted for duplicate)
[INFO] | | - info.magnolia:magnolia-services-licence:jar:1.0.0:compile

E.g, dam-focal-area modules (info.magnolia.dam:magnolia-dam-focal-area:jar:2.4.3) needs 1.0.2 version, and it gets conflicts with the url-translation dependency:

[INFO] | - info.magnolia.dam:magnolia-dam-focal-area:jar:2.4.3:compile
[INFO] | +- info.magnolia.dam:magnolia-dam-focal-common:jar:2.4.3:compile
- (info.magnolia:magnolia-services-licence:jar:1.0.2:compile - omitted for conflict with 1.0.0)

This causes the startup to fail due a noClassDefFoundError when looking for DXCoreServicesLicenceModule.

Workaround
Include v1.0.2 in your webapp pom:

    <dependency>
      <groupId>info.magnolia.i18n</groupId>
      <artifactId>magnolia-url-translation</artifactId>
      <version>6.2.4</version>
    </dependency>
    
    <dependency>
      <groupId>info.magnolia</groupId>
      <artifactId>magnolia-services-licence</artifactId>
      <version>1.0.2</version>
    </dependency> 

 


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