-
Notifications
You must be signed in to change notification settings - Fork 220
Use "clean" LICENSE and NOTICE in published jar artifacts #1292
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
Conversation
-------------------------------------------------------------------------------- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind adding LICENSE
file(s) to the non-root projects, but CopiedCodeCheckerPlugin
should then also be adopted to check those files as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, good point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note: the reason I'm adding LICENSE
to the non-root projects is because they are distributed (on Maven). If not distributed, it won't be necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I registered integration-tests
in the check. Please let me know if you want me to use a more global pattern to register all "non-root" project, or if only integration-tests is good enough for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not fully what I meant.
The CopiedCodeCheckerPlugin
needs to look into the special LICENSE
file and verify that it contains the necessary mentions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok, you mean having "special" configuration of the checker plugin in the project. Catcha. Let me do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@snazy do you mind to take a new look to be sure I understood what you meant correctly ? Thanks !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I mean updating the functionality in the CopiedCodeCheckerPlugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pass in the configuration of the polaris-test
(location of the LICENSE
file). I guess you mean to check if project has LICENSE
file and fallback to the default one right ?
8005359
to
ef6b9fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
In preparation of the next releases (including jar artifacts publication), this PR uses "clean"
LICENSE
andNOTICE
in published jar artifacts, and "regular" location.