The report can only be generated after the 'validate' goal was run. This run stores all needed information and the results for the report to be generated.
For the report generation the maven-site-plugin is needed and the configuration is to be made in the <reporting> section in pom.xml.
Sample plug-in configuration:
<reporting> <plugins> <plugin> <groupId>com.puresoltechnologies.maven.plugins</groupId> <artifactId>license-maven-plugin</artifactId> <version>1.2.1</version> </plugin> </plugins> </reporting>
There are no further settings needed. The settings needed are stored during the 'validate' goal run.
For a real world example, have a look into the parent pom.xml of i18n4java project: https://github.com/RickRainerLudwig/i18n4java