[ 
https://issues.apache.org/jira/browse/MNG-8343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated MNG-8343:
---------------------------------
    Fix Version/s: Issues to be reviewed for 4.x

> Use OSGi Converter instead of Plexus for Mojo parameter conversion
> ------------------------------------------------------------------
>
>                 Key: MNG-8343
>                 URL: https://issues.apache.org/jira/browse/MNG-8343
>             Project: Maven
>          Issue Type: Improvement
>          Components: Plugins and Lifecycle
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: Issues to be reviewed for 4.x
>
>
> 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|https://eclipse.dev/sisu/org.eclipse.sisu.plexus/configuration.html]. I 
> propose to switch to something which is better maintained and documented.
> There is the [OSGi Converter 
> Specification|https://docs.osgi.org/specification/osgi.cmpn/7.0.0/util.converter.html]
>  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|https://docs.osgi.org/specification/osgi.cmpn/7.0.0/util.converter.html#util.converter-customizing.converters].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to