[MGNLLIC-83] Relocate the license checker command Created: 19/Aug/21  Updated: 17/Feb/23

Status: Open
Project: Magnolia License
Component/s: None
Affects Version/s: 1.7.4
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Richard Gange Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: micro-public
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Magnolia License maintenance
Team: AdminX

 Description   

Currently the command for the license checker is found in the enterprise module:

2021-08-19 16:51:24,482 DEBUG info.magnolia.commands.CommandsManager            : Registering commands at /modules/enterprise/commands/enterprise...
2021-08-19 16:51:24,495 ERROR info.magnolia.cms.beans.config.ConfigLoader       : An unspecified error occurred during initialization: info/magnolia/ui/framework/message/MessagesManager
java.lang.NoClassDefFoundError: info/magnolia/ui/framework/message/MessagesManager
	at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_261]
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[?:1.8.0_261]
	at java.lang.Class.getDeclaredConstructors(Class.java:2020) ~[?:1.8.0_261]
	at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:78) ~[magnolia-core-6.2.10.jar:?]

This command would be better located within the About app module since there is already a UI dependency there. Having this command creates an unnecessary dependency on the UI.


Generated at Mon Feb 12 06:00:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.