Skip to content

Add license details to published pom files #100

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

Closed
yogurtearl opened this issue Aug 22, 2024 · 7 comments
Closed

Add license details to published pom files #100

yogurtearl opened this issue Aug 22, 2024 · 7 comments

Comments

@yogurtearl
Copy link

Add license info to all the poms published by this repo.

e.g. (and an any other publish poms)

See https://maven.apache.org/pom.html#Licenses

Else this gets flagged for having no license.

@tbroyer
Copy link
Owner

tbroyer commented Aug 22, 2024

Out of curiosity, what tool will flag the plugin for having no license?

@yogurtearl
Copy link
Author

yogurtearl commented Aug 22, 2024

Out of curiosity, what tool will flag the plugin for having no license?

any/all? depending on how the tool is configured, these OSS tools generally assume it is copyrighted and proprietary with no license granted for use.

some possible examples:

@tbroyer
Copy link
Owner

tbroyer commented Aug 22, 2024

Do they really check build dependencies by default? (the first one doesn't at least)
And is that really a global problem or more one for very strict environments? (or are you building and distributing a plugin that has this plugin as a dependency?)

(I mean, I'll do it as it should be easy, but am trying to understand the full story)

@yogurtearl
Copy link
Author

The OSS license compliance solutions that operate at the repo proxy level will block unlicensed deps.

i.e. if you have a OSS compliance solution on an internal maven-proxy.mycorp.com it will block unknown licenses, denylist licenses and artifacts with no license.

The internal proxy doesn't know if the dep was a build dep or a production dep.

@tbroyer
Copy link
Owner

tbroyer commented Sep 7, 2024

Fyi, plugin marker artifacts won't have license information no matter what projects do, until Gradle fixes gradle/plugin-portal-requests#212

@JakeWharton
Copy link

That's only true for those which are published to the portal. Ones on standard places like Maven central contain them like any other artifact.

@tbroyer
Copy link
Owner

tbroyer commented Oct 20, 2024

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

No branches or pull requests

3 participants