Skip to content

Plugin inappropriately assumes Apache 2 license for mysql:mysql-connector-java #197

@zarebski-m

Description

@zarebski-m

I think the problem is caused by the fact that LICENSE file includes texts of licenses for 3rd party components, see e.g.:

[...]
Ant-Contrib

   The following software may be included in this product:
Ant-Contrib
Copyright (c) 2001-2003 Ant-Contrib project. All rights reserved.
Licensed under the Apache 1.1 License Agreement, a copy of which is reproduced b
elow.

The Apache Software License, Version 1.1

Copyright (c) 2001-2003 Ant-Contrib project.  All rights reserved.
[...]

Those should not be considered as licenses of mysql-connector-java, but apparently they are:

{
    "moduleName": "mysql:mysql-connector-java",
    "moduleVersion": "8.0.22",
    "moduleUrls": [
        "http://dev.mysql.com/doc/connector-j/en/"
    ],
    "moduleLicenses": [
        {
            "moduleLicense": "Apache License, Version 2.0",
            "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0"
        },
        {
            "moduleLicense": "The GNU General Public License, v2 with FOSS exception",
            "moduleLicenseUrl": ""
        }
    ]
}

To be honest I have no idea how this can be fixed, but it definitely is not correct.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions