Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32498

Upgrade commons-cli from 1.6.0 to 1.7.0

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.x
    • Component/s: Launcher
    • Upgrade notes:
      Hide

      commons-cli:commons:cli was upgraded from 1.6.0 to 1.7.0.

      Show
      commons-cli:commons:cli was upgraded from 1.6.0 to 1.7.0.
    • Sprint:
      nxplatform #111
    • Story Points:
      2

      Description

      Dependabot upgrade of commons-cli:commons-cli is failing on the launcher compilation with:

      [ERROR] /home/jenkins/workspace/nuxeo_lts_nuxeo_PR-1871/server/nuxeo-launcher/src/main/java/org/nuxeo/launcher/NuxeoLauncher.java:[1406,35] reference to getOptionValue is ambiguous
      both method getOptionValue(java.lang.String,java.lang.String) in org.apache.commons.cli.CommandLine and method getOptionValue(java.lang.String,java.util.function.Supplier<java.lang.String>) in org.apache.commons.cli.CommandLine match
      [ERROR] /home/jenkins/workspace/nuxeo_lts_nuxeo_PR-1871/server/nuxeo-launcher/src/main/java/org/nuxeo/launcher/NuxeoLauncher.java:[1523,35] reference to getOptionValue is ambiguous
      both method getOptionValue(java.lang.String,java.lang.String) in org.apache.commons.cli.CommandLine and method getOptionValue(java.lang.String,java.util.function.Supplier<java.lang.String>) in org.apache.commons.cli.CommandLine match
      [INFO] 2 errors 
      

      Do we wan't to upgrade and fix?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: