- update
currentYearin the everypom.xmlas the first thing every year- yes, this is annoying, we should refactor the project to have actual module inheritance
- run
mvn -P license license:format -DskipITsfor the root module to update the year range in all the Java files of all the modules- based on each module's
src/license/header.txtandcurrentYear - root module doesn't have its own
header.txtso it usesvaadin-spreadsheet/src/license/header.txt
- based on each module's
- check that all modules got updated
.javafiles with the correct year- update the inclusion list for
com.mycila.license-maven-pluginin that module'spom.xmlif needed
- update the inclusion list for
Java class license headers:
- update contents of
licensetags invaadin-spreadsheet/pom.xml - update the files
header.txtandlicense.txtin allvaadin-spreadsheet/src/license/,vaadin-spreadsheet-charts/src/license/, andvaadin-spreadsheet-testbench-api/src/license/- triplicated because all jars need to contain the files
- run
mvn -P license license:format -DskipITsfor the root module to update the license information and the year range in all the Java files of all the modules - check that all modules got updated
.javafiles with the correct year
Other places where the licensing information should be updated:
README.mdLICENSE.txtAdVaaLicentag fororg.apache.maven.plugins.maven-jar-plugininvaadin-spreadsheet/pom.xml- Vaadin Spreadsheet documentation for Vaadin 8 and Vaadin 7, search the category for
license - general add-on licensing documentation (V8 and V7)
Removal should be considered, but update while they still exist:
license.htmlandREADME.txtindirectory/assembly/- the various
documentation/*.asciidocpages, search forlicense
License name update instructions should also be used if the decision is made to include the license version number again.