In order to start the assembly of the site using the assembly of several modules, everything is ready, you must start the phase site of the site’s life cycle - to deploy, and not just the purpose of the site plugin.
So I ran
mvn clean install site-deploy
or to deploy artifacts and a site
mvn clean deploy site-deploy
And, of course, you must properly configure the installation in terms of distribution management. In addition, you want all modules to have the same directory name as their artifactId, and you set site.xml with the appropriate links, and so on, as described on the site plugin site.
Depending on the site’s deployment protocol, you may also need to add an assembly extension (for example, if you use dav)
This, of course, takes a little time, but it works. I would also recommend using the latest version of the site plugin (3.1) and Maven (3.0.4).
source share