Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-417

Take explicit dependency to plexus-utils in a newer version to override the built-in dependency to plexus-utils 1.1 in MVN < 3 (improves cmd-line handling)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-incubating
    • 1.4-incubating
    • Maven Plugins
    • None

    Description

      From Maven 2.0.6 Maven automatically injected plexus-utils:1.1 as a direct dependency to any Maven plugin.

      So even if there was a transitive dependency to a higher version (in our case the executable-component needs at least 1.4.5), that got overruled by the automagically injected 1.1.

      Related issues from Maven:

      This lead to NPANDAY-416, where we had trouble with the quoting of commandline parameters.

      The solution is to add a direct dependency to a newer plexus-utils-version (specified in plugins-parent) into all our plugins.

      Attachments

        Issue Links

          Activity

            People

              lcorneliussen Lars Corneliussen
              lcorneliussen Lars Corneliussen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: