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

[Bug] There's no proper NOTICE file provided for pulsar-client-all #17949

Closed
1 of 2 tasks
XComp opened this issue Oct 6, 2022 · 5 comments
Closed
1 of 2 tasks

[Bug] There's no proper NOTICE file provided for pulsar-client-all #17949

XComp opened this issue Oct 6, 2022 · 5 comments
Labels
area/build Stale type/bug The PR fixed a bug or issue reported a bug

Comments

@XComp
Copy link

XComp commented Oct 6, 2022

Search before asking

  • I searched in the issues and found nothing similar.

Version

2.10.0

Minimal reproduce step

org.apache.pulsar:pulsar-client-all:2.10.0 provides a kind of empty NOTICE file:

$ unzip -p ~/.m2/repository/org/apache/pulsar/pulsar-client-all/2.10.0/pulsar-client-all-2.10.0.jar META-INF/NOTICE

Pulsar Client All
Copyright 2017-2020 Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).


$

What did you expect to see?

I would expect shaded dependencies (see apache/pulsar:pulsar-client-all/pom.xml:L120) being mentioned in the NOTICE file.

What did you see instead?

NOTICE file being empty

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@michaeljmarshall
Copy link
Member

@lhotari @nicoloboschi - are either of you familiar with this part of the artifact generation? Thanks!

@michaeljmarshall
Copy link
Member

I can confirm the same results for a recent build of master branch:

$ unzip -p /Users/michaelmarshall/.m2/repository/org/apache/pulsar/pulsar-client-all/2.11.0-SNAPSHOT/pulsar-client-all-2.11.0-SNAPSHOT.jar META-INF/NOTICE

Pulsar Client All
Copyright 2017-2020 Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

The copyright dates even look wrong.

@github-actions
Copy link

The issue had no activity for 30 days, mark with Stale label.

@github-actions github-actions bot added the Stale label Nov 12, 2022
@tisonkun
Copy link
Member

tisonkun commented Dec 6, 2022

Closed. Apache license doesn't enforce the root NOTICE file to contain all the NOTICE content from dependencies, but only if we convey the NOTICEs content from dependencies in some way: you can read them at META-INF/NOTICE.md or META-INF/NOTICE.markdown.

@tisonkun tisonkun closed this as completed Dec 6, 2022
@tisonkun
Copy link
Member

tisonkun commented Dec 6, 2022

Above the copyright year issue, it seems about build time. @michaeljmarshall IIRC you submitted a patch to improve it: #17754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Stale type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

No branches or pull requests

3 participants