I am trying to manage the project license in our development.
1) I would like to add a report in order to indicate in which files the license header is missing. I tried with maven-checkstyle-plugin (cf. http://maven.apache.org/plugins/maven-checkstyle-plugin/tips.html) but It did not worked. The build success but the checkstyle report is empty... <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.2-SNAPSHOT</version> <configuration> <configLocation>${basedir}/src/main/config/checkstyle.xml</configLocation> <headerLocation>${basedir}/src/main/config/LICENSE.txt</headerLocation> </configuration> </plugin> </plugins> </reporting> 2) I wonder if it possible to automatically add the license header if it missing in a file. Rémy