apiguardian-team / apiguardian

@API Guardian
https://apiguardian-team.github.io/apiguardian/docs/current/api/
Apache License 2.0
187 stars 23 forks source link

Please add LICENSE/NOTICE to the generated jar #12

Closed vlsi closed 3 years ago

vlsi commented 5 years ago

apiguardian-api-1.0.0.jar does not have LICENSE/NOTICE files (e.g. to META-INF/ folder), so it is kind of hard to tell the licensing for the artifact.

It would be nice if you add Bundle-License manifest attribute on top of adding LICENSE file: https://github.com/bndtools/bnd/blob/master/biz.aQute.bnd.annotation/src/aQute/bnd/annotation/headers/BundleLicense.java

For instance: Bundle-License: Apache-2.0

marcphilipp commented 5 years ago

We should indeed do this. Thanks for bringing this to our attention! Unfortunately I missed this issue when we released 1.1.0.