【问题标题】:License Maven Plugin changing the license name of a third partyLicense Maven Plugin 更改第三方的许可证名称
【发布时间】:2015-03-02 23:17:13
【问题描述】:

所以我正在使用 License Maven Plugin 为我们的第三方包生成报告,但我遇到了问题,不知道如何解决。对于某些依赖项,pom 包含无效(不完整)的许可证。例如this one

所以我一直在尝试将这些依赖项的许可证更改为正确的许可证。我知道License Maven Plugin 的this goal,但那是用于下载不生成报告的许可证(滚动到该页面的末尾)。

非常感谢任何帮助。

【问题讨论】:

    标签: java maven licensing


    【解决方案1】:

    您的示例的许可证文件在 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
    

    【讨论】:

    • 我知道该软件包的许可证,我的问题是如何使用许可证 maven 插件将错误(不完整)的许可证信息替换为正确的。
    猜你喜欢
    • 2015-09-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-20
    • 2022-11-09
    • 1970-01-01
    相关资源
    最近更新 更多