maven-parent icon indicating copy to clipboard operation
maven-parent copied to clipboard

[MPOM-375] Add license header automatically to all files

Open jira-importer opened this issue 3 years ago • 3 comments

Konrad Windszus opened MPOM-375 and commented

Currently license headers are only added to some java files. One should leverage option https://github.com/diffplug/spotless/tree/main/plugin-maven#license-header to add/modify it in all files (also to always properly reflect the year of the last modification).

Also e.g. Java files within src/test/resources are currently not considered with regards to license file.

This is currently blocked though by https://github.com/diffplug/spotless/issues/1418.


Affects: MAVEN-38

Issue Links:

  • MPOM-349 Enable spotless for autoformatting

jira-importer avatar Dec 05 '22 10:12 jira-importer

Sylwester Lachiewicz commented

Improvement published in plugin-maven 2.35.0

jira-importer avatar Jan 09 '24 22:01 jira-importer

Slawomir Jaranowski commented

Project issues moved to GitHub, please copy to it.

jira-importer avatar Apr 21 '24 08:04 jira-importer

Yes, good idea to enforce common header

slachiewicz avatar Nov 08 '25 16:11 slachiewicz