Skip to content
Andrew DeMaria edited this page Jul 13, 2013 · 1 revision

To abstract away the license issues from the code, we are using a maven plugin.

The license text for each source file is located in the src/etc/license_header file and can be updated as we see fit

Note that the plugin added will bind to the verify stage to check for updated licenses on all *.java files in the src/main/java and src/test/java subdirectories . In other words, we will not typically run into this stage with mvn package as it comes into effect later and we will instead run into it when we run our mvn deploy. With that said you can always run it manually with mvn license:check and to update the files use mvn license:format. More information here.

Clone this wiki locally