Script to replace copyright headers of supported source code files based on the provided copyright.erb
template.
mvn exec:java -Dsourcedir=<source directory>
The sourcedir
property must point to the directory which contains the source files, e.g.:
mvn exec:java -Dsourcedir=c:/projects/acme-bundle
You can run unit tests with the mvn exec:java -Ptest
command.
ruby copyrep.rb <source directory>
You can run unit tests with the rake
command.
Requires Ruby 2.5 or newer