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

Improve handling of test dependencies in ANT+Ivy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.9
    • Component/s: build
    • Labels:
      None

      Description

      The chain of dependencies between ANT tasks needs fixing. The main issue is that the dependencies with a 'test' scope in Ivy are not resolved properly or rather the resolution task works fine but is not called from the upper level 'test' tasks. This can easily be reproduced by marking the junit dependency in ivy.xml as conf="test->default".

      Ideally we'd want to have a separate lib dir for the test dependencies so that they do not get copied into the job file where they are absolutely not needed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jnioche Julien Nioche
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: