【释义详解】Software License (软件许可证)是什么?

文章目录

    • 前言
    • 1、Software License的定义
    • 2、Open Source Licenses 定义
    • 3、怎么选择开源许可证们在开发软件的时候会用到)
    • 4、QA:自己的仓库用license的时候怎么在readme里面声明呢li>
    • 5、在maven项目里面怎么声明licenseli>
    • 小结
    • 参考文献

前言

创作开始时间:2021年6月25日16:41:39

1、Software License的定义

参考百科。

A software license is a legal instrument (usually by way of contract law, with or without printed material) governing the use or redistribution of software.

Software License:软件许可证。是一个法律文书(通常通过合同法,有打印或电子版的材料),用于管理软件的使用和重新分发。

all software is copyright protected, in both source code and object code forms

所有的软件都是有版权(copyright)保护的,在源码和目标码形式上。

Copyright:

if a person or an organization holds the copyright on a piece of writing, music, etc., they are the only people who have the legal right to publish, broadcast, perform it etc., and other people must ask their permission to use it or any part of it

2、Open Source Licenses 定义

参考:https://opensource.org/licenses

Open Source Licenses:开源许可证。

Open source licenses are licenses that comply with the Open Source Definition — in brief, they allow software to be freely used, modified, and shared. To be approved by the Open Source Initiative (also known as the OSI), a license must go through the Open Source Initiative’s license review process.

3、怎么选择开源许可证们在开发软件的时候会用到)

参考:https://choosealicense.com/

根据里面的提示,选择对应的就好了,
以我个人为例,
我选的是:

【释义详解】Software License (软件许可证)是什么?

相比较之下,我更喜欢后者,因为GNU GPLv3 (https://choosealicense.com/licenses/gpl-3.0/#) 不允许闭源传播。这个听起来还不错。

4、QA:自己的仓库用license的时候怎么在readme里面声明呢h2>

找了几个例子:

  • This package is licensed under the MIT license. See LICENSE for details.
  • Except as otherwise noted, the Facebook SDK for Android is licensed under the Facebook Platform License (https://github.com/facebook/facebook-android-sdk/blob/master/LICENSE.txt).
  • All software provided in this repository is subject to the CRAPL license.
    The detectors included in MuBench are subject to the licensing of their respective creators. See the information in the detectors’ folders.
    The projects referenced in the MuBench dataset are subject to their respective licenses.
    The project artwork is subject to the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).

5、在maven项目里面怎么声明licenseh2>

2021年7月29日22:30:24

参考:https://maven.apache.org/pom.html#Properties

然后可以在项目内新建一个文件license。复制粘贴 https://choosealicense.com/licenses/gpl-3.0/# 这里面的内容就好。

更多license可以参考:https://spdx.org/licenses/

小结

终于搞明白许可了。其实本质就是软件的使用和分发的协议、规定。

创作结束时间:2021年6月25日17:42:31
更新:2021年6月26日23:42:18

参考文献

  • 什么是License证哪些Licenseli>

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2021年5月20日
下一篇 2021年5月20日

相关推荐