Tested the mvn plugin:
maven-license-plugin

and created some license text in the source code.