Skip to content

Add the licences introduced by postgresql-42.7.2.jar into LICENSE-binary - #4449

Merged
zhoujinsong merged 1 commit into
apache:masterfrom
klion26:fix_license_binary
Oct 19, 2026
Merged

zhoujinsong merged 1 commit into
apache:masterfrom
klion26:fix_license_binary

Conversation

@klion26

@klion26 klion26 commented Oct 19, 2026

Copy link
Copy Markdown
Member

Why are the changes needed?

The postgresql-42.7.2.jar contains some linceses in the jar such as below, we need to add these licenses in the LICENSE-binary file

details show the licenses in postgresql-42.7.2.jar

" zip.vim version v34
" Browsing zipfile /path/to/dist.apache.org/repos/dist/dev/incubator/amoro/0.9.0-incubating-RC13/amoro-0.9.0-incubating/lib/postgresql-42.7.2.jar
" Select a file with cursor and press ENTER

META-INF/
META-INF/MANIFEST.MF
META-INF/LICENSE
META-INF/licenses/
META-INF/licenses/com.ongres.scram/
META-INF/licenses/com.ongres.scram/client-2.1/
META-INF/licenses/com.ongres.scram/client-2.1/LICENSE
META-INF/licenses/com.ongres.scram/common-2.1/
META-INF/licenses/com.ongres.scram/common-2.1/LICENSE
META-INF/licenses/com.ongres.stringprep/
META-INF/licenses/com.ongres.stringprep/saslprep-1.1/
META-INF/licenses/com.ongres.stringprep/saslprep-1.1/LICENSE
META-INF/licenses/com.ongres.stringprep/stringprep-1.1/
META-INF/licenses/com.ongres.stringprep/stringprep-1.1/LICENSE
META-INF/services/
META-INF/services/java.sql.Driver

The license of the jar found from maven repository, reach to [1][2][3][4] for more information

image

[1] https://mvnrepository.com/artifact/com.ongres.scram/client/2.1
[2] https://mvnrepository.com/artifact/com.ongres.scram/common/2.1
[3] https://mvnrepository.com/artifact/com.ongres.stringprep/saslprep/1.1
[4] https://mvnrepository.com/artifact/com.ongres.stringprep/stringprep/1.1

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable)

@klion26
klion26 force-pushed the fix_license_binary branch from 7e7d83d to ec4347d Compare October 19, 2026 01:16
@klion26

klion26 commented Oct 19, 2026

Copy link
Copy Markdown
Member Author

@czy006 Please take a look at this when you're free, thanks.

@zhoujinsong
zhoujinsong merged commit 734b96a into apache:master Oct 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants