You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Sudarshan Vasudevan (Jira)" <ji...@apache.org> on 2020/10/13 21:43:00 UTC

[jira] [Updated] (GOBBLIN-1226) Lombok should not leak into runtime dependencies.

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

Sudarshan Vasudevan updated GOBBLIN-1226:
-----------------------------------------
        Fix Version/s: 0.15.0
    Affects Version/s: 0.15.0

> Lombok should not leak into runtime dependencies.
> -------------------------------------------------
>
>                 Key: GOBBLIN-1226
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1226
>             Project: Apache Gobblin
>          Issue Type: Bug
>    Affects Versions: 0.15.0
>            Reporter: Koosha Hosseiny
>            Priority: Trivial
>             Fix For: 0.15.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Lombok is a cool tool (although IMHO not worth it's troubles, considering generated code is harder to debug, incompatibilities in bytecode, line version mismatch in debugger, etc, etc) which promises to have zero runtime dependencies.
> It is also *strongly* advised by its developers that it should be present on the classpath only during compilation/code generation and _not at all_, during runtime. (I don't have an exact reference at hand but it can be searched in the lombok google forum).
> Lombok in runtime's classpath is considered not only a bad practice but wrong usage of lombok. 
> The issue it caused me was that it brings an older version of guava into path.
> I propose the `compile ...lombok` in `build.gradle` be changed to `compileOnly`. This has zero effects on any current project using gobblin.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)