Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-7841

Spark build should not use lib_managed for dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.6.0
    • Build

    Description

      • unnecessary duplication (I will have those libraries under ./m2, via maven anyway)
      • every time I call make-distribution I lose lib_managed (via mvn clean install) and have to wait to download again all jars next time I use sbt
      • Eclipse does not handle relative paths very well (source attachments from lib_managed don’t always work)
      • it's not the default configuration. If we stray from defaults I think there should be a clear advantage.

      Digging through history, the only reference to `retrieveManaged := true` I found was in f686e3d, from July 2011 ("Initial work on converting build to SBT 0.10.1"). My guess this is purely an accident of porting the build form Sbt 0.7.x and trying to keep the old project layout.

      If there are reasons for keeping it, please comment (I didn't get any answers on the dev mailing list)

      Attachments

        Issue Links

          Activity

            People

              joshrosen Josh Rosen
              dragos Dragos Dascalita Haut
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: