Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8343

Use OSGi Converter instead of Plexus for Mojo parameter conversion

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: