Closed mikewalch closed 5 years ago
The formatter-maven-plugin uses a plugin to update the license headers automatically during a build:
There's also https://www.mojohaus.org/license-maven-plugin/update-file-header-mojo.html but I don't know if it works the same.
Cool. Muchos does not use Maven. Do these plugins require it?
Good point. I haven't tried, but you probably can run the plugin goal at the root with something like:
mvn com.mycila:license-maven-plugin:3.0:format -Dlicense.header=path/to/header-template.txt
License headers were updated in #241 but there are at least 50 files where a license header could be added. This could be scripted to make it less tedious.