Inconsistency of license in pom.xml, LICENSE.txt and source code

未关闭 适合新手
#28 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
66/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
java
领域
release

调研方向

首先阅读 pom.xml、LICENSE.txt 中的许可证元数据,以及 DockingManager.java 中的 MIT 文件头。在决定 Maven 名称和 URL 是否应标明 MIT,以及是否应删除 Apache 署名之前,先检查仓库中现有的许可证依据。已发布的元数据和许可证文本一致反映项目许可证时,即为完成。

由索引模型根据 Issue 内容生成。

描述

The licence declared in pom.xml does not match the licence in the rest of the repository, and LICENSE.txt itself mixes MIT text with a reference to Apache License.

  • pom.xml (lines 29-35) declares "Apache License, version 2.0" with the URL http://www.apache.org/licenses/LICENSE-2.0.
  • LICENSE.txt (lines 1-16) contains the standard MIT licence text, but its last lines (18-19) add "This product includes software developed by The Apache Software Foundation (http://www.apache.org/)". This is an Apache 1.1-style attribution notice, even though the rest of the text is MIT.
  • The source files carry the MIT header, e.g. "Copyright (c) 2004 Christopher M Butler" followed by the MIT permission notice (see DockingManager.java).

The MIT text is not a short form of the Apache licence. It has none of the Apache 2.0 wording, such as the patent grant.

The pom entry is published in Maven metadata. Tools that read it will report the wrong licence for the artifacts.

Shall we maybe change the licence <name> and <url> in pom.xml to MIT?

Also, the Apache attribution line in LICENSE.txt is probably left over from the original project (when Apache Commons Logging was used) and should most likely be dropped.

主要语言
Java
星标
44
派生
15
平均合并
1 天 23 小时
30 天内合并 PR
6

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opencollab/flexdock 的其他 Issue

查看 opencollab/flexdock 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。