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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Information Provided
    • 1.15, 1.16
    • None
    • build
    • 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

            Unassigned Unassigned
            markus17 Markus Jelsma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: