-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Include LICENSE
in the generated jar under META-INF
.
#6477
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copybara-service
bot
force-pushed
the
test_530338363
branch
from
May 8, 2023 18:37
b502a5a
to
7d41e19
Compare
copybara-service bot
pushed a commit
to google/escapevelocity
that referenced
this pull request
May 8, 2023
See google/guava#6468 and google/guava#6477. RELNOTES=n/a PiperOrigin-RevId: 530400894
copybara-service bot
pushed a commit
to google/guava-beta-checker
that referenced
this pull request
May 8, 2023
See google/guava#6468 and google/guava#6477. RELNOTES=n/a PiperOrigin-RevId: 530400894
copybara-service bot
pushed a commit
to google/compile-testing
that referenced
this pull request
May 8, 2023
See google/guava#6468 and google/guava#6477. RELNOTES=n/a PiperOrigin-RevId: 530400894
copybara-service bot
pushed a commit
to google/jimfs
that referenced
this pull request
May 8, 2023
See google/guava#6468 and google/guava#6477. RELNOTES=n/a PiperOrigin-RevId: 530400894
This was referenced May 8, 2023
copybara-service bot
pushed a commit
to google/truth
that referenced
this pull request
May 8, 2023
See google/guava#6468 and google/guava#6477. RELNOTES=n/a PiperOrigin-RevId: 530400894
copybara-service bot
pushed a commit
to google/compile-testing
that referenced
this pull request
May 9, 2023
See google/guava#6468 and google/guava#6477. I cowardly did not look into Auto and its many pom.xml files. And I gave up on jimfs when its jar didn't end up containing the license... maybe somehow related to how it has other files autogenerated into `META-INF`?? RELNOTES=n/a PiperOrigin-RevId: 530400894
copybara-service bot
pushed a commit
to google/guava-beta-checker
that referenced
this pull request
May 9, 2023
See google/guava#6468 and google/guava#6477. I cowardly did not look into Auto and its many pom.xml files. And I gave up on jimfs when its jar didn't end up containing the license... maybe somehow related to how it has other files autogenerated into `META-INF`?? RELNOTES=n/a PiperOrigin-RevId: 530400894
copybara-service bot
pushed a commit
to google/escapevelocity
that referenced
this pull request
May 9, 2023
See google/guava#6468 and google/guava#6477. I cowardly did not look into Auto and its many pom.xml files. And I gave up on jimfs when its jar didn't end up containing the license... maybe somehow related to how it has other files autogenerated into `META-INF`?? RELNOTES=n/a PiperOrigin-RevId: 530400894
copybara-service bot
pushed a commit
to google/truth
that referenced
this pull request
May 9, 2023
See google/guava#6468 and google/guava#6477. I cowardly did not look into Auto and its many pom.xml files. And I gave up on jimfs when its jar didn't end up containing the license... maybe somehow related to how it has other files autogenerated into `META-INF`?? RELNOTES=n/a PiperOrigin-RevId: 530400894
copybara-service bot
pushed a commit
to google/compile-testing
that referenced
this pull request
May 9, 2023
See google/guava#6468 and google/guava#6477. I cowardly did not look into Auto and its many pom.xml files. And I gave up on jimfs when its jar didn't end up containing the license... maybe somehow related to how it has other files autogenerated into `META-INF`?? RELNOTES=n/a PiperOrigin-RevId: 530613491
copybara-service bot
pushed a commit
to google/guava-beta-checker
that referenced
this pull request
May 9, 2023
See google/guava#6468 and google/guava#6477. I cowardly did not look into Auto and its many pom.xml files. And I gave up on jimfs when its jar didn't end up containing the license... maybe somehow related to how it has other files autogenerated into `META-INF`?? RELNOTES=n/a PiperOrigin-RevId: 530613491
copybara-service bot
pushed a commit
to google/truth
that referenced
this pull request
May 9, 2023
See google/guava#6468 and google/guava#6477. I cowardly did not look into Auto and its many pom.xml files. And I gave up on jimfs when its jar didn't end up containing the license... maybe somehow related to how it has other files autogenerated into `META-INF`?? RELNOTES=n/a PiperOrigin-RevId: 530613491
copybara-service bot
pushed a commit
to google/escapevelocity
that referenced
this pull request
May 9, 2023
See google/guava#6468 and google/guava#6477. I cowardly did not look into Auto and its many pom.xml files. And I gave up on jimfs when its jar didn't end up containing the license... maybe somehow related to how it has other files autogenerated into `META-INF`?? RELNOTES=n/a PiperOrigin-RevId: 530613491
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Include
LICENSE
in the generated jar underMETA-INF
.Fixes #6468
I'd looked at how Guice does this, which pulls the Apache license from a remote server (and also generates additional
DEPENDENCIES
andNOTICE
files). But I figured it was simplest to just pointmaven-resources-plugin
at our localLICENSE
file:maven-resources-plugin
can work with any license, whereas I'm not sure if Guice'sapache-jar-resource-bundle
approach can. Plus, I want to figuremaven-resources-plugin
out, anyway, for Proguard purposes.Conveniently, I'm pretty confident that our existing
resources
configuration isn't necessary: Maybe it was years ago, but nowadays, we have no results forfind */src android/*/src -type f -not -name '*.java'
(except underguava-gwt
, which overridesresources
and which I verified builds an identical jar after this change).RELNOTES=n/a