V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Weixk
V2EX  ›  问与答

修改开源软件引用 jar 包版本是否受开源协议约束?

  •  
  •   Weixk · Jun 2, 2020 · 2137 views
    This topic created in 2167 days ago, the information mentioned may be changed or developed.

    比如 apache2.0 协议的软件 A 集成了 fastjson 1.2.68 版本(软件 A 的 lib 目录引入 fastjson 的 Jar 包),这时候我将 fastjson 版本升级到 1.2.70 (替换 lib 目录的 Jar 包)。 我感觉这个应该不算修改源码,不在任何文件中注明,是否符合开源协议? 只是想讨论一下协议约束范围,从道理上讲为了不坑同事,替换了 Jar 包还是应当注明的。

    1 replies    2020-06-02 09:05:29 +08:00
    ACTom
        1
    ACTom  
       Jun 2, 2020
    按我的理解,如果你是直接替换了 jar 文件,那么不算,因为这个 lib 不属于源码范围。
    但如果你是改 pom.xml 来升级的,那还是算的,pom.xml 也算是 A 的一部分。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   991 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:09 · PVG 06:09 · LAX 15:09 · JFK 18:09
    ♥ Do have faith in what you're doing.