You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2016/01/09 07:30:39 UTC

[jira] [Updated] (SPARK-12734) Fix Netty exclusions and use Maven Enforcer to prevent bug from being reintroduced

     [ https://issues.apache.org/jira/browse/SPARK-12734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Rosen updated SPARK-12734:
-------------------------------
    Description: 
Netty classes are published under artifacts with different names, so our build needs to exclude the {{io.netty:netty}} and {{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.

  was:
Netty classes are published under artifacts with different names, so our build needs to exclude the {{io.netty}} and {{org.jboss.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.


> Fix Netty exclusions and use Maven Enforcer to prevent bug from being reintroduced
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-12734
>                 URL: https://issues.apache.org/jira/browse/SPARK-12734
>             Project: Spark
>          Issue Type: Bug
>          Components: Build, Project Infra
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>
> Netty classes are published under artifacts with different names, so our build needs to exclude the {{io.netty:netty}} and {{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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org