Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Currently (even in Maven 4) the API being used for converting from a String to another type for Mojo parameters is the Plexus Configurator API. I propose to switch to something which is better maintained and documented.
There is the OSGi Converter Specification and a default implementation at https://central.sonatype.com/artifact/org.osgi/org.osgi.util.converter/1.0.9 which supports most of the conversions already supported by Plexus Configuration API out of the box.
The implementation does not require any additional dependencies.
In addition it supports custom converters.