[MAGNOLIA-8727] Replacing betwixt library with another xml-mapping library, to remove beanutils 1.X dependency Created: 30/Jan/23  Updated: 28/Feb/23  Resolved: 27/Feb/23

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: 6.3.0, 6.2.29

Type: Task Priority: Neutral
Reporter: Daniel Alonso Assignee: Roman Kovařík
Resolution: Done Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 1.5d Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Relates
relation
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MAGNOLIA-8763 Implementation Sub-task Completed Roman Kovařík  
MAGNOLIA-8770 Review Sub-task Closed Antonín Juran  
MAGNOLIA-8771 Preint QA Sub-task Completed Daniel Alonso  
MAGNOLIA-8772 QA Sub-task Completed Sang Ngo Huu  
MAGNOLIA-8779 Adjust downstream modules Sub-task Completed Roman Kovařík  
MAGNOLIA-8780 Docu Sub-task Completed Adrian Brooks  
MAGNOLIA-8782 Avoid security issue without creating... Sub-task Completed Roman Kovařík  
MAGNOLIA-8784 Approve downstream modules changes Sub-task Completed Sang Ngo Huu  
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Release notes required:
Yes
Epic Link: get rid of commons-beanutils1
Sprint: Nucleus 30
Story Points: 3
Team: Nucleus
Work Started:

 Description   

After chasing MAGNOLIA-8699 to remove commons-collection 3.2, we found that core xml-mapping stuff is provided by commons-betwixt library.

The problem is betwixt requires beanutils 1.9.4 and so, commons-collection 3.2 (package declaration are not equals in cc 3.2 and 4)

Betwixt latest version was released so long ago and there is no activity on that project. So, we tried to replace betwixt with another similar library.

The quickest replacement was jackson-xml. Here is a wiki page with our conclusions and a link to an specific git branch with some changes.

https://wiki.magnolia-cms.com/display/DEVINT/MAGNOLIA-8699%3A+Get+Rid+of+Common+collections+dep

Long story short:

 

the expected output of this task should be "replace betwixt with jackson-xml  in order to remove dependencies on beanutils 1.9 / commons-collection 3.2"


Generated at Mon Feb 12 04:35:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.