Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point to a standard license URL in POM #663

Merged
merged 1 commit into from
Nov 22, 2022

Conversation

eric-labelle
Copy link
Contributor

Using a standard license URL allows companies to automate validation of third-party library licenses. Because this library points to its own repository for the license, each company would have to manually allow-list it. For instance, Square uses https://github.com/cashapp/licensee that maintains a list of common URLs used for Apache 2.0 License: https://github.com/cashapp/licensee/blob/4ae8efb9b5a8ea34dcf35d200154e097347f1d9d/src/main/kotlin/app/cash/licensee/licenses.kt#L63-L67

Using a standard license URL allows companies to automate validation of third-party library licenses. Because this library points to its own repository for the license, each company would have to manually allow-list it. For instance, Square uses https://github.com/cashapp/licensee that maintains a list of common URLs used for Apache 2.0 License: https://github.com/cashapp/licensee/blob/4ae8efb9b5a8ea34dcf35d200154e097347f1d9d/src/main/kotlin/app/cash/licensee/licenses.kt#L63-L67
@gpeal gpeal merged commit 2640899 into airbnb:main Nov 22, 2022
@eric-labelle eric-labelle deleted the ela/use-standard-license-url branch November 23, 2022 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants