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

HeaderCreate silently overwrites existing license subject #241

Open
jrudolph opened this issue Jul 5, 2021 · 1 comment
Open

HeaderCreate silently overwrites existing license subject #241

jrudolph opened this issue Jul 5, 2021 · 1 comment

Comments

@jrudolph
Copy link
Member

jrudolph commented Jul 5, 2021

It seems that projects which include code from other code bases will easily break license conditions by using sbt-header because the default behavior is to overwrite the copyright subject with whatever is defined in the build. This is obviously very bad, legally and also against the open source spirit.

The default behavior should be to never change copyright notices originating from third-parties.

@hseeberger
Copy link
Member

I think it would be very tricky to distinguish between an outdated header and one copied over from a third-party.

Wouldn't it help to exclude such copied files with an excludeFilter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants