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

Upgrade Ivy to fix the issue of an unset packaging.type property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.16
    • 1.18
    • build
    • None

    Description

      Currently Nutch fails to build from a clean checkout due to packaging.type not being set (even with the current workaround in ivysettings.xml).

      [ivy:resolve] :: problems summary ::
      [ivy:resolve] :::: WARNINGS
      [ivy:resolve] [FAILED ] javax.ws.rs#javax.ws.rs-api;2.1.1!javax.ws.rs-api.${packaging.type}: (0ms)
      [ivy:resolve] ==== local: tried
      [ivy:resolve] /opt/work/.ivy2/local/javax.ws.rs/javax.ws.rs-api/2.1.1/${packaging.type}s/javax.ws.rs-api.${packaging.type}
      [ivy:resolve] ==== maven2: tried
      [ivy:resolve] http://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve] ==== apache-snapshot: tried
      [ivy:resolve] https://repository.apache.org/content/repositories/snapshots/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve] ==== sonatype: tried
      [ivy:resolve] http://oss.sonatype.org/content/repositories/releases/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve] :: FAILED DOWNLOADS ::
      [ivy:resolve] :: ^ see resolution messages for details ^ ::
      [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve] :: javax.ws.rs#javax.ws.rs-api;2.1.1!javax.ws.rs-api.${packaging.type}
      [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve] 
      BUILD FAILED

      This issue has been fixed in the latest version of Ivy so upgrading will cause the build to work correctly again.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chrisgavin Chris Gavin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: