Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2764

Weird build error javax.javax.measure#unit-api

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.15, 1.16
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      In weird cases Nutch is unable to build due to a dependency problem in the TikaParser. The error report:

      [ivy:resolve]   ==== sonatype: tried
      [ivy:resolve]     https://oss.sonatype.org/content/repositories/releases/javax/measure/unit-api/working@localhost/unit-api-working@localhost.pom
      [ivy:resolve]     -- artifact javax.measure#unit-api;working@localhost!unit-api.jar:
      [ivy:resolve]     https://oss.sonatype.org/content/repositories/releases/javax/measure/unit-api/working@localhost/unit-api-working@localhost.jar
      [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
      [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve]           :: javax.measure#unit-api;working@localhost: not found
      [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
      

      Cleaning the local ~/.ivy cache solves the problem. Cleaning ~/.ivy2/cache/javax.measure/unit-api/ can also work but i have not tested it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              markus17 Markus Jelsma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: