Currently MjParse mixes Maven entry-point concerns with core EO-to-XMIR parsing logic, making it hard to test in isolation.
It would be nice to decouple MjParse similar to what was done in #4989 for MjResolve and #5061 for MjTranspile:
MjParse - a thin Maven endpoint.
Parse - core parsing logic without Maven dependencies.
Also, it's important to find out if it's possible to remove the dependency on Maven-specific fields (e.g. PluginDescriptor) entirely from the core class.
Currently
MjParsemixes Maven entry-point concerns with core EO-to-XMIR parsing logic, making it hard to test in isolation.It would be nice to decouple
MjParsesimilar to what was done in #4989 forMjResolveand #5061 forMjTranspile:MjParse- a thin Maven endpoint.Parse- core parsing logic without Maven dependencies.Also, it's important to find out if it's possible to remove the dependency on Maven-specific fields (e.g.
PluginDescriptor) entirely from the core class.