[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: |
|
|||||||||||||||||||||||||||||||||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||||||||||||||||||||||||||||||||
| 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: | ||||||||||||||||||||||||||||||||||||||||||||||
| 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" |