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

Fix Netty exclusions and use Maven Enforcer to prevent bug from being reintroduced

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.6.0
    • Fix Version/s: 1.5.3, 1.6.1, 2.0.0
    • Component/s: Build, Project Infra
    • Labels:
      None

      Description

      Netty classes are published under artifacts with different names, so our build needs to exclude the org.jboss.netty:netty versions of the Netty artifact. However, our existing exclusions were incomplete, leading to situations where duplicate Netty classes would wind up on the classpath and cause compile errors (or worse).

      We should fix this and should also start using Maven Enforcer's dependency banning mechanisms to prevent this problem from ever being reintroduced.

        Attachments

          Activity

            People

            • Assignee:
              joshrosen Josh Rosen
              Reporter:
              joshrosen Josh Rosen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: