【发布时间】:2015-03-02 23:17:13
【问题描述】:
所以我正在使用 License Maven Plugin 为我们的第三方包生成报告,但我遇到了问题,不知道如何解决。对于某些依赖项,pom 包含无效(不完整)的许可证。例如this one。
所以我一直在尝试将这些依赖项的许可证更改为正确的许可证。我知道License Maven Plugin 的this goal,但那是用于下载不生成报告的许可证(滚动到该页面的末尾)。
非常感谢任何帮助。
【问题讨论】:
所以我正在使用 License Maven Plugin 为我们的第三方包生成报告,但我遇到了问题,不知道如何解决。对于某些依赖项,pom 包含无效(不完整)的许可证。例如this one。
所以我一直在尝试将这些依赖项的许可证更改为正确的许可证。我知道License Maven Plugin 的this goal,但那是用于下载不生成报告的许可证(滚动到该页面的末尾)。
非常感谢任何帮助。
【问题讨论】:
您的示例的许可证文件在 jar 文件中,也在包 pom 文件的注释中 (http://mavensearch.io/pom/org.hibernate.javax.persistence/hibernate-jpa-2.0-api/1.0.1.Final)
This program and the accompanying materials are made available under
the terms of the Eclipse Public License v1.0 and Eclipse Distribution
License v. 1.0 which accompanies this distribution.
The Eclipse Public License is available at
http://www.eclipse.org/legal/epl-v10.htm
【讨论】: