sbt-header icon indicating copy to clipboard operation
sbt-header copied to clipboard

HeaderCreate silently overwrites existing license subject

Open jrudolph opened this issue 4 years ago • 1 comments

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.

jrudolph avatar Jul 05 '21 09:07 jrudolph

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?

hseeberger avatar Jul 05 '21 10:07 hseeberger