Skip to content

[Enhancement] Remove artifacts with incompatible licenses from the classpath #4842

Open
@Pil0tXia

Description

@Pil0tXia

Search before asking

  • I had searched in the issues and found no similar issues.

Enhancement Request

According to ASF 3RD PARTY LICENSE POLICY, artifacts with specific licenses may not be distributed with EventMesh binary.

Artifacts licensed under multiple licenses and one of these licenses compatible with Apache 2.0 can be excluded from this issue's task.

Describe the solution you'd like

Run generateDistLicense Gradle task (will be merged in #4831) to collect all artifacts' licenses, and remove artifacts with incompatible licenses from the classpath.

Personal summary of license violations (There may be omissions, feel free to add):

LGPL-2.1-only

  • hibernate-commons-annotations (within JDBC Connector)
  • hibernate-core (within JDBC Connector)

The GNU General Public License, v2 with Universal FOSS Exception, v1.0

  • mysql-connector-j (within JDBC Connector)

Solution examples:

BSD-4-Clause

  • ST4 (within JDBC Connector) The https://www.antlr.org/license.html is actually the BSD-3-Clause license.
  • xsdlib (within DingTalk Connector, com.aliyun:tea-xml artifact)

Related PRs

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileenhancementNew feature or requesthelp wantedExtra attention is neededlicense

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions