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

Please add LICENSE as META-INF/LICENSE, add Bundle-License header #264

Closed
vlsi opened this issue Jun 29, 2019 · 3 comments · Fixed by #414
Closed

Please add LICENSE as META-INF/LICENSE, add Bundle-License header #264

vlsi opened this issue Jun 29, 2019 · 3 comments · Fixed by #414

Comments

@vlsi
Copy link
Contributor

vlsi commented Jun 29, 2019

  1. Thanks for Hamcrest

  2. Current hamcrest.jar are hard to bundle into other software due to missing licensing information.

Suggested changes are:

2.1) Package license as META-INF/LICENSE. Current one is LICENSE.txt, and de-facto standard is META-INF/LICENSE. The license files packaged at the root cause problems with Android.
Basically whoever makes an uberjar they have to implement "license merger", and typically they configure for META-INF/LICENSE.
2.2) Please add Bundle-License: BSD-3-Clause manifest entry (where BSD-3-Clause is SPDX identifier, see https://osgi.org/specification/osgi.core/7.0.0/framework.module.html#framework.module-bundle-license )
Unfortunately, there are lots of BSD-style licenses, and it is hard to tell what "New BSD License" means.
2.3) Even though 2.1 and 2.2 would be great, you might want to use BSD-3-Clause for <licence><name> tag in pom.xml. The use of SPDX in pom is not common yet, however BSD-3-Clause there would help even humans.

@tumbarumba
Copy link
Member

This seems like a reasonable improvement. Are you able to create a pull request with these changes?

@vlsi
Copy link
Contributor Author

vlsi commented Apr 29, 2023

@tumbarumba , here's a PR: #399

@vlsi
Copy link
Contributor Author

vlsi commented Jul 23, 2024

@tumbarumba , PR #414 does not include LICENSE file to the generated jar. Would you please include it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants